Temperature and Humidity Sensor and Lcd

by Mihir Achyuta in Circuits > Arduino

6727 Views, 79 Favorites, 0 Comments

Temperature and Humidity Sensor and Lcd

Temperature and humidity sensor| Arduino | DHT11 | LCD 16*2 | Preview

This instructable combines dht11 sensor with lcd 16*2.

Gathering

DSC03597.JPG
DSC03599.JPG
DSC03598.JPG
DSC03596.JPG
DSC03595.JPG
DSC03594.JPG
DSC03600.JPG

The things you need are:

  • Arduino
  • DHT11 (humidity and temperature sensor)
  • LCD 16*2
  • USB cable
  • Breadboard
  • Jumper wires
  • Resistors

Wiring

download (8).jpg
The required pining is
  • LCD RS pin to digital pin 12
  • LCD Enable pin to digital pin 11
  • LCD D4 pin to digital pin 5
  • LCD D5 pin to digital pin 4
  • LCD D6 pin to digital pin 3
  • LCD D7 pin to digital pin 2
  • LCD R/W pin to ground
  • LCD VSS pin to ground
  • LCD VCC pin to 5V
  • 10K resistor:
  • ends to +5V and ground
  • wiper to LCD VO pin (pin 3)
  • DHT pin to 10 (2nd from left on the sensor)
  • DHT pin 1 to Vout
  • DHT pin 4 to Gnd

Programming

First you have to have arduino ide.

after that include the libraries given below:

  • lcd
  • DHT

After that upload the program given below to your arduino.

All Done!

Snapshot - 5.png

WHen done it should look like this