DS18B20 waterproof temperature probe with ESP32

Supply 3.3-5 V Bus ONEWIRE Measures temperature
VDDDQGND

Pins and ESP32 wiring

PinRoleESP32 pinNotes
VDDPower3V3Red wire
DQOne-wire dataD25Yellow (sometimes white) wire. Needs a 4.7 kΩ pull-up to 3.3 V
GNDGroundGNDBlack wire

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

Good to know

Sources

Try it in 3D in BoardPilot

BoardPilot Part data (JSON)

DS18B20 waterproof temperature probe on other boards: wiring and code

Learn the basics

Related parts

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