DS18B20 module (KY-001 style) with ESP32
Supply 3.3-5 V
Bus ONEWIRE
Measures temperature
Pins and ESP32 wiring
| Pin | Role | ESP32 pin | Notes |
|---|---|---|---|
| S | One-wire data | D25 | Data. The 4.7 kΩ pull-up is on the module |
| VCC | Power | 3V3 | Middle pin, marked + on some boards |
| GND | Ground | GND | Marked - on the board |
Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.
Sources
- Maxim DS18B20 datasheet, Pin description and 1-Wire pull-up
Try it in 3D in BoardPilot
Related parts
AM2301 (DHT21) wired temperature + humidityDHT11 temperature + humidityDHT22 (AM2302) temperature + humidityDS18B20 temperature sensor (TO-92)DS18B20 waterproof temperature probe
Part data: CC BY 4.0, free to reuse with credit to BoardPilot.