DS18B20 Digital Temperature Prewired Cable
Precision Microcontroller Ready Temperature Sensor Cable Assembly
The DS18B20 is a precision 1-wire digital temperature sensor (±0.5°C over much of the range). It works with any microcontroller and requires only one data pin.
Each sensor has a unique 64-bit ID factory embedded, allowing multiple units to reside on a single data pin and read using software to differentiate each.
Reading the data from the sensor does require coding of the 1-Wire protocol and can be complex. There are several libraries for Arduino and Raspberry Pi available, depending on your requirements. See our dedicated page on using the DS18B20 with an Arduino, complete with connection information along with coding examples.
Each DS18B20 sensor does require an external 4.7k resistor between the data (DQ) and Vdd leads. We have resistors available separately.
DS18B20 Prewired Cable Pinout

Each DS18B20 consists of three leads
- Red wire for Power (Vdd)
- Black wire for Ground (GND)
- Yellow wire for Data (DQ)
This cable is prewired and waterproofed (with heat shrink) version of the DS18B20 sensor. Handy for when you need to measure something far away, or in wet conditions. While the sensor is good up to 125°C the cable is jacketed in PVC so we suggest keeping it under 100°C.
Technical Specifications:
- Usable temperature range: -55 to 125°C (-67°F to +257°F)
- 9 to 12-bit selectable resolution
- Uses 1-Wire interface- requires only one digital pin for communication
- Unique 64 bit ID burned into chip
- Multiple sensors can share one pin
- ±0.5°C Accuracy from -10°C to +85°C
- Temperature-limit alarm system
- Query time is less than 750ms
- Usable with 3.0V to 5.5V power/data
- DS18B20 Datasheet (PDF Document)
Premade 1m and 2m Waterproof Extension Cables
We also have available premade 1m (39-inch) and 2m (78-inch) sensor cables. Each cable has a DS18B20 sensor in waterproof stainless steel tube housing.
Also available are individual DS18B20 sensors allowing you to design your own sensor solutions.
DS18B20 Simple Arduino Interfacing
See our dedicated page on using the DS18B20 with an Arduino, complete with connection information along with coding examples.

| Light Packet | |
| Package Type | Light Packet |
DS18B20 Waterproof Prewired Cable
- Product Code: DS18B20 Cable
- Availability: In Stock
- Light Packet Shipping Eligible
-
$2.10 USD
Available Options
Related Products
DS18B20 Temperature Sensor
DS18B20 Digital Temperature Sensor Precision Microcontroller Ready Temperature Sensor The DS18..
$1.40 USD
Tags: DS1820



