[email protected] Free Shipping On Orders Over $40

Shopping Cart

When you need to measure temperature, the DS18B20 is a firm favourite. Easy to code and with an abundance of examples on the internet, it’s a go-to temperature sensor!

This particular sensor is a pre-wired, waterproof version with a DS18B20-compatible sensor in the tip – great for measuring the temperature of liquids, or simply something further away from your microcontroller. These are a digital sensor, so you don’t have to worry about signal issues over longer distances.

As the coating/exterior is made of PVC, we suggest limiting the submerged liquid temperature to 100C to stay on the safe side. Don’t use it in salt water or other corrosive liquids. Not IP rated or guaranteed for long-term/high-pressure usage.

These sensors are quite precise (0.5C usually and can give up to 12 bits of precision from the onboard digital-to-analogue converter.

They use the Dallas 1-Wire protocol, so data is transferred over a single IO pin, and they’re suitable with 3-5V systems. Want something simpler than 1-wire? Maybe try the TMP36 instead.

In most cases, you will require a 4.7K resistor (not included) as a pull-up for fitting between the VCC and data pin of your microcontroller. For Arduino-compatible devices, you can get started using the Dallas Temperature Control Arduino library which also requires the OneWire Library.

Specifications

  • Stainless steel tube 6mm diameter by 30mm long
  • Cable length (select before adding to cart):
    • ~1m (sometimes as short as 90cm depending on the batch)
    • ~3m
  • Contains DS18B20-compatible temperature sensor
  • Red connects to 3-5V, White/Blue/Black (varies by batch) connects to ground and Yellow/White (varies by batch) is data.

DS18B20 Specifications

  • Sensor temperature range: -55 to 125C (but please stick to under 100C due to the PVC coating!)
  • 9 to 12-bit selectable resolution
  • Uses 1-Wire interface- requires only one digital pin for communication
  • 0.5C Accuracy from -10C to +85C
  • Temperature-limit alarm system
  • Query time is less than 750ms
  • Usable with 3.0V to 5.5V power/data

Resources

  • Maxim DS18B20 Datasheet(a good reference for these compatible versions)
  • Regulate Temperature with a Raspberry Pi Pico (thanks to Paulo for the link and excellent project)

Package Contents

  • 1x Waterproof DS18B20-Compatible Temperature Sensor

Resistor not included

Revision History

  • As of 24/08/2026: This product no longer includes a resistor in the bag (you may get one as we transition our stock)
    Add a Review

    Your email address will not be published. Required fields are marked *

    Related Products