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|
Step 2: Download and install DHT library:
If you have not installed DHT library, please download the zip file from following link
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.
After running above code, open serial terminal upright corner of Arduino IDE, you will see temperature and humidity data as following video:
DownLoad Url osoyoo.com
You must be logged in to post a comment.
The three pin version (mounted on a breakout board) may have the resistor built in.