Arduino Tutorials

How to Set Up the DHT11 Humidity and Temperature Sensor with Arduino

How to Set Up the DHT11 Humidity and Temperature Sensor with Arduiono

In this tutorial we will learn how to set up the DHT11 Humidity and Temperature Sensor and we will see the value output of the DHT sensors on on the OLED screen.
For this tutorial we will use OLED 128×64 I2C display, DHT11 Module and Arduino UNO.

Hardware Required :

Project circuit :

Project circuit diagram is shown below.

How to Set Up the DHT11 Humidity and Temperature Sensor with Arduino

The DHT11, DHT21 and DHT22 are relative cheap sensors for measuring temperature and humidity.

The DHT sensors have four pins, VCC, GND, data pin and a not connected pin which has no usage.

From left to right :
1 – VCC (5V)
2 – Signal
3 – NC Not connected
4 – GND

DHT Sensors Library  :

https://playground.arduino.cc/Main/DHTLib/

How to Set Up the DHT11 Humidity and Temperature Sensor with Arduino

Link to the Code :

https://github.com/MORYTECH/ARDUINO-CODE/blob/master/DHT11-Humidity-and-Temperature-Sensor-with-Arduino.txt

Demonstration :

Tags

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button
Close
Close