Skip to datasheet
AM2302 temperature and humidity sensor

DHT22 Working Principle

Learn how DHT22 works with an illustrated explanation and practical readings.

DHT22 at a glance

Follow the labeled connections and functional stages

DHT22 working principle: illustrated functional stages, basic circuit and connections
Select the diagram to read it at full resolution.

How it works

3 stages · Explore one step at a time

Step 1 / 3

Request a sample

Drive SDA LOW for about 1 ms, then release it so the pullup and sensor can control the line.

Step 2 / 3

Receive five bytes

Classify each HIGH pulse after its LOW interval. Assemble the 40 bits in most-significant-bit-first order.

Step 3 / 3

Decode the words

Check the byte sum. Divide the humidity word and the temperature magnitude by ten; apply the temperature sign bit.

Component view