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
| Label | Number | Functions | Limits | Check |
|---|---|---|---|---|
| VDD | pin 1 | 5 V | power input | verifiedLabelled on other revisions as: VCC, +, 1 |
| DATA | pin 2 | Data: Aosong single-wire bus (not compatible with Dallas 1-Wire) | verifiedA pull-up to VDD is required: the bare sensor doesn't have one.Labelled on other revisions as: SDA, OUT, 2 | |
| NC | pin 3 | not connected | verifiedLabelled on other revisions as: NULL, 3 | |
| GND | pin 4 | Ground | verifiedLabelled on other revisions as: 4 |
Sources
Every pin is verified against the manufacturer's documents.
- Aosong (Guangzhou) DHT11 digital temperature and humidity sensor V1.3 (31.03.2017, LCSC copy)datasheet, checked 20.10.2026pins 1 VDD (3.3–5.5 V), 2 DATA, 3 NC, 4 GND left to right when facing the grille; package 12.5×16×6 mm, 2.54 mm pitch; current 0.06 mA standby, up to 1.0 mA while measuring; poll period over 2 s; 4.7 kΩ pull-up for wire under 5 m; 5–95 %RH ±5 %, -20...60 °C ±2 °C
- Components101: DHT11 Temperature and Humidity Sensorthird-party source, checked 20.10.20264 pins: Vcc, Data, NC, Ground; 3-pin module: Vcc, Data, Ground, pull-up on the module
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.



