TUTORIAL
Wiring a DHT11 Without Frying It (Beginner Guide)
2026-08-12 8 min
Power it right
The DHT11 module runs at 3.3V to 5V, but the data line speaks 3.3V logic. If you power it from 5V on an ESP32, the 3.3V GPIO can misread the signal. Use the module's onboard regulator and keep VCC at 3.3V when wiring to an ESP32.
The pull-up resistor
The DHT11 uses an open-collector data line. Without a pull-up resistor between DATA and VCC, readings will randomly fail with values like -999. Most LabonKit DHT11 modules already include the 10k pull-up — check the module for a tiny resistor marked 103.
Give it time
After power-up, wait at least one second before the first read. The sensor needs time to stabilise. Sampling faster than once per second will return garbage — respect the 1 Hz maximum sample rate.