DS18B20 Waterproof Digital Temperature Sensor Probe – 1-Wire
The DS18B20 Waterproof Temperature Sensor is a digital temperature probe designed for measuring temperature in water, liquids, pipes, tanks and other environments where the sensing element requires protection from moisture.
The DS18B20 sensor is sealed inside a stainless-steel probe and communicates digitally using the popular 1-Wire protocol. It can be easily interfaced with Arduino, ESP32, Raspberry Pi and many other microcontrollers.
With a measurement range of -55°C to +125°C and accuracy of ±0.5°C from -10°C to +85°C, it is an excellent choice for IoT, automation, environmental monitoring and temperature-control applications.
Technical Specifications
-
Sensor: DS18B20
-
Product Type: Waterproof Digital Temperature Probe
-
Interface: 1-Wire Digital
-
Operating Voltage: 3.0–5.5V DC
-
Temperature Range: -55°C to +125°C
-
Accuracy: ±0.5°C from -10°C to +85°C
-
Programmable Resolution: 9-Bit to 12-Bit
-
Maximum Resolution: 0.0625°C
-
Maximum Conversion Time: 750ms at 12-Bit Resolution
-
Probe Material: Stainless Steel
-
Cable: 3-Wire
-
Unique Device Address: 64-Bit Serial Code
-
Multiple Sensors on One Bus: Yes
-
Output Type: Digital
-
Parasite Power Mode: Supported
Waterproof Stainless-Steel Probe
The DS18B20 sensing element is enclosed in a stainless-steel probe, making it suitable for temperature measurement in wet environments and many liquid-monitoring applications.
Typical uses include:
- Water Tanks
- Aquariums
- Hydroponic Systems
- Pipes
- Cooling Systems
- Refrigeration
- Heating Systems
- Environmental Monitoring
Only the sealed probe should be exposed to liquid unless the specific cable assembly is explicitly rated for complete or continuous immersion.
Accurate Digital Temperature Measurement
The DS18B20 performs the temperature conversion internally and sends the result digitally to the connected controller.
It can measure temperatures from:
-55°C to +125°C
with an accuracy of:
±0.5°C from -10°C to +85°C
Because the output is digital, an external analog-to-digital converter is not required.
Programmable 9-Bit to 12-Bit Resolution
Temperature resolution can be configured according to the application:
-
9-Bit: 0.5°C
-
10-Bit: 0.25°C
-
11-Bit: 0.125°C
-
12-Bit: 0.0625°C
Higher resolution provides finer measurements but requires additional conversion time.
At 12-bit resolution, the maximum conversion time is approximately 750ms.
1-Wire Communication
The DS18B20 uses the 1-Wire digital communication protocol, allowing the sensor to communicate with a microcontroller using only one GPIO data line.
A typical three-wire DS18B20 probe uses:
-
Red: VCC
-
Black: GND
-
Yellow / White: DQ Data
A 4.7kΩ pull-up resistor is typically connected between the DQ data line and VCC.
Always verify the wire colors of the supplied sensor before connecting power, as cable colors can vary between manufacturers.
Multiple Sensors on One Data Line
Every DS18B20 contains a unique factory-programmed 64-bit serial address.
This allows multiple DS18B20 sensors to share the same 1-Wire bus while each sensor can still be individually identified.
This is particularly useful for applications requiring temperature monitoring at several locations while minimizing the number of GPIO pins required.
Compatible Platforms
The DS18B20 can be used with many popular development platforms, including:
- Arduino UNO
- Arduino Nano
- Arduino Mega
- ESP32
- ESP8266
- Raspberry Pi
- STM32
- PIC
- AVR
- Other Compatible Microcontrollers
Applications
Ideal for:
- Aquarium Temperature Monitoring
- Water Tank Monitoring
- Hydroponics
- Smart Agriculture
- IoT Systems
- Water Temperature Measurement
- HVAC Systems
- Refrigerators & Freezers
- Cooling Systems
- Heating Systems
- Solar Water Systems
- Data Loggers
- Weather Stations
- Arduino Projects
- ESP32 Projects
- Raspberry Pi Projects
- Home Automation
- Industrial Temperature Monitoring
Important Waterproofing Note
The stainless-steel sensor probe is sealed for temperature measurement in wet environments.
However, the cable end, connector and any exposed electrical connections should be kept dry unless they are specifically rated for immersion.
For permanent underwater installation, outdoor use or chemically aggressive liquids, additional sealing and material-compatibility checks may be required.
Important Notes
-
Digital 1-Wire output, not analog.
-
Operating voltage is 3.0–5.5V DC.
-
A 4.7kΩ pull-up resistor is typically required between DQ and VCC.
-
±0.5°C accuracy applies from -10°C to +85°C.
- Verify wire colors before applying power.
- Do not immerse exposed electrical connections.
- Multiple DS18B20 sensors can operate on the same 1-Wire bus.
-
The sensor measures temperature only and does not measure humidity.
- Check probe and cable material compatibility before use with corrosive chemicals or fuels.
Package Includes
1 × DS18B20 Waterproof Digital Temperature Sensor Probe