image1 image2 image3

HELLO I'M LiNuS|WELCOME TO MY PERSONAL BLOG|I LOVE TO DO CREATIVE THINGS|I PRESENT MY WORKS ON VLSI AND EMBEDDED

Temperature Displaying Device


  Temperature displaying device

Displaying Temperature on LCD display with LM35


This Post is ahead with:

                                                 Necessity for displaying temperature.

                                                 Parts to build up circuit.                    

                                                 Building up circuit.

                                                 Arduino coding.

                                                 Description.

                                                 Working/implementation video.  

   1.Necessity for displaying temperature:
                                          
                              temperature is an objective comparative measure of hot or cold. Temperature is important in all fields of natural science, including  physics, geologychemistryatmospheric sciences,  medicine, and biology as well as most aspects of daily life.

  1. In INDUSTRIES, to control machines.
  2. In MANUFACTURING UNITS, to control the production.
  3. In Monitoring Atmospheric conditions.
  4. In measuring the Temperature at Human-less places.
  5. In Automobiles to control engine.

   2.Parts to build up circuit:

                   1. Arduino Mega 2560


                   2. LCD display 16*2


                    3.Temperature sensor...LM35


3.Building up circuit:

                 Follow the connections shown in the below image.

                              RED Wire     -    Power supply
                            BLACK Wire   -   Ground
                         Additional equipments:  1. POT - 10K
                                                               2. Resistor - 1K

                                                            Image for Construction


Constructed circuit



 4. Arduino Code for Project:

                       **** Download Arduino programmer from www.arduino.cc website ****
         **** Upload the code to the specified board indicated in TOOLS after compiling through USB****

#include <LiquidCrystal.h>
LiquidCrystal linu(2, 3, 4, 5, 6, 7);
int v=0;
int analogpin=A0;
float volts=0,temp=0;

void setup() {
  // put your setup code here, to run once:
linu.begin(16,2);
}

void loop() {
  // put your main code here, to run repeatedly:
v=analogRead(analogpin);
volts= v*5.0/1023;
temp= volts*100;

linu.print("Temperature is");
linu.setCursor(5,1);
linu.print(temp);
linu.print("' C");
delay(5000);
linu.clear();
}


5.Description:

       follow these steps while performing:
  1. Interface the LCD module first to the arduino board. Connect the DB-4 to DB-7 on LCD display to digital pins 4,5,6,7 on the arduino board. RS and EN pins on display to digital pins 2 and 3 on the board.
  2. Connect the +5v power supply and ground(GND) to pin1 and 3 of LM35 and pin 2 (output) to Analog pin A0 on arduino board.
6.Working/Implementation video:

         







         

Share this:

CONVERSATION

0 comments:

Post a Comment