Circuit Design of Digital Thermometer
The temperature sensor used in this project is LM35. The output of a temperature sensor is directly proportional to the temperature but in analogue form. Hence, the output of LM35 that means pin 2 is connected to analog input A0 of Arduino.
As it is a digital thermometer, we need to convert the analogue values of temperature to digital and display the result on a display like LCD etc. 16X2 LCD is used. Pin no 1 and 2 of LCD are connected to ground and supply respectively.
In order to manage the contrast of the display, Pin 3 of LCD is attached to the wiper of a 10 KΩ POT. The remaining terminals of POT are attached to supply and ground. Pins 15 and 16 of LCD are used to revolve the back light of the LCD which is connected to supply and ground respectively. In order to display the information on LCD, we require 4 data pins of the LCD. Pins 11 – 14 (D4 – D7) are attached to Pins 5 – 2 of Arduino. Pins 4, 5 and 6 (RS, RW and E) of LCD are control pins.
Pins 4 (RS) of LCD is connected to pin 7 of Arduino. Pin 5 (RW) is connected to ground. Pin 6 (E) is connected to pin 6 of Arduino.
Working
A high precision digital thermometer is outlined in this project.The working of the circuit is as explained below.
The temperature sensor i.e. LM35 constantly analyzes the room temperature and gives an analogue identical voltage which is directly proportional to the temperature.
This data is given to Arduino through A0. As per the code written, the Arduino transforms this analogue voltage value to digital temperature readings. This value is showed on the LCD.
The output displayed on the LCD is an exact reading of room temperature in centigrade.
The final outcome will be like this:
hIOTron's IoT Training Online developed a various IoT Solutions over such a applications to enhance user's experience.