DHT11 module is a Temperature and humidity sensing module, which uses Digital Signal Acquisition, which converts the Temperature and Humidity to a digital Reading, which can be easily read by a Microcontroller. Operating range of DHT11 is 0 to 50 degree Celsius which is quite sufficient for Home or Hobby purposes.
Features:
1 can detect ambient humidity and temperature
2 sensor DHT11
3 humidity measuring range: 20% -95% (range 0 degrees -50 degrees) and humidity measurement error: + – 5%
4 temperature measuring range: 0 degrees -50 degrees temperature measurement error: + – 2 degrees
4 Operating Voltage 3.3V-5V
5 Output Type Digital Output
6 has a fixed bolt hole for easy installation
7 small plates PCB size: 3.2cm * 1.4cm
8 Power indicator (red)
9 Each weighs about 8g
Two module interface specification (3-wire)
1 VCC 3.3V-5V external
2 GND External GND
3 DO small board switch digital output interface connected to the microcontroller IO port
Package Included
- 1 X DHT11 Temperature And Humidity Sensor Module
- feamle to female wire
Diagram
Sample Code :
#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 }//end "setup()" 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. }// end loop()
There are no reviews yet.