DHT22 Reference Tables
Search the DHT22 pin reference and manufacturer-referenced specification tables.
Pin reference
Signal names, electrical functions and connection guidance
Scroll within the table to see all columns and rows.
| Pin | Signal | Type | Function & connection |
|---|---|---|---|
| VDD | Supply | Positive supply input.Connection guidanceConnect to a 3.3–5.5 V rail with local bypassing. The circuit shown uses 5 V. The GPIO must tolerate the data pullup voltage. | |
| SDA | Bidirectional data | Timed single-wire measurement interface.Connection guidanceConnect a compatible GPIO and a pullup; release the line for the sensor response. This is not I²C or an addressed Dallas 1-Wire interface. | |
| NC | No connection | Unused physical contact.Connection guidanceLeave open. | |
| GND | Ground | Common supply and logic reference.Connection guidanceConnect to the controller return. |
No pins match these filters. Try another signal name or reset the filters.
Supply and update rate
Match the sensor rail and GPIO voltage
Scroll within the table to see all columns and rows.
| Parameter | Value | Conditions / notes |
|---|---|---|
| Supply | 3.3–5.5 V | 5 V nominal |
| Startup / request interval | ≥2 s | Avoid back-to-back polling |
| Pullup reference | 5.1 kΩ | Select for the actual cable and bus capacitance |
| Sleep / measuring current | 15 µA / 1200 µA typical | Manufacturer reference conditions |
| Example bypass | 100 nF | Place beside VDD and GND |
| GPIO mode | Open drain or output/input switching | Never drive HIGH while the sensor is pulling LOW |
No specifications match. Try a parameter name or a unit.
The example uses a 5 V-tolerant controller. A 3.3 V controller needs a compatible pullup strategy or level translation.
Measurement limits
Typical error changes across the range
Scroll within the table to see all columns and rows.
| Parameter | Value | Conditions / notes |
|---|---|---|
| Temperature | −40°C to +80°C | 0.1°C digital resolution |
| Humidity envelope | 0–99.9%RH | Normal recommended scope is narrower; see the conditions curve |
| Typical central-range errors | ±0.5°C and ±2%RH | Do not apply these as maximum limits across all conditions |
| Response times | <10 s temperature; <6 s humidity | 63% step response under specified airflow |
| Condensation | Avoid | A wet sensing element does not represent the air’s normal humidity |
| Thermal separation | Keep away from regulators and processors | Board heat can bias both displayed values |
No specifications match. Try a parameter name or a unit.
The linked manufacturer curves specify error versus temperature and humidity.
Pulse timing
AM2302 protocol · microseconds unless noted
Scroll within the table to see all columns and rows.
| Parameter | Value | Conditions / notes |
|---|---|---|
| Host start LOW | 0.8–20 ms | 1 ms typical; use at least 1 ms |
| Release before response | 10–200 µs | 30 µs typical |
| Response LOW / HIGH | 75–85 µs each | 80 µs typical |
| Data-bit LOW | 48–55 µs | 50 µs typical |
| Zero-bit HIGH | 22–30 µs | 26 µs typical |
| One-bit HIGH | 68–75 µs | 70 µs typical |
| End-of-frame LOW | 45–55 µs | 50 µs typical |
No specifications match. Try a parameter name or a unit.
Receive with bounded timeouts; schedule other interrupt-heavy work outside the frame.
Decode a complete frame
Five bytes · big-endian words · sum check
Scroll within the table to see all columns and rows.
| Parameter | Value | Conditions / notes |
|---|---|---|
| Humidity | ((byte0 << 8) | byte1) / 10 | Unsigned 16-bit word |
| Temperature magnitude | (((byte2 & 0x7F) << 8) | byte3) / 10 | Bit 7 of byte2 supplies the sign |
| Negative temperature | Negate when (byte2 & 0x80) != 0 | Sign and magnitude, not two’s complement |
| Checksum | (byte0 + byte1 + byte2 + byte3) & 0xFF | Must equal byte4 |
| Example | 02 92 01 0D A2 hex | 65.8%RH, +26.9°C |
| Negative example | Temperature word 80 65 hex | −10.1°C |
| DHT11 compatibility | Different value decoding | Do not reuse the DHT11 integer/fraction byte parser |
No specifications match. Try a parameter name or a unit.
The packet represents the prior measurement; the transaction triggers the next measurement.
Four-lead connection guide
Vent face forward, leads downward
Scroll within the table to see all columns and rows.
| Parameter | Value | Conditions / notes |
|---|---|---|
| 1 · VDD | Supply and bypass | 5 V in the illustrated circuit |
| 2 · SDA | GPIO with pullup | One sensor per GPIO |
| 3 · NC | Leave open | No internal signal to connect |
| 4 · GND | Controller ground | Short return connection |
| Cable or breakout version | Check its own connector labels | The bare-sensor sequence is not a universal module connector pinout |
| Protocol name | Timed single-wire interface | Neither I²C nor addressed Dallas 1-Wire |
No specifications match. Try a parameter name or a unit.
Do not join several unaddressed sensors to one data line.
Housing and assembly
Original bare-sensor illustration
Scroll within the table to see all columns and rows.
| Parameter | Value | Conditions / notes |
|---|---|---|
| Housing width / depth | 15.4 / 7.8 mm | Nominal drawing dimensions |
| Main body / including tab | 20.1 / 25.3 mm high | The mounting eye is shown in the 3D view |
| Lead pitch / length | 2.54 / 7.5±0.5 mm | Four straight contacts |
| KiCad footprint | 1.8 mm lands; 1.0 mm drills | Check finished lead size and board assembly clearance |
| Air path | Leave vents exposed | Avoid enclosing the sensor beside hot components |
| SMD choice | No generic IC substitution | This page covers the bare vented sensor |
No specifications match. Try a parameter name or a unit.
The authored footprint retains all four contacts. Its outline is an assembly reference, not an enclosure drilling template.
No matching rowsTry a pin name, parameter, unit or test condition, or reset the filters.