parts / dht22
DHT22 (AM2302) temperature and humidity sensor
Digital temperature and humidity sensor on one open-drain data line. It reads the scene's `temperature` and `humidity` to 0.1 and sends them as 40 bits when the host pulls DATA low for at least 0.8 ms and releases it. Each read sends what the sensor measured at the end of the read before, so after `orbe set temperature 30` the second read shows it. Read it at most every 2 s, and not in the first 2 s after power-on: a start sooner gets no answer and a `chip.protocol` warning, rule `interval`. DATA needs a pull-up to VDD; the sheet asks for 5.1 kΩ. Four leads on 2.54 mm: VDD, DATA, NC, GND. The DHT sensor library reads this part.
dht22am2302temperaturehumiditysensorone-wiredigitalthrough-hole
Loading the 3D model
Install
orbe add dht22
At a glance
- pins
- VDD, DATA, NC, GND
Pins
| Pin | Leads |
|---|---|
| VDD | 1 |
| DATA | 2 |
| NC | 3 |
| GND | 4 |
Not simulated
accuracy
A read is the world's value rounded to 0.1. The sheet allows ±2 %RH (±5 at most) and ±0.5 °C.
response time
A measurement reads the world at its time. The sheet takes about 5 s to follow a humidity step and 10 s for temperature, to 63 %.
range
Temperature reads -40 to 80 °C, the sheet's range; the scene's temperature past it reads the nearer end.
supply
The sensor answers at any supply. The sheet asks for 3.3 to 5.5 V, and the levels and pull-up above are its 5 V values.
timing spread
Every reply has the sheet's typical times: 80 us response low and high, 50 us bit lows, 26 us and 70 us highs, 50 us last low, 30 us after the start.
Docs
- Aosong AM2302 product manual v1.1
- Aosong DHT22 datasheet
- Aosong AM2302 Technical Manual
Where to buy
| Seller | Checked |
|---|---|
| LCSC | 2026-11-16 |
License and filesMIT OR Apache-2.0
| File | Size |
|---|---|
| dht22.anchors.json | 512 B |
| dht22.glb | 90.4 kB |
| part.jsonc | 3.8 kB |