Aosong single-wire bus
The sensor replies with two humidity bytes, two temperature bytes, and an additive checksum.
The AM2302 measures relative humidity and temperature and sends a 40-bit frame over a single data wire.
Device supply. Place the bypass capacitor close to this pin.
| Pin | Signal | Direction | Function |
|---|---|---|---|
| 1 | VDD Supply input | Supply input | Device supply. Place the bypass capacitor close to this pin. |
| 2 | SDA Bidirectional | Bidirectional | SDA uses a three-state interface. Use an open-drain host GPIO or switch between driving low and high impedance. Pull SDA up to a supply compatible with both devices. |
| 3 | NC No connection | No connection | Leave pin 3 electrically open. |
| 4 | GND Supply return | Supply return | Connect to the common ground plane or bench return. |
The sensor replies with two humidity bytes, two temperature bytes, and an additive checksum.
| Parameter | Limit | Conditions and source |
|---|---|---|
| Supply3.3–5.5 V | 3.3–5.5 V | ASAIR recommends 5 V. At 3.3 V, limit the cable to 1 m to avoid supply voltage drop. Aosong / ASAIR AM2302 Technical Manual V1.0, pp. 4–6, §§ 3, 5.1–5.3, and Table 7. |
| Host start pulse0.8–20 ms low (typ. 1 ms) | 0.8–20 ms low (typ. 1 ms) | Release the line afterward and measure the sensor’s response. Aosong / ASAIR AM2302 Technical Manual V1.0, pp. 4–6, §§ 3, 5.1–5.3, and Table 7. |
| Read intervalAt least 2 s | At least 2 s | Wait more than 2 s after power-up before the first request. Aosong / ASAIR AM2302 Technical Manual V1.0, pp. 4–6, §§ 3, 5.1–5.3, and Table 7. |
Aosong also markets AM2302 as DHT22. This map shows the four positions in the manufacturer manual. Pin 3 carries no signal.