DHT11 humidity and temperature sensor pinout

DHT11 humidity and temperature sensor, DHT11, 3.3 V logic, 12.7×21.6 mm, 4 pins

verified20.10.2026

View of the grille, pins down: VDD, DATA, NC, GND from left to right.

Download PNG
Chip
DHT11
Logic
3.3 V
Power
VDD (pin 1) 3.3-5.5 V

Important

  • 4.7-10 kΩ pull-up from DATA to VDD. Aosong in V1.3 gives 4.7 kΩ for a wire up to 5 m, 5.1 kΩ in early versions.
  • Poll no more than once every 2 seconds. Each read returns the result of the previous measurement.
  • To an ESP32: VDD to 3V3 (keep the wire short, on a long one the voltage drops and the readings are wrong), DATA to a GPIO with output (not 34-39), GND to GND. Libraries DHT sensor library (Adafruit) or DHTesp.
  • To an Arduino: VDD to 5V, DATA to D2, 10 kΩ pull-up to 5V.
  • The sensor does not respond for the first second after power is applied.
  • Early DHT11 (before V1.3): 20-90 %RH, 0-50 °C; this is what Joy-IT and old datasheets say.
  • Up to 1 mA while measuring, 60 µA in standby.

Revisions and clones

  • DHT11 on a board with three pins and a pull-up: the dht11-module (KY-015 and equivalents).

All pins

LabelNumberFunctionsLimitsCheck
VDDpin 15 Vpower inputverified
DATApin 2Data: Aosong single-wire bus (not compatible with Dallas 1-Wire)verified
NCpin 3not connectedverified
GNDpin 4Groundverified

Sources

Every pin is verified against the manufacturer's documents.

Size: body 12.5×16 mm per Aosong, 7.2 mm leads shortened, 2.54 pitch (approximate).

FAQ

What supply voltage does the DHT11 humidity and temperature sensor need?
VDD (pin 1): 3.3-5.5 V. 3.3 V logic.

You might also need

Similar boards