
- Stock:
- Model: T184.AM2301A
AM2301A (DHT21) Digital Temperature & Humidity Sensor Module 🌡️💧
The AM2301A, also known as DHT21, is a calibrated digital temperature and humidity sensor module designed for precise environmental monitoring in embedded systems. It features a single-wire digital interface for easy integration with popular microcontrollers and development platforms such as Arduino and Raspberry Pi, making it ideal for both engineers and hobbyists.
Key Highlights ✨
- High accuracy: ±0.3°C (temperature), ±2% RH (humidity)
- Wide measurement ranges: -40 to 125°C; 0 to 100% RH
- Fine resolution: 0.1°C and 0.1% RH
- Fast response: typically < 1 second ⏱️
- Flexible supply voltage: 3.3 V to 5.5 V DC ⚡
- Digital output: single-wire communication protocol
- Compact module: approx. 15 × 12 × 5.5 mm
- Easy integration with Arduino, Raspberry Pi, and other microcontroller platforms
Technical Specifications ⚙️
- Temperature accuracy: ±0.3°C
- Temperature range: -40 to 125°C
- Temperature resolution: 0.1°C
- Humidity accuracy: ±2% RH
- Humidity range: 0 to 100% RH (non-condensing recommended)
- Humidity resolution: 0.1% RH
- Supply voltage: 3.3 V to 5.5 V DC
- Interface: digital, single-wire protocol (DHT)
- Response time: typically less than 1 second
- Dimensions: approx. 15 mm × 12 mm × 5.5 mm

Why Choose AM2301A? ✅
With its combination of high precision, wide operating range, and low power consumption, the AM2301A is a dependable choice for data logging, environmental control, and smart devices. The single-wire digital output simplifies wiring and firmware, making it a staple electronics component for modules and DIY prototyping.
Applications 🧩
- Weather stations and environmental monitoring
- HVAC control and indoor air quality systems
- Industrial automation and process monitoring
- Consumer electronics and smart home devices
- Data logging with Arduino, Raspberry Pi, ESP32, and other microcontroller platforms
Integration Notes 🔧
- Pull-up resistor: Use a 4.7 kΩ–10 kΩ pull-up from DATA to VCC for reliable single-wire communication.
- Sampling interval: Read no faster than about every 2 seconds for stable results.
- Voltage considerations:
- With Arduino (5 V): You may power the sensor at 5 V; DATA logic will be 5 V.
- With Raspberry Pi (3.3 V): Power the sensor at 3.3 V so DATA levels remain 3.3 V-safe for GPIO.
- Wiring: VCC → 3.3–5.5 V, DATA → MCU GPIO (with pull-up), GND → Ground.
Example Arduino Code 💻
// AM2301A (DHT21) example for Arduino #include #define DHTPIN 2 // Digital pin connected to the sensor #define DHTTYPE DHT21 // AM2301A (DHT21)DHT dht(DHTPIN, DHTTYPE);void setup() { Serial.begin(9600); dht.begin(); }void loop() { delay(2000); // Recommended delay between readings (~0.5 Hz) float temperature = dht.readTemperature(); // °C float humidity = dht.readHumidity(); // % RH if (isnan(temperature) || isnan(humidity)) { Serial.println("Failed to read from AM2301A sensor!"); return; } Serial.print("Temperature: "); Serial.print(temperature, 1); Serial.print(" °C | Humidity: "); Serial.print(humidity, 1); Serial.println(" %RH"); }
This sketch initializes the DHT library, queries the AM2301A (DHT21) connected to pin 2, and prints temperature and humidity to the Serial Monitor every 2 seconds. Adjust DHTPIN and DHTTYPE as needed for your setup.
Summary 📝
The AM2301A Digital Temperature Humidity Sensor Module delivers accurate, fast, and easy-to-use environmental measurements. Its single-wire digital interface, broad voltage range, and compatibility with Arduino, Raspberry Pi, and other microcontrollers make it a reliable choice for many electronics projects and products.