You are on page 1of 6

MEPCO SCHLENK ENGINEERING COLLEGE

DIGITAL THERMOSTAT WITH LCD TEMPERATURE


DISPLAY
- JENNIFHA JACULEANE A & KALA C M
ABSTRACT:
 Thermostats are useful apparatus being used since long time
for temperature measurement. In this project we have made
an Arduino based digital thermometer to display the current
ambient temperature on a 16x2 LCD unit in real time. It can be
deployed in houses, offices, industries etc. to measure the
temperature. 
METHODOLOGY:

CIRCUIT COMPONENTS:
• Arduino
• LM35 Temperature Sensor
• LCD
• Power Supply
• Connecting wires
CIRCUIT DIAGRAM:

WORKING PRINCIPLE:
 The first section senses the temperature by using temperature
sensor LM35, second section converts the temperature value
into a suitable number in Celsius scale which is done by
Arduino, and last part of system displays temperature on 16x2
LCD.
 In this digital temperature sensor with Arduino, Arduino Uno is
used to control the whole process. An LM35 temperature
sensor is used for sensing environment temperature which
gives 1 degree temperature on every 10mV change at its
output pin. 
 Arduino reads output voltage of temperature sensor by using
Analog pin A0 and performs the calculation to convert this
Analog value to a digital value of current temperature. After
calculations Arduino sends these calculations or temperature
to 16x2 LCD unit by using appropriate commands of LCD. We
have also built other digital thermometer projects using
DHT11, DS18B20 and other temperature sensors.
PROGRAM:
/*-----------Arduino LM35 Code-------------*/
/*-----------Digital Thermometer Using Arduino-------------*/
#include<LiquidCrystal.h>
Liquid Crystal lcd(7,6,5,4,3,2);
#define sensor A0
byte degree[8] =
{
0b00011,
0b00011,
0b00000,
0b00000,
0b00000,
0b00000,
0b00000,
0b000{
lcd.begin(16,2);
lcd createChar(1, degree);
lcd.setCursor(0,0);
lcd.print(" Digital ");
lcd.setCursor(0,1);
lcd.print(" Thermometer ");
delay(4000);
lcd.clear();
lcd.print(" Circuit Digest ");
delay(4000);
lcd.clear();
}
void loop()
{
/*---------Temperature-------*/
float reading=analogRead(sensor);
float temperature=reading*(5.0/1023.0)*100;
delay(10);
00
};
void setup()
/*------Display Result------*/
    lcd.clear();
    lcd.setCursor(2,0);
    lcd.print("Temperature");
    lcd.setCursor(4,1);
    lcd.print(temperature);
    lcd.write(1);
    lcd.print("C");
    delay(1000);
}
APPLICATIONS:
 The primary function of a thermostat is to control the working
temperature of the engine.
 Thermostats are used in any device or system that heats or
cools to a setpoint temperature, examples include building
heating, central heating, air conditioners, HVAC systems, water
heaters, as well as kitchen equipment including ovens and
refrigerators and medical and scientific incubators.

You might also like