Skip to datasheet
AM2302 temperature and humidity sensor

DHT22 Basic Circuit

Build a basic DHT22 circuit with labeled pins, component values and connection guidance.

DHT22 in a circuit

Four leads, one pullup and a voltage-compatible controller.

White AM2302 sensor and a 5 V microcontroller display connected with a 5.1 kΩ data pullup and 100 nF supply bypass.
Illustrative 65.8%RH and 26.9°C display. Contact 3 remains open.

Connect it, step by step

Follow the component values and pin connections

Connect the rails

Power the sensor and controller and connect their grounds.

Release the data line

Use the pullup instead of actively driving the bus HIGH.

Reject invalid data

Update the display only after a complete frame with the correct checksum.

Component view