بسم الله
اول شيىء يجب ان تستعمل حساس
و هو LM35
و لتحميل الdatasheet
من هنا
* You will need to use a voltmeter to sense Vout.
* The output voltage is converted to temperature by a simple conversion factor.
* The sensor has a sensitivity of 10mV / oC.
* Use a conversion factor that is the reciprocal, that is 100 oC/V.
* The general equation used to convert output voltage to temperature is:
o Temperature ( oC) = Vout * (100 oC/V)
o So if Vout is 1V , then, Temperature = 100 oC
o The output voltage varies linearly with temperature.