Description
The DHT11 digital temperature and humidity module is a simple and reliable digital temperature and humidity sensor, very popular for Arduino, ESP8266, ESP32, and other microcontroller projects. Thanks to the integrated electronics and the single digital data signal, this sensor is ideal for beginners and quick prototyping.
This version is designed as a ready-to-use module with a built-in pull-up resistor and 3-pin connector, allowing it to be connected directly to a breadboard or microcontroller.
DHT11 digital temperature and humidity module specifications:
– Supply voltage: 3,3 V – 5 V
– Temperature range: 0 – +50 ºC.
– Temperature accuracy: ±2,0 ºC.
– Humidity range: 20-95% RH.
– Humidity accuracy: ±5,0% RH.
– Response time: < 5 sec.
Arduino code example:
DHT library
#include <dht11.h>
dht11 DHT11;
#define DHT11PIN 2
void setup()
{
Serial.begin(115200);
Serial.println("DHT11 TEST PROGRAM ");
Serial.print("LIBRARY VERSION: ");
Serial.println(DHT11LIB_VERSION);
Serial.println();
}
void loop()
{
Serial.println("\n");
int chk = DHT11.read(DHT11PIN);
Serial.print("Read sensor: ");
switch (chk)
{
case DHTLIB_OK:
Serial.println("OK");
break;
case DHTLIB_ERROR_CHECKSUM:
Serial.println("Checksum error");
break;
case DHTLIB_ERROR_TIMEOUT:
Serial.println("Time out error");
break;
default:
Serial.println("Unknown error");
break;
}
Serial.print("Humidity (%): ");
Serial.println((float)DHT11.humidity, 2);
Serial.print("Temperature (°C): ");
Serial.println((float)DHT11.temperature, 2);
delay(2000);
}
Only logged in customers who have purchased this product may leave a review.
Shipping within the Netherlands
This product will be delivered via PostNL letter post in a bubble envelope.- €3.45 shipping costs for orders under €25.
- €2.95 shipping costs for orders between €25 - €45.
- Orders above € 45,- will be
park for free sent by PostNL letter post.
Ordered before 16:30 PM on workdays, shipped the same day!
Click here for costs outside the Netherlands.
Reviews
There are no reviews yet.