My Account

Your Cart

Digital Temperature Humidity Sensor Module DHT21 AM2301

Digital Temperature Humidity Sensor Module DHT21 AM2301
Digital Temperature Humidity Sensor Module DHT21 AM2301
30.36RON
Ex Tax: 30.36RON
  • Stock: In Stock
  • Model: T182.DHT21
Your orders placed until 16:30 on weekdays are shipped on the same day.

DHT21 AM2301 Digital Temperature Humidity Sensor Module

The DHT21, also known as AM2301, is a trusted digital sensor for measuring temperature and humidity. Its user-friendly nature and reliability make it a popular choice across various applications.

General Overview

The DHT21 (AM2301) is a dual-purpose sensor that provides digital readings of both temperature and humidity. It employs a capacitive humidity sensor and a thermistor to gauge the ambient air, outputting a digital signal on the data pin.

Key Features

  • Temperature Range: -40 to +80°C (accuracy of ±0.5°C)
  • Humidity Range: 0 to 100% RH (accuracy of ±3% RH)
  • Resolution: 0.1 for both temperature and humidity
  • Power Supply: 3.3V to 5.5V
  • Low Power Consumption: Suitable for battery-operated applications
  • Digital Output: Utilizes a single-bus communication protocol
  • Response Time: Typically less than 2 seconds


Pin Configuration

The DHT21 sensor usually comes with three pins:

  • VCC: Power supply (3.3V to 5.5V)
  • GND: Ground
  • DATA: Data pin for digital signal output


Applications

  • Weather Stations: For ambient temperature and humidity measurements
  • HVAC Systems: For regulating heating, ventilation, and air conditioning systems
  • Home Automation: For environmental monitoring
  • Agriculture: For greenhouse conditions monitoring
  • Industrial Applications: For tracking environmental conditions in factories and warehouses


Wiring Instructions

Here's how to connect the DHT21 to an Arduino:

  • Link the VCC pin of the DHT21 to the 5V pin of the Arduino
  • Link the GND pin of the DHT21 to the GND pin of the Arduino
  • Link the DATA pin of the DHT21 to a digital pin (for instance, pin 2) on the Arduino
  • A pull-up resistor (4.7kΩ to 10kΩ) is necessary between the VCC and DATA pins


Example Code

To operate the DHT21 with an Arduino, the DHT library by Adafruit can be installed via the Library Manager in the Arduino IDE.


#include "DHT.h"// Define the type of sensor and the pin it's connected to
#define DHTTYPE DHT21   // DHT 21 (AM2301)
#define DHTPIN 2        // Digital pin 2DHT dht(DHTPIN, DHTTYPE);void setup() {
  Serial.begin(9600);
  Serial.println("DHT21 (AM2301) 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

  • Ensure the sensor is located in an area with adequate airflow for precise readings
  • Avoid positioning the sensor in direct sunlight or near heat sources to prevent inaccurate readings
  • Regularly verify and recalibrate the sensor if used in critical applications


The DHT21 (AM2301) is a versatile and dependable sensor that is well-suited for a broad range of applications requiring precise temperature and humidity measurements.

Write a review

Note: HTML is not translated!
Rating
Bad Good

Category Products

10mm LDR - A Light-Sensitive ResistorThe LDR, an acronym for Light Dependent Resistor, is a type of photoresistor. Photoresistors are specialized elec..
2.90RON
Ex Tax:2.90RON
Add to Cart
LDR-Light Sensitive Resistor 5mm PhotoresistorThe Light Dependent Resistor, abbreviated as LDR, is a type of photoresistor. A photoresistor is a class..
0.28RON
Ex Tax:0.28RON
Add to Cart
AH175 Hall Effect SensorThe AH175 is a digital Hall-effect switch. It detects magnetic fields and changes its output state based on the presence of a ..
7.36RON
Ex Tax:7.36RON
Add to Cart
DHT11 Digital Temperature Humidity SensorThe DHT11 is a cost-effective digital sensor that measures both temperature and humidity. It is widely used i..
5.06RON
Ex Tax:5.06RON
Add to Cart
DHT22 AM2302: A High-Precision Digital Temperature and Humidity Sensor ModuleThe DHT22, alternatively known as the AM2302, is a highly precise digital..
28.52RON
Ex Tax:28.52RON
Add to Cart
Figaro TGS2600 Air Contaminants - Air Quality Detection and Gas SensorThe sensing element is comprised of a metal oxide semiconductor layer formed on ..
36.80RON
Ex Tax:36.80RON
Add to Cart

WhatsApp Chat

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