Temperature Monitoring Project for kids

Overview
This project is about observing the temperature in the surroundings using temperature and humidity sensors and printing them on an LCD.
In this temperature measurer, we use temperature & humidity sensors for measuring the temperature of the surroundings and the LCD for printing the output.


Hardware required


1. Arduino Uno R3
2. Resistor
3. Jumper Wires
4. Temperature Sensor
5. Potentiometer
6. LCD
7. Breadboard

Schematic Diagram

Circuit Diagram 8

Fig 1. Circuit Diagram

Arduino Code :

#include<LiquidCrystal.h>
LiquidCrystal lcd(12,11,5,4,3,2);
float value;
int tmp = A0;
void setup(){
pinMode(tmp,INPUT);
}

void loop(){
value = analogRead(tmp)*0.004882814;
value = (value - 0.5) * 100.0;
lcd.setCursor(0,1);
lcd.print("Temp:");
lcd.print(value);
delay(1000);
lcd.clear();

}

Precautions

  1. Connections should be done properly.
  2. Arduino is case Sensitive, so code accordingly.
  3. Give different and appropriate colours to the wires.
  4. Use resistors for sensors and LCDs.

Leave a Reply

Recent Posts

Gallery

Related Posts