CATEGORIES

My Account

CATEGORIES
Your Cart

DHT21 (AM2301) Digital Temperature & Humidity Sensor Module

DHT21 (AM2301) Digital Temperature & Humidity Sensor Module
DHT21 (AM2301) Digital Temperature & Humidity Sensor Module
Your orders placed before 17:00 PM on weekdays are shipped the same day. Free shipping over 150 RON.
33.00RON
Ex Tax: 33.00RON
Price in reward points: 660
  • Stock: In Stock
  • Model: C458.DHT21
Our products are shipped from our warehouse in Romania
Shipping is free for purchases of 150 RON and above.
5% discount coupon for purchases over 500 RON
10% discount coupon for purchases over 1000 RON
Same day shipping until 16:30
No minimum order price limit
Our products are shipped from our warehouse in Romania
Shipping is free for purchases of 150 RON and above.
5% discount coupon for purchases over 500 RON
10% discount coupon for purchases over 1000 RON
Same day shipping until 16:30
No minimum order price limit
Our products are shipped from our warehouse in Romania
Shipping is free for purchases of 150 RON and above.
5% discount coupon for purchases over 500 RON
10% discount coupon for purchases over 1000 RON
Same day shipping until 16:30
No minimum order price limit
Our products are shipped from our warehouse in Romania
Shipping is free for purchases of 150 RON and above.
5% discount coupon for purchases over 500 RON
10% discount coupon for purchases over 1000 RON
Same day shipping until 16:30
No minimum order price limit
Our products are shipped from our warehouse in Romania
Shipping is free for purchases of 150 RON and above.
5% discount coupon for purchases over 500 RON
10% discount coupon for purchases over 1000 RON
Same day shipping until 16:30
No minimum order price limit

DHT21 (AM2301) Digital Temperature & Humidity Sensor Module🌡️💧

The DHT21 (AM2301) is a reliable, dual-purpose digital temperature and humidity sensor designed for precision environmental monitoring. Ideal for Arduino, Raspberry Pi, and other microcontroller-based projects, this compact module delivers accurate readings with low power consumption, making it perfect for embedded and battery-powered electronics applications.{IMG_TAG_0}

🧰 Overview

The DHT21 / AM2301 integrates a capacitive humidity sensor and a thermistor to measure ambient air conditions. It outputs calibrated, digital data via a simple single-wire interface, eliminating the need for analog inputs and complex signal conditioning. This sensor is widely used in modules and electronics components kits for environmental monitoring and automation.

⚙️ Key Specifications

  • Temperature Range: -40 to +80°C (accuracy ±0.5°C)
  • Humidity Range: 0 to 100% RH (accuracy ±3% RH)
  • Resolution: 0.1 (temperature and humidity)
  • Power Supply (Voltage): 3.3V to 5.5V
  • Low Power Consumption: suitable for battery-powered designs
  • Digital Output: single-wire (custom) communication protocol
  • Typical Response/Update Time: less than 2 seconds

🔌 Pin Configuration

The DHT21 sensor typically provides three connections:

  • VCC: Power supply (3.3V to 5.5V)
  • GND: Ground
  • DATA: Digital signal output


Note: A pull-up resistor (4.7 kΩ to 10 kΩ) from DATA to VCC is required for reliable communication.

📦 Typical Applications

  • Weather stations: ambient temperature and humidity monitoring
  • HVAC systems: heating, ventilation, and air conditioning control
  • Home automation: smart environmental sensing
  • Agriculture: greenhouse and soil environment monitoring
  • Industrial monitoring: warehouses and factory environments

🔧 Wiring Instructions (Arduino)

Connect the DHT21 to an Arduino as follows:

  • VCC → Arduino 5V (or 3.3V)
  • GND → Arduino GND
  • DATA → Arduino digital I/O (e.g., pin 2)
  • Add a 4.7 kΩ–10 kΩ pull-up resistor between VCC and DATA

🖥️ Compatibility Tips (Raspberry Pi & Other MCUs)

  • For Raspberry Pi (3.3V logic), either power the sensor at 3.3V or ensure the DATA pull-up is to 3.3V to protect the GPIO.
  • Works with popular microcontrollers such as Arduino, ESP8266, ESP32, STM32, and more.

🧪 Example Code (Arduino)


Install the Adafruit DHT library via the Arduino IDE Library Manager, then upload this example:

#include "DHT.h"// Sensor configuration #define DHTPIN 2 // Digital pin connected to the sensor #define DHTTYPE DHT21 // DHT 21 (AM2301)DHT 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); // Read humidity (%) and temperature (°C) float humidity = dht.readHumidity(); float temperature = dht.readTemperature(); // Celsius // Validate readings if (isnan(humidity) || isnan(temperature)) { Serial.println("Failed to read from DHT21 sensor!"); return; } // Print results Serial.print("Humidity: "); Serial.print(humidity, 1); Serial.print(" % "); Serial.print("Temperature: "); Serial.print(temperature, 1); Serial.println(" °C"); }

✅ Calibration & Best Practices

  • Place the sensor where there is adequate airflow for accurate readings.
  • Avoid direct sunlight or proximity to heat sources to prevent drift.
  • Use a proper pull-up resistor and keep signal wires short to reduce noise.
  • For critical applications, periodically verify and recalibrate against a reference instrument.

The DHT21 (AM2301) is a versatile, dependable electronics component for projects requiring precise temperature and humidity measurements. Its straightforward digital interface and broad voltage range make integration simple across Arduino, Raspberry Pi, and other microcontroller platforms.

Your orders placed before 16:30 on weekdays are dispatched the same day.

Write a review

Note: HTML is not translated!
Rating
Bad Good

Category Products

 Straight Male Header Red - 2.54mm Pitch for Breadboard and PCB Projects 📌The 1x40 Pin Male Header is a robust, single-row connector designed for reli..
0.60RON
Ex Tax:0.60RON
Add to Cart
1x40 Straight Male Header Yellow - 2.54mm Pitch for Breadboard and PCB Projects 📌The 1x40 Pin Male Header is a robust, single-row connector designed f..
0.60RON
Ex Tax:0.60RON
0.47uF 250V Polyester Film CapacitorEngineered for dependable performance across a wide range of electronic circuits, this 250V polyester capacitor de..
0.75RON
Ex Tax:0.75RON
100K NTC Thermistor 3mm — High-Sensitivity Temperature Sensor 🌡️The NTC thermistor is a compact, high-sensitivity temperature-sensing component design..
0.40RON
Ex Tax:0.40RON
100K NTC Thermistor 5mm — High-Sensitivity Temperature Sensor 🌡️The NTC thermistor is a compact, high-sensitivity temperature-sensing component design..
1.30RON
Ex Tax:1.30RON
100 kΩ Resistor (1/4 Watt) – Carbon Film, Through-Hole 🔧Optimize your circuits with a reliable, general-purpose 100 kΩ carbon film resistor rated at 1..
0.05RON
Ex Tax:0.05RON