// environment
DS18B20
Waterproof digital temperature probe
€2.50
avg eur
1-Wire
Pins
3
Specs
4
Libraries
2
Protocols
1
// wiring → esp32 devkit v1
VCC (red)
3V3
EN
GPIO36
VP
GPIO39
VN
GPIO34
GPIO35
GPIO32
GPIO33
GPIO25
GPIO26
GPIO27
GPIO14
GPIO12
GND (black)
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 (yellow)
GPIO2
GPIO15
sensor pin (left)
sensor pin (right)
unused
// pinout → esp32
| Sensor Pin | ESP32 Connection |
|---|---|
| VCC (red) | 3.3V |
| DATA (yellow) | GPIO 4 |
| GND (black) | GND |
// technical specs
Range
-55–125°C ±0.5°C
Resolution
9–12 bit
Voltage
3.0–5.5V
Bus
True 1-Wire
// github libraries
// notes & warnings
4.7kΩ pull-up between DATA and VCC. Multiple sensors can share one GPIO.
// related sensors · environment
Submitted by caio.ricciuti@outlook.com
· Apr 26, 2026