DHT11 Humidity Sensor With a Lcd Display Easy!!
Intro: DHT11 Humidity Sensor With a Lcd Display Easy!!
Hi, guys today we are going to make humidity sensor DHT11 work it with a LCD display.
It is not hard for a beginner just wiring the LCD display is the hard part.
So lets start:):):):):):):):)!!!!!!!!!!
STEP 1: Gather Your Body Parts
You will need :
1. DHT11 humidity sensor module
2. LCD display (i have given a code for I2C too)
3. Arduino (I used a UNO)
4. potentiometer
5. wires
STEP 2: Join Your Body Parts
The DHT11 sensor pins are:
1. GND to GND
2. VCC to 5V
3. S to pin 11 (on the Arduino)
The LCD pins are:
LCD Pin # LCD PIN NAME Arduino Pin
1 VSS GND
2 VDD 5V
3 V0 Potentiometer Center Pin
4 RS 10
5 RW GND
6 E 9
7,8,9,10 not connected
11 DB4 Pin 5
12 DB5 Pin 4
13 DB6 Pin 3
14 DB7 Pin 2
15 Backlight LED +V 5V
16 Backlight LED GND GND
The potentiometer left pin will go to 5V and right to GND
STEP 3: GIve a Messege to Your Brian to Work
the codes are:
STEP 4: Body Functioning Properly
Finished
plz follow me:):):):):):):):):)
10 Comments
UelandPro 3 years ago
Arsal Arain 6 years ago
hrhofkhan 3 years ago
AgilanA1 5 years ago
Yo...the code doesn't work with the Arduino mega 2560 board. I tried to change it up but it still displays the error code "exit status 1- Error compiling for board Arduino/Genuino Mega or Mega 2560." Soooo...ummmm...
hrhofkhan 3 years ago
knitestar 5 years ago
hrhofkhan 3 years ago
Geicihg 4 years ago
In file included from E:\Documents\Arduino\libraries\DHT-sensor-library-master\DHT_U.cpp:22:0:
E:\Documents\Arduino\libraries\DHT-sensor-library-master\DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory
compilation terminated.
exit status 1
Erreur de compilation pour la carte Arduino/Genuino Uno
I have that , help me pls !
hrhofkhan 3 years ago
Verkoda 7 years ago
Has anyone experienced the "#include <Adafruit_Sensor.h>" error?