My Account

Your Cart

Digital Humidity and Temperature Sensor - DHT11

Digital Humidity and Temperature Sensor - DHT11
Digital Humidity and Temperature Sensor - DHT11
5.06RON
Ex Tax: 5.06RON
  • Stock: In Stock
  • Model: T180.DHT11
Your orders placed until 16:30 on weekdays are shipped on the same day.

DHT11 Digital Temperature Humidity Sensor

The DHT11 is a cost-effective digital sensor that measures both temperature and humidity. It is widely used in educational and hobbyist projects due to its user-friendly nature and straightforward communication protocol.

General Information

The DHT11 sensor is capable of measuring both temperature and humidity, offering a digital output that can be interpreted by microcontrollers such as Arduino, Raspberry Pi, and others.

Key Features

  • Temperature Range: 0 to 50°C with a precision of ±2°C.
  • Humidity Range: 20% to 90% RH with a precision of ±5% RH.
  • Resolution: 1°C for temperature and 1% RH for humidity.
  • Power Supply: 3V to 5.5V.
  • Low Power Consumption: Suitable for battery-powered applications.
  • Digital Output: Utilizes a single-wire communication protocol.
  • Response Time: Generally slow, typically around 1 second.

 

Pin Configuration

The DHT11 sensor usually has four pins, but often only three are utilized:

  • VCC: Power supply (3V to 5.5V).
  • GND: Ground.
  • DATA: Data pin for digital signal output.
  • NC: Not connected (optional).

 

Applications

  • Weather Stations: For measuring ambient temperature and humidity.
  • HVAC Systems: For monitoring and controlling heating, ventilation, and air conditioning systems.
  • Home Automation: For basic environmental monitoring.
  • Educational Projects: For teaching and learning about sensors and microcontrollers.

Wiring

To connect the DHT11 to an Arduino:

  1. Connect the VCC pin of the DHT11 to the 5V pin of the Arduino.
  2. Connect the GND pin of the DHT11 to the GND pin of the Arduino.
  3. Connect the DATA pin of the DHT11 to a digital pin (e.g., pin 2) on the Arduino.
  4. A pull-up resistor (4.7kΩ to 10kΩ) is required between the VCC and DATA pins.

 

Example Code

To use the DHT11 with an Arduino, you can use the DHT library. First, install the DHT library by Adafruit through the Library Manager in the Arduino IDE.
 

#include "DHT.h"  // Define the type of sensor and the pin it's connected to #define DHTTYPE DHT11   // DHT 11 #define DHTPIN 2        // Digital pin 2  DHT dht(DHTPIN, DHTTYPE);  void setup() {   Serial.begin(9600);   Serial.println("DHT11 test!");    dht.begin(); }  void loop() {   // Wait a few seconds between measurements   delay(2000);    // Reading temperature and humidity values   float humidity = dht.readHumidity();   float temperature = dht.readTemperature();    // Check if any reads failed and exit early (to try again).   if (isnan(humidity) || isnan(temperature)) {     Serial.println("Failed to read from DHT sensor!");     return;   }    // Print the results   Serial.print("Humidity: ");   Serial.print(humidity);   Serial.print(" %	");   Serial.print("Temperature: ");   Serial.print(temperature);   Serial.println(" *C"); } 

 

Calibration and Usage Tips

  • Placement: Ensure the sensor is placed in an area with good airflow for accurate readings.
  • Avoid Heat Sources: Keep the sensor away from direct sunlight or other heat sources to prevent false readings.
  • Check Readings: Periodically verify the readings for accuracy, especially if used in critical applications.

The DHT11 sensor is a straightforward, cost-effective solution for basic temperature and humidity measurements. Although it does not have the accuracy and range of more advanced sensors like the DHT22, it is still suitable for many general-purpose applications and is easy to integrate into various projects.
 

Write a review

Note: HTML is not translated!
Rating
Bad Good

Category Products

BD176 BJT PNP TransistorThe BD176 Transistor BJT PNP TO-126 is a superior, dependable, and high-performance transistor, engineered for diverse applica..
1.84RON
Ex Tax:1.84RON
 BS250 P-Channel MosfetThe BS250 P Channel Mosfet TO-92 is a semiconductor device of superior quality, designed to deliver high performance and reliab..
3.68RON
Ex Tax:3.68RON
HEF4077B Gates Quadruple Exclusive-NOR GateThe HEF4077B Gates Quadruple Exclusive-NOR Gate is a state-of-the-art, high-performance logic gate that gua..
4.60RON
Ex Tax:4.60RON
Add to Cart
0.0047uF 250VAC GPF - MKP X2 Polyester Film CapacitorPresenting the 0.0047 µF 250V GPF - MKP X2 capacitor, a component with unique attributes, making ..
20.70RON
Ex Tax:20.70RON
Add to Cart
0.1A 250V Glass Fuse 5x20 mm 5x20 glass fuses are small, cylindrical fuses used to protect electrical and electronic circuits from overcurrent co..
1.01RON
Ex Tax:1.01RON
Add to Cart
0.1F 5.5V Superfarad Capacitor Battery Type Super CapacitorThis capacitor is a battery-type capacitor that operates at voltages up to 5.5V. It is comm..
11.09RON
Ex Tax:11.09RON
Add to Cart

WhatsApp Chat

Hi Guest! Please click one of our representatives Below To Chat On WhatsApp.