Design and manufacture of a smart temperature control mechanism for flat solar collectors