in

Temperature and Humidity monitoring system

A system for temperature monitoring

Welcome to the Quanta Project. we are making a device which gives you the temperature and humidity updates near about you. without using the internet. so. you guys can carry the device with you anywhere. it doesn’t need the network to measure the temperature you have to connect only one battery to power the system. the system is very accurate and stable. there is also a big LCD which shows the data on the LCD screen. and here is the full tutorial to make this awesome and creative project

In this project we use and DHT11 sensor which is the combination of temperature sensor and the humidity sensor inside the DHT11 sensor. so you do not need to bring to the sensor. it is also easy to code and interface with the Arduino. you can connect with the analog pin of the Arduino. DHT11 sensor take input from the environment and give it to the Arduino in the analog form. so there is analog and digital converter present inside the Arduino they convert to the digital. with the help of some calculation, we send the information to the LCD display.

you can use this device in the indoor and as well as in outdoor also. in this project, you will learn many things like 16×2 LCD interfacing and coding, DHT11 sensor coding and interfacing how to add a library also.

yo start this project you must add a library file to the Arduino ide which will help to code for system. download the MFRC library from github.

Components Required for Temperature and Humidity monitoring system

  • DHT11
  • Arduino Uno
  • 16X2 LCD
  • Jumper wires
  • switch

assemble all the components according to the circuit diagram.

code for Temperature and Humidity monitoring system

// Interfacing Arduino with DHT11 humidity and temperature sensor // include LCD library code#include <LiquidCrystal.h>// include DHT library code#include “DHT.h” #define DHTPIN 8            // DHT11 data pin is connected to Arduino pin 8 // LCD module connections (RS, E, D4, D5, D6, D7)LiquidCrystal lcd(7, 6, 5, 4, 3, 2); #define DHTTYPE DHT11       // DHT11 sensor is usedDHT dht(DHTPIN, DHTTYPE);   // Initialize DHT library char temperature[] = “Temp = 00.0 C  “;char humidity[]    = “RH   = 00.0 %  “;void setup() {  // set up the LCD’s number of columns and rows  lcd.begin(16, 2);  dht.begin();} void loop() {  delay(1000);           // wait 1s between readings  // Read humidity  byte RH = dht.readHumidity();  //Read temperature in degree Celsius  byte Temp = dht.readTemperature();   // Check if any reads failed and exit early (to try again)  if (isnan(RH) || isnan(Temp)) {    lcd.clear();    lcd.setCursor(5, 0);    lcd.print(“Error”);    return;  }   temperature[7]     = Temp / 10 + 48;  temperature[8]     = Temp % 10 + 48;  temperature[11]    = 223;  humidity[7]        = RH / 10 + 48;  humidity[8]        = RH % 10 + 48;  lcd.setCursor(0, 0);  lcd.print(temperature);  lcd.setCursor(0, 1);  lcd.print(humidity);}

Upload the code into Arduino and make connections. all the best

What do you think?

0 points
Upvote Downvote

Written by shahid

Smart stick for visually impaired people

Smart irrigation system with Arduino