DHT11-org

Authorized Online Retailer

This project uses DHT11 sensor module to get environment temperature and humidity and show them in serial monitor window.

Step 1: connect DHT11 sensor to Arduino as per following  pin map table:

DHT11 Pin Basic board Pin
VCC 5V
DATA D3
GROUND GND

Step 2: Download and install DHT library:

If you have not installed DHT library, please download the zip file from following link
https://osoyoo.com/driver/DHT.zip

Then click Sketch ->Include Library ->Add Zip Library, import above DHT.zip file into Arduino IDE.

Step 3: Download sketch code and load it into Arduino IDE.

Result:

After running above code, open serial terminal upright corner of Arduino IDE, you will see temperature and humidity data as following video: