Adafruit
High Temp Waterproof DS18B20 Digital Temperature Sensor - 3m long
This is a pre-wired and waterproofed version of the DS18B20 sensor made with a PTFE wire cable. Handy for when you need to measure something far away, or ...
Get notified when back in stock
This is a pre-wired and waterproofed version of the DS18B20 sensor made with a PTFE wire cable. Handy for when you need to measure something far away, or in wet conditions. This sensor is a little more expensive than the other waterproof version we have with a PVC cable because this one can be used up to 125°C - the limit of the sensor itself. That said, it's still not recommended for salt-water or corrosive environments since the stainless steel will eventually rust!
Because the sensor signal is digital, you don't get any signal degradation even over long distances! These 1-wire digital temperature sensors are fairly precise (±0.5°C over much of the range) and can give up to 12 bits of precision from the onboard digital-to-analog converter. They work great with any microcontroller using a single digital pin, and you can even connect multiple ones to the same pin, each one has a unique 64-bit ID burned in at the factory to differentiate them. Usable with 3.0-5.0V systems.
The only downside is they use the Dallas 1-Wire protocol, which is somewhat complex, and requires a bunch of code to parse out the communication. If you want something really simple, and you have an analog input pin, the TMP36 is trivial to get going.
You'll need a 4.7k resistor which is required as a pullup from the DATA to VCC line when using the sensor. Here's a CircuitPython/Python guide for these sensors. We don't have a detailed Arduino tutorial, but you can get started by using the Dallas Temperature Control Arduino library which requires also the OneWire Library.

Jargon buster
Plain-language definitions for the technical terms used above.
- 1-Wire
- 1-Wire is a communication method where devices share a single data line, often with each device having its own address. It matters because several temperature modules can be connected to one microcontroller pin instead of needing a separate pin for each probe.
- DS18B20
- The DS18B20 is a common digital temperature sensor, often supplied in a waterproof stainless-steel probe, that sends its readings to a microcontroller over a 1-Wire connection. It is a typical choice for adding temperature data to environmental or water-monitoring projects.
- microcontroller
- A microcontroller is a small computer on a single chip that runs a stored program and controls connected inputs and outputs such as buttons, sensors, displays and communication interfaces. In a device built around one, it is the part that executes the code and coordinates the device's behaviour.
Find this product in
Brands
Related Tutorials
Free guides on learn.littlebird.com.au