Posted by Circuits Arena on Wednesday, 24 December 2014
Categories:
B.Tech,
PROJECTS
Temperature Measure On Display is the artlcle explaining Temperature Monitor : Simple Temperature Display Circuit using LCD (Liquid Crystal Display). For Heat Sensor we have used IC LM35 ...
Temperature Monitor:
- Simple Temperature Display Circuit using LCD (Liquid Crystal Display).
For Heat Sensor we have used IC LM35 (Precision Centigrade Temperature
Sensors) whose Output voltage is linearly proportional to the Celsius
(Centigrade) temperature. Output of LM35 IC is 10mv/degree centigrade
for eg if temperature is 35 degree, then the output of sensor will be
350mv or 0.35V
For working with LCD it is necessary to have Microprocessor.
- We have used Arduino Controller Board, which is AN OPEN-SOURCE ELECTRONICS PROTOTYPING PLATFORM.
Output of LM35 is feed to Arduino Analog input pin 0.
- Output of Micro-controller is connected to the 16X2 LCD, Data is Processed by the C Program.
C Program :
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
const int inPin = 0;
void setup()
{
lcd.begin(16, 2);
}
void loop()
{
int x = analogRead(inPin);
lcd.setCursor(0, 1);
float millivolts = (x / 1024.0) * 5000;
float celsius = millivolts / 10;
lcd.clear();
lcd.setCursor(0,0);
lcd.print(celsius);
lcd.print(” C”);
lcd.setCursor(0,1);
lcd.print((celsius * 9)/ 5 + 32);
lcd.print(” F”);
delay(1000);
}
Circuit Diagram
For easy connection and Preset soldering I recommend use of PCB. which
is shown below. You can save this for printing on copper clad Board. You
can make your own PCB by Heat Transfer method or by screen printing
method otherwise use Dot Matrix Board or Bread Board. This PCB will help
you in all projects which used 16X2 LCD by reducing LCD Pin from 16 to 8
for easy connection.