DHT11 temperature + humidity with ESP32

Supply 3.3-5 V Bus ONEWIRE Measures temperature, humidity
VCCDATANCGND

Pins and ESP32 wiring

PinRoleESP32 pinNotes
VCCPower3V3
DATAOne-wire dataD25Needs a 10 kΩ pull-up (already on 3-pin modules; 3-pin module order varies, read the labels)
NCNot wired to the ESP32—Not connected
GNDGroundGND

Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.

Sources

Try it in 3D in BoardPilot

BoardPilot Part data (JSON)

Related parts

Part data: CC BY 4.0, free to reuse with credit to BoardPilot.