// environment
DHT11
Basic temp + humidity, hobby grade
€2.50
avg eur
1-Wire-custom
Pins
3
Specs
4
Libraries
2
Protocols
1
// wiring → esp32 devkit v1
VCC
3V3
EN
GPIO36
VP
GPIO39
VN
GPIO34
GPIO35
GPIO32
GPIO33
GPIO25
GPIO26
GPIO27
GPIO14
GPIO12
GND
GND
GPIO13
ESP32
WROOM-32
devkit v1
USB
VIN
5V
GND
GPIO23
GPIO22
SCL
GPIO1
TX0
GPIO3
RX0
GPIO21
SDA
GPIO19
MISO
GPIO18
SCK
GPIO5
SS
GPIO17
TX2
GPIO16
RX2
GPIO4
DATA
GPIO2
GPIO15
sensor pin (left)
sensor pin (right)
unused
// pinout → esp32
| Sensor Pin | ESP32 Connection |
|---|---|
| VCC | 3.3V |
| DATA | GPIO 4 |
| GND | GND |
// technical specs
Temp range
0–50°C ±2°C
Humidity
20–80% ±5%
Sample rate
1 Hz
Voltage
3.3–5V
// github libraries
// notes & warnings
Slow and inaccurate. Use DHT22 or BME280 if precision matters. Needs 10kΩ pull-up on DATA.
// related sensors · environment
Submitted by caio.ricciuti@outlook.com
· Apr 26, 2026