SparkFun
Temperature Sensor - Waterproof (DS18B20)
This sealed digital temperature probe lets you precisely measure temperatures in wet environments with a simple 1-Wire interface. The DS18B20 provides 9 t...
Get notified when back in stock
This sealed digital temperature probe lets you precisely measure temperatures in wet environments with a simple 1-Wire interface. The DS18B20 provides 9 to 12-bit (configurable) temperature readings over a 1-Wire interface, so that only one wire (and ground) needs to be connected from a central microprocessor.
Note: The pinout for this sensor is as follows: RED=Vcc BLACK=GND WHITE=SIG
Dimensions: Probe is 7mm in diameter and roughly 26mm long. Overall length (including wire) is 6 feet.
Features:
- 3.0-5.5V input voltage
- Waterproof
- -55°C to+125°C temperature range
- ±0.5°C accuracy from -10°C to +85°C
- 1 Wire interface
Documents:
- Datasheet (DS18B20)
- Simple Sketch Code
- mbed Example
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.
- GND
- GND is the ground or reference connection (0 V) for a circuit. When connecting two devices together, their grounds must be joined so both agree on what counts as a low or high signal.
- VCC
- VCC is the positive power-supply connection on a chip or module. Connecting it to the correct supply voltage is needed for the part to power on and helps avoid damaging the electronics.
Find this product in
Brands
DS18B20 Datasheet
Datasheet · 389.6 KB · Click any page to view full size
Supplier page — sparkfun.com
Supplier Description · 710.2 KB · Click any page to view full size
Source Code
Open-source libraries, firmware & example projects for this product
Simple Sketches
8289da1
over 11 years ago
· 20 commits
- apds9960 Added simple sketch for APDS-9960 on MicroView over 11 years ago
- cap_keypad changes for cap keypad and temp sensor over 11 years ago
- DS18B20 changes for cap keypad and temp sensor over 11 years ago
- HMC5883L add compass over 11 years ago
- HTU21D a bunch of updates for flex, photogate, pir. adds cap keypad over 11 years ago
- INMP401 add microphone over 11 years ago
- ir_photogate a bunch of updates for flex, photogate, pir. adds cap keypad over 11 years ago
- ir_proximity add simple ir proximity over 11 years ago
- itg3200 itg 3200 gyro over 11 years ago
- light add cds cell light sensor over 11 years ago
- maxbotix_ez1 initial commit with maxbotix sonar ex over 11 years ago
- MLX90614 add two tmp sensors over 11 years ago
- MMA8452 a bunch of updates for flex, photogate, pir. adds cap keypad over 11 years ago
- mpl3115a2 add mpl3115a2 pressure sensor over 11 years ago
- pir a bunch of updates for flex, photogate, pir. adds cap keypad over 11 years ago
Project Guides
Step-by-step builds that use this part
Related Tutorials
Free guides on learn.littlebird.com.au