In this project, we are going to design a circuit for measuring temperature. This circuit is developed using “LM35”, a linear voltage sensor. Temperature is usually measured in “Centigrade” or “Fahrenheit”. “LM35” sensor provides the output based on the scale of centigrade.
LM35 is three pin transistor-like device. It has VCC, GND, and OUTPUT. This sensor provides the variable voltage at the output based on temperature.
As shown in above figure, for every +1 centigrade rise in temperature there will be +10mV higher output. So if the temperature is 0◦centigrade the output of sensor will be 0V, if the temperature is 10◦ centigrade the output of sensor will be +100mV, if the temperature is 25◦ centigrade the output of sensor will be +250mV.
So for now with LM35 we get the temperature in the form of variable voltage. This temperature dependent voltage is given as input to ADC (Analog to Digital Converter) of ATMEGA32A. The digital value after conversion obtained is shown in the 16×2 LCD as temperature.