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

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.