← back to catalog
// environment

DHT22 / AM2302

Better accuracy temp + humidity

€4.50
avg eur
DHT22 / AM2302
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 -40–80°C ±0.5°C
Humidity 0–100% ±2%
Sample rate 0.5 Hz
Voltage 3.3–5V
// github libraries
// notes & warnings
Same wiring as DHT11. 10kΩ pull-up on DATA. Slow refresh (2s).
// related sensors · environment
Submitted by caio.ricciuti@outlook.com · Apr 26, 2026