DHT11 Humidity Sensor With a Lcd Display Easy!!

14,914

39

10

Introduction: DHT11 Humidity Sensor With a Lcd Display Easy!!

About: just a hobby.

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:):):):):):):):):)

1 Person Made This Project!

Recommendations

  • Barbecue Speed Challenge

    Barbecue Speed Challenge
  • Arduino Contest

    Arduino Contest
  • Colors of the Rainbow Contest

    Colors of the Rainbow Contest

10 Comments

0
UelandPro
UelandPro

6 months ago

Which library are you using? and where can i download it?

0
Arsal Arain
Arsal Arain

3 years ago

This arduino sketch shows dht does not name a type

0
hrhofkhan
hrhofkhan

Reply 1 year ago

download the library properly.

1
AgilanA1
AgilanA1

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

0
hrhofkhan
hrhofkhan

Reply 1 year ago

The library doesnt match the mega thats why it doesnt work with the mega.

0
knitestar
knitestar

2 years ago on Step 4

is ther any way to change it to Fahrenheit

0
hrhofkhan
hrhofkhan

Reply 1 year ago

yes you will need to change the code .

1
Geicihg
Geicihg

2 years ago

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 !

0
hrhofkhan
hrhofkhan

Reply 1 year ago

there is a problem with your library please download it again.

2
Verkoda
Verkoda

4 years ago

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