Robot Pi Shop

DS18B20 Temperature Sensor

$1.99

Shipping calculated at checkout.

Quantity

DS18B20 Waterproof Digital Temperature Sensor Probe – 1-Wire

The DS18B20 Digital Temperature Sensor Probe is a waterproof-style temperature sensor designed for measuring temperature in liquids, pipes, tanks, environmental systems and other applications where a protected remote sensor is required.

The DS18B20 provides digital temperature measurements using the simple 1-Wire communication protocol, allowing it to connect easily to Arduino, ESP32, Raspberry Pi and other microcontrollers.

The sensor provides a wide measurement range of -55°C to +125°C, with an accuracy of ±0.5°C between -10°C and +85°C.

Technical Specifications

  • Sensor: DS18B20
  • Sensor Type: Digital Temperature Sensor Probe
  • Interface: 1-Wire
  • 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
  • Sensor Housing: Stainless-Steel Probe
  • Cable: 3-Wire
  • Unique Device Address: 64-Bit Serial Code
  • Multiple Sensors on One Bus: Supported
  • Output: Digital

Stainless-Steel Sensor Probe

The DS18B20 sensor is enclosed inside a stainless-steel probe, protecting the sensing element and allowing temperature measurements away from the main control electronics.

The probe design is useful for applications such as:

  • Water Tanks
  • Aquariums
  • Pipes
  • Cooling Systems
  • Refrigeration
  • Environmental Monitoring
  • Hydroponics
  • Heating Systems

Wide Temperature Range

The DS18B20 supports measurements from:

-55°C to +125°C

with specified accuracy of:

±0.5°C from -10°C to +85°C

This makes it suitable for a wide range of general temperature-monitoring applications.

Programmable Resolution

Temperature measurement resolution can be configured to:

  • 9-Bit: 0.5°C
  • 10-Bit: 0.25°C
  • 11-Bit: 0.125°C
  • 12-Bit: 0.0625°C

Higher resolution provides finer temperature readings but requires additional conversion time.

1-Wire Digital Interface

The DS18B20 communicates through the 1-Wire protocol, allowing communication using only one microcontroller GPIO data line.

A typical three-wire probe uses:

  • Red: VCC
  • Black: GND
  • Yellow / White: DQ Data

A 4.7kΩ pull-up resistor is typically required between the DQ data line and VCC.

Always verify the wire colors supplied with the actual sensor before connecting power, as cable colors can vary between manufacturers.

Multiple Sensors on One GPIO

Each DS18B20 contains a unique 64-bit serial address.

Multiple sensors can therefore share the same 1-Wire data bus while being individually identified by the microcontroller.

This is particularly useful for monitoring temperatures at several different locations without requiring a separate GPIO for every sensor.

Arduino, ESP32 & Raspberry Pi Compatible

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:

  • Water Temperature Monitoring
  • Aquariums
  • Water Tanks
  • Hydroponics
  • Smart Agriculture
  • HVAC Systems
  • Refrigerators & Freezers
  • Cooling Systems
  • Heating Systems
  • Solar Water Systems
  • Data Logging
  • IoT Projects
  • Arduino Projects
  • ESP32 Projects
  • Raspberry Pi Projects
  • Environmental Monitoring
  • Industrial Equipment Monitoring

Important Waterproofing Note

The stainless-steel probe section is designed for protected/wet temperature measurement, but this does not necessarily mean the complete cable assembly and connector are suitable for permanent underwater installation.

For long-term immersion, outdoor installation or chemically aggressive liquids, verify the sealing method, cable material and environmental rating of the specific supplied probe.

Important Notes

  • The DS18B20 provides a digital output, not an analog voltage.
  • A 4.7kΩ pull-up resistor is typically required on the data line.
  • Verify cable colors before wiring.
  • Do not exceed the 3.0–5.5V operating range.
  • ±0.5°C accuracy applies specifically from -10°C to +85°C.
  • Multiple sensors can share the same 1-Wire bus.
  • Check material compatibility before using the probe with chemicals, fuels or corrosive liquids.
  • The DS18B20 measures temperature only; it does not measure humidity.

Package Includes

1 × DS18B20 Waterproof Digital Temperature Sensor Probe