DHT22 / AM2302 calibrated digital temperature & humidity sensor. -40 to 80°C, 0-100% RH, ±0.5°C. Single-bus interface for Arduino, ESP32, Raspberry Pi.
JSONBThe DHT22 (also branded AM2302) is a calibrated digital temperature and humidity sensor combining a capacitive polymer humidity sensing element with a precision NTC thermistor. It outputs fully calibrated digital signals over a single-wire (single-bus) interface, so a microcontroller only needs one GPIO pin to read both temperature and relative humidity.
| Parameter | Value |
|---|---|
| Model | DHT22 / AM2302 |
| Temperature range | -40°C to +80°C |
| Temperature accuracy | ±0.5°C |
| Temperature resolution | 0.1°C |
| Humidity range | 0–100% RH |
| Humidity accuracy | ±2% RH (at 25°C) |
| Humidity resolution | 0.1% RH |
| Operating voltage | 3.3V – 5.5V DC |
| Interface | Single-bus (1-Wire, not Dallas) |
| Sampling interval | ≥2 seconds between reads |
Application note: the single-bus protocol is NOT Dallas 1-Wire. Use the DHT sensor library (Adafruit_DHT, DHT.h, or MicroPython dht class). Reading faster than every 2 seconds returns stale data.
// Arduino example
#include "DHT.h"
#define DHTPIN 2
#define DHTTYPE DHT22
DHT dht(DHTPIN, DHTTYPE);
void setup() { Serial.begin(9600); dht.begin(); }
void loop() {
float t = dht.readTemperature();
float h = dht.readHumidity();
Serial.print(t); Serial.print(" °C ");
Serial.print(h); Serial.println(" %");
delay(2000);
}Documentation
Stored in MinIO object storage (docs/). Click to download.
Compatible
Products commonly used alongside this item.