Introduction: How to Interface DHT11 Sensor With Arduino
The DHT11 is a widely used to measure Temperature and humidity sensor with the help of microcontrollers. The sensor can able to measure maximum of 50C and 90% of humidity level.
in this tutorial, we are going to learn how to connect dht11 module with arduino and program the code in the arduino IDE to view the output in LCD module
Supplies
Materials needed:
LCD breakout board - 1 x 1
jumper wires - few numbers
Step 1: Step 1: Download the DHT11 Library and ADAFruit Library From the Github As Zip File
These two libraries are necessary for making code for the dht11 sensor
Step 2: Step2: Add Both Downloaded Zip File Through Manage Library
After adding the library.. you have to verify that the file is added in the bottom
Step 3: Step 3: Verify the Example Code Added in the Library
Open the sample program and compile it to check weather you are working in a right path.
Step 4: Step 4: Connect the Circuit As Per the Circuit Diagram
Give the proper connections to the LCD using the breakout board.
RS--> 13
E--> 12
D4-->11
D5-->10
D6-->9
D7-->8
RW should be grounded
Step 5: Step5: Download the Code Given Below
edit for heading what you need in the LCD
Attachments
Step 6: Step 6: Test the Output in the LCD
so finally you can get the temperature and humidity surrounding your sensor... you can update the code to view the output on Mobile devices.


