
- ★Product Description
- ★About us
- ★Custom cable
DHT22 / AM2302 Digital Temperature & Humidity Sensor Module — ±0.5°C, -40–80°C, Arduino
The DHT22 (also known as AM2302) is a high-accuracy digital temperature and humidity sensor that delivers calibrated readings over a single-wire serial interface. With ±0.5°C temperature accuracy, ±2% RH humidity accuracy, and a wide range of -40°C to +80°C / 0–100% RH, it significantly outperforms the DHT11 and is the preferred sensor for weather stations, HVAC monitoring, cold chain logging, and precision IoT environmental sensing. This module version includes an onboard pull-up resistor for plug-and-play connection.
Key Specifications
| Parameter | Value |
|---|---|
| Sensor IC | DHT22 / AM2302 |
| Interface | Single-wire serial (proprietary) |
| Temperature Range | -40°C – +80°C |
| Temperature Accuracy | ±0.5°C |
| Humidity Range | 0% – 100% RH |
| Humidity Accuracy | ±2% RH |
| Sampling Rate | 0.5 Hz (1 reading per 2 seconds) |
| Supply Voltage | 3.3V – 5V |
| Module Pins | 3-pin (VCC, DATA, GND) — onboard pull-up included |
| Operating Temperature | -40°C to +80°C |
DHT22 vs DHT11 — Upgrade Comparison
| Feature | DHT22 / AM2302 | DHT11 |
|---|---|---|
| Temperature Range | -40–80°C | 0–50°C |
| Temperature Accuracy | ±0.5°C (4× better) | ±2°C |
| Humidity Range | 0–100% RH | 20–90% RH |
| Humidity Accuracy | ±2% RH (2.5× better) | ±5% RH |
| Sampling Rate | 0.5 Hz (every 2 sec) | 1 Hz (every 1 sec) |
| Best for | Outdoor, freezer, high-accuracy IoT | Indoor room monitoring, learning |
Why Choose DHT22 / AM2302?
- ±0.5°C accuracy — 4× more accurate than DHT11, suitable for precision environmental monitoring
- -40°C to +80°C range — covers outdoor, freezer, and industrial temperature ranges
- 0–100% RH — full humidity range including condensing environments
- Onboard pull-up resistor — plug directly into MCU GPIO, no external components needed
- Same library as DHT11 — Adafruit DHT library supports both, change DHT11 to DHT22 in one line
Compatible With
-
Arduino: Adafruit DHT library —
DHT dht(pin, DHT22); dht.readTemperature(); dht.readHumidity(); - ESP32 / ESP8266: Same library, 3.3V compatible
- Raspberry Pi: Adafruit CircuitPython DHT library
-
MicroPython:
import dht; d = dht.DHT22(Pin(4)); d.measure() - Home Assistant / ESPHome: dht platform, DHT22 sensor type
Frequently Asked Questions
Q: How do I upgrade from DHT11 to DHT22 in Arduino code?
A: Change only one line: DHT dht(DHTPIN, DHT11); → DHT dht(DHTPIN, DHT22); Everything else remains identical. Also change the delay between readings from 1000ms to 2000ms (DHT22 requires 2 seconds between readings).
Q: Why does DHT22 return NaN or incorrect readings?
A: Common causes: (1) Reading too fast — DHT22 requires at least 2 seconds between readings, add delay(2000). (2) Cable too long — keep DATA wire under 20cm; add 100nF capacitor between VCC and GND near the sensor for longer cables. (3) Power supply noise — add 100μF electrolytic capacitor between VCC and GND.
Q: Can DHT22 measure outdoor temperature and humidity accurately?
A: Yes — DHT22 covers -40°C to +80°C and 0–100% RH, making it suitable for outdoor use. For outdoor installation, place the sensor in a radiation shield (Stevenson screen) to prevent direct sunlight heating the sensor body. Avoid placing near heat sources or in direct airflow from HVAC vents.
Package Contents
- 1× DHT22 / AM2302 Digital Temperature & Humidity Sensor Module (3-pin PCB)


- ♥Hear From Our Happy Customers
- ♥Verified Buyer Reviews
- ♥Trusted by Professionals and Engineers


