Digital Thermometer using AVR, LM35 and 16×2 LCD

Summary of Digital Thermometer using AVR, LM35 and 16×2 LCD


This article describes a digital thermometer project using an Atmega16 microcontroller, LM35 temperature sensor, and 16×2 LCD to overcome analog limitations. The system provides accurate Celsius readings via the LM35's proportional voltage output and displays results on the LCD. Programming was done using Bascom AVR software with Basic Language.

Parts used in the Digital Thermometer using AVR:

  • Atmega16 (AVR) Microcontroller
  • LM35 Precision Temperature Sensor IC
  • 16×2 Liquid Crystal Display (LCD)
  • Bascom Software for AVR

Thermometers are the device we use to measure the temperature in any desired scale and we all will be quite familiar with the analog thermometers. There are some disadvantages in analog thermometers and this can be overcome by using this digital thermometer using avr. The above embedded system shows the design and implementation of a simple Digital Thermometer using Atmega16 (AVR),  LM35 & 16×2 LCD.
Digital Thermometer using AVR, LM35 and 16×2 LCD
LM35 is a Precision temperature sensor IC with its output proportional to the temperature (in degree Celsius). LM35 is capable of giving accurate temperature readings compared to thermistor. The senor is sealed to avoid the effects of oxidation and other factors. It operates at a temperature range of -55°c to 150°c. The output voltage varies by 10mV in response to every °C rise or fall in atmospheric temperature.

16×2 LCD:

LCD (Liquid Crystal Display) is widely used electronic display module and got a wide range of applications. A 16×2 LCD consists of 16 columns and 2 rows thereby it is capable of displaying 16 characters in a single line. It consists of two registers, Command register used to store the command instructions given to the LCD. Whereas Data Register used to store the data’s to be displayed in the LCD. Read more about Interfacing 16×2 LCD with Atmega16.

PROGRAM:

This system was coded using Bascom Software for AVR using “Basic Language”.
Read More: Digital Thermometer using AVR, LM35 and 16×2 LCD

Quick Solutions to Questions related to Digital Thermometer using AVR:

  • What is the main advantage of this digital thermometer over analog ones?
    This design overcomes the disadvantages found in analog thermometers.
  • How does the LM35 sensor provide temperature readings?
    The output voltage varies by 10mV in response to every degree Celsius rise or fall in atmospheric temperature.
  • What is the operating temperature range of the LM35 sensor?
    It operates at a temperature range of -55°c to 150°c.
  • Which programming language and software were used for this project?
    The system was coded using Bascom Software for AVR using Basic Language.
  • How many characters can the 16×2 LCD display per line?
    A 16×2 LCD consists of 16 columns and is capable of displaying 16 characters in a single line.
  • What are the two registers inside the 16×2 LCD used for?
    The Command register stores command instructions while the Data Register stores data to be displayed.
  • Why is the LM35 sensor sealed?
    The sensor is sealed to avoid the effects of oxidation and other factors.
  • Does the LM35 offer better accuracy than a thermistor?
    Yes, the LM35 is capable of giving accurate temperature readings compared to a thermistor.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top