Skip to datasheet
Digital temperature and humidity sensor

DHT11 Working Principle

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

DHT11 at a glance

Follow the labeled connections and functional stages

DHT11 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

Start the transaction

Pull SDA LOW for 18–30 ms, then release it. Use a GPIO input or open-drain state so the sensor can respond.

Step 2 / 3

Measure pulse widths

The sensor acknowledges and sends 40 bits. Distinguish approximately 24 µs and 71 µs HIGH pulses after each LOW interval.

Step 3 / 3

Validate and display

Check the sum byte, decode temperature and humidity, and wait at least two seconds before another request.

Component view