DHT22 humidity and temperature sensor pinout

DHT22 humidity and temperature sensor (AM2302), DHT22 (AM2302), 3.3 V logic, 15.3×30.6 mm, 4 pins

verified20.10.2026

View of the grille, tab with a hole at the top, pins down: VDD, DATA, NULL, GND from left to right.

Download PNG
Chip
DHT22 (AM2302)
Logic
3.3 V
Power
VDD (pin 1) 3.3-6 V

Important

  • 4.7-10 kΩ pull-up from DATA to VDD (Adafruit uses 10 kΩ). 100 nF ceramic between VDD and GND per Aosong.
  • Poll no more than once every 2 seconds. The sensor doesn't respond during the first second after power-up.
  • Supply: the specification table says 3.3-6 V, the AM2302 description recommends 3.3-5.5 V.
  • With an ESP32: VDD to 3V3, DATA to an output-capable GPIO (not 34-39), pull-up to 3V3. Libraries: DHT sensor library (Adafruit) or DHTesp, type DHT22.
  • Difference from the DHT11: more accurate (±2 %RH, ±0.5 °C), wider range (-40...80 °C), different data format: select type DHT22 in the library.
  • 1-1.5 mA while measuring, 40-50 µA in standby.

Revisions and clones

  • AM2302 in the large wired package: red VDD, black GND, yellow DATA (Aosong).
  • DHT22 on a breakout with three pins and a pull-up: module dht22-module.

All pins

LabelNumberFunctionsLimitsCheck
VDDpin 15 Vpower inputverified
DATApin 2Data: Aosong single-wire bus (not compatible with Dallas 1-Wire)verified
NULLpin 3not connectedverified
GNDpin 4Groundverified

Sources

Every pin is verified against the manufacturer's documents.

Size: body 15.1×25.1 mm including the mounting tab per Aosong, the 8.5 mm pins are drawn shortened, 2.54 pitch (approximate).

FAQ

What supply voltage does the DHT22 humidity and temperature sensor need?
VDD (pin 1): 3.3-6 V. 3.3 V logic.

You might also need

Similar boards