DHT11 Humidity Sensor With a Lcd Display Easy!!

17K3920

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

Which library are you using? and where can i download it?
This arduino sketch shows dht does not name a type
download the library properly.

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...

The library doesnt match the mega thats why it doesnt work with the mega.
is ther any way to change it to Fahrenheit
yes you will need to change the code .
Arduino : 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Carte : "Arduino/Genuino Uno"
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 !
there is a problem with your library please download it again.

Has anyone experienced the "#include <Adafruit_Sensor.h>" error?