LCD Thermometer LM35 Using AT Mega8

LCD Thermometer sch

Description

The LM35 Semiconductorof Nationals that is used in this project is a precision centigrade temperature sensor, which has an analog output voltage. It has a range of -55ºC to +150ºC and a accuracy of ±0.5ºC . The output voltage is 10mV/ºC . The output voltage is converted by the AD convertor of the AT Mega8. The temperature is displayed on an LCD module. In this example the thermometer has a range of 0ºC to 40ºC and a resolution of 0.5ºC. If you want to have a readout in Fahrenheit you can use the LM34.

LCD Thermometer sch

Hardware

In the circuit the LM35 is connected to the ADC port of the ATMega8. The ATMega8 uses a crystal as an oscillator for the clock pulses. At PORTD of the ATM8 an 20×4 LCD display is hooked to display the temperature in a discrete value and in a analog bar.

Software

The software for this project is written in BASCOM AVR. The BASCOM AVR compiler has build in commands for reading out the ADC port of a AVR microcontroller. The result is displayed on a LCD module in a discrete value of the temperature and in a bar-graph.

Read more: LCD Thermometer LM35 Using AT Mega8

Leave a Comment

Your email address will not be published. Required fields are marked *