Arduino and DHT11 Humidity Sensor Interface



Hi friends. Today in this instructables, I am going to show you how to use a DHT11 humidity sensor with Arduino. You can use this project for making weather station. So lets start this project !!!

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Components Needed

1.) Laptop with Arduino IDE installed

2.) USB B Type cable

3.) Arduino UNO

4.) DHT11 Humidity sensor

5.) Breadboard

6.) 3 Wires

Step 2: The Schematic

Step 3: The Code

Download the following zip. Then open Arduino IDE. Go to Sketch > Import Library or Include Library > Add library and then select the file.

Copy the following code and open the Serial Monitor.

#include <dht.h>

dht DHT;

#define DHT11_PIN 7

void setup(){

void loop()
  int chk = DHT.read11(DHT11_PIN);
  Serial.print("Temperature = ");
  Serial.print("Humidity = ");

Be the First to Share


    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest