DIYables DS18B20 One Wire Temperature Sensor for Arduino, ESP32, ESP8266, Raspberry Pi
Click to zoom


Quick Overview
This DIYables DS18B20 temperature sensor set includes five waterproof one-wire digital temperature sensors with stainless steel probes and five 4.7kΩ pull-up resistors. Each sensor features a 1-meter cable and provides accurate temperature readings from -55°C to +125°C, making them ideal for indoor and outdoor temperature monitoring projects.
The DS18B20 uses the Dallas 1-Wire protocol, allowing multiple sensors to share a single microcontroller pin with unique addressing. The waterproof stainless steel probe design enables reliable measurements in wet environments, aquariums, soil monitoring, HVAC systems, and weather stations.
Compatible with Arduino, ESP32, ESP8266, Raspberry Pi, and any 3.3V or 5V microcontroller, these sensors work seamlessly with popular libraries like OneWire and DallasTemperature for easy integration into IoT and automation projects.
Key Features
- Five Sensors Included — Complete set with 5 DS18B20 sensors and 5 pull-up resistors
- Waterproof Stainless Steel Probe — Durable sealed probe for wet and harsh environments
- One-Wire Digital Interface — Multiple sensors can share a single microcontroller pin
- Wide Temperature Range — Accurate measurements from -55°C to +125°C (-67°F to +257°F)
- High Accuracy — ±0.5°C accuracy from -10°C to +85°C
- 1 Meter Cable — Sufficient length for most applications with flexible wire
- Unique 64-bit Address — Each sensor individually addressable on shared bus
- Low Power Operation — 3.0V to 5.5V supply voltage compatible with most microcontrollers
- Pull-Up Resistors Included — Five 4.7kΩ resistors for proper one-wire communication
- Versatile Applications — Weather stations, aquariums, HVAC, soil monitoring, and IoT projects
SPECIFICATION
| Specification | Value |
|---|---|
| Product Type | Digital Temperature Sensor |
| Quantity | 5 sensors + 5 resistors (4.7kΩ) |
| Sensor Model | DS18B20 |
| Probe Material | Waterproof stainless steel |
| Cable Length | 1 meter (approx.) |
| Temperature Range | -55°C to +125°C (-67°F to +257°F) |
| Accuracy | ±0.5°C (-10°C to +85°C) |
| Resolution | 9-bit to 12-bit (user configurable) |
| Interface | 1-Wire (Dallas/Maxim) |
| Supply Voltage | 3.0V to 5.5V DC |
| Output | Digital (unique 64-bit address) |
| Response Time | < 10 seconds (typical) |
| Pull-Up Resistor | 4.7kΩ (included) |
Tutorials
- Arduino - DS18B20 Temperature Sensor
- Arduino Uno R4 - DS18B20 Temperature Sensor
- Arduino Nano - DS18B20 Temperature Sensor
- Arduino Nano ESP32 - DS18B20 Temperature Sensor
- ESP32 - DS18B20 Temperature Sensor
- ESP32 MicroPython - DS18B20 Temperature Sensor
- ESP8266 - DS18B20 Temperature Sensor
- Raspberry Pi - DS18B20 Temperature Sensor
- Raspberry Pi Pico - DS18B20 Temperature Sensor
COMPATIBLE HARDWARE
- Arduino boards (UNO, Mega, Nano, etc.) — Digital pin with 1-Wire support
- ESP32 development boards — Any GPIO pin
- ESP8266 boards (NodeMCU, Wemos D1, etc.) — Digital pin support
- Raspberry Pi (all models) — GPIO pins
- Raspberry Pi Pico — GPIO pin support
- Any 3.3V or 5V microcontroller with digital I/O and 1-Wire library support









