Humidity & Temperature Basic Sensor Module DHT11

  • Was  RM18.00 
  • RM10.00

  • Product Code: Humidity Sensor Module DHT11
  • Availability: In Stock

This is a digital temperature and humidity sensor module that works with all of the Arduino micro-controllers. Because it is a digital sensor it only necessitates 3 connections, Vcc, GND, and a digital pin for data output. With this sensor, you get two measurements (humidity and temp) while only using one digital pin on the Arduino! This sensor would be perfect for creating an HVAC control system or for controlling something like a food dehydrator.

This humidity and temperature sensor is very popular and has an Arduino Library dedicated to it.

 

Features:

  • Sensor is composed of a resistive humidity sensing component and an NTC temperature testing component and connects with 8-byte MCU
  • MCU outputs a digital code
  • Fast response and great anti-interference capability
  • Durable and long lasting sensor
  • Low power consumption
  • Based on the DHT11 sensor architecture

 

Specifications:

  • Operating Voltage: DC 3.3 - 5V
  • Current: Max. 2.5mA
  • Humidity Measurement range: 20% ~95% | ±5%RH
  • Temperature Measurement range: 0℃~60℃ | ±2 ℃
  • Connections; GND, Vcc, and Signal
  • Depth 12mm, Height 7mm, Width 36mm
  • Weight 5.0g

 

Connect DHT11 to Arduino

You can download the Library we used here:  DHT_Library.zip

 

Arduino Sketch:

#include <DHT.h>
#define dht_apin A0 // Analog Pin sensor is connected to
 
dht DHT;
 
void setup(){
  Serial.begin(9600);
  delay(500); //Delay to let system boot
  Serial.println("DHT11 Humidity & temperature Sensor\n\n");
  delay(1000); //Wait before accessing Sensor
}
 
void loop(){
  //Start of Program
    DHT.read11(dht_apin);
    
    Serial.print("Current humidity = ");
    Serial.print(DHT.humidity);
    Serial.print("%  ");
    Serial.print("temperature = ");
    Serial.print(DHT.temperature); 
    Serial.println("C  ");
    
    delay(5000); //Wait 5 seconds before accessing sensor again.
  //Fastest should be once every two seconds.
} 
Watch the result in Arduino IDE serial monitor.

Write a review

Note: HTML is not translated!
    Bad           Good

 

Related Products