Temperature and Humidity Sensor and Lcd
by Mihir Achyuta in Circuits > Arduino
6727 Views, 79 Favorites, 0 Comments
Temperature and Humidity Sensor and Lcd
This instructable combines dht11 sensor with lcd 16*2.
Gathering
The things you need are:
- Arduino
- DHT11 (humidity and temperature sensor)
- LCD 16*2
- USB cable
- Breadboard
- Jumper wires
- Resistors
Wiring
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!
WHen done it should look like this