Skip to datasheet
Digital temperature and humidity sensor

DHT11 Basic Circuit

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

DHT11 in a circuit

A vented sensor, one pullup and a controller with compatible logic.

Realistic blue four-lead DHT11 connected to a5V microcontroller with4.7k pullup,100nF bypass and common ground; NC stays open.
Illustrative 52%RH and 25°C readout. Front-view pin order is 1 VCC, 2 SDA, 3 NC, 4 GND.

Connect it, step by step

Follow the component values and pin connections

Power and bypass

Connect 5 V and ground and fit the local bypass capacitor.

Pull up the data line

Connect SDA to a compatible GPIO through a short connection with a 4.7 kΩ pullup.

Read and validate

Observe the start and pulse timings, check all five bytes, and wait at least two seconds between reads.

Component view