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
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
almost 12 years ago
· 20 commits
- apds9960 Added simple sketch for APDS-9960 on MicroView about 12 years ago
- cap_keypad changes for cap keypad and temp sensor almost 12 years ago
- DS18B20 changes for cap keypad and temp sensor almost 12 years ago
- HMC5883L add compass almost 12 years ago
- HTU21D a bunch of updates for flex, photogate, pir. adds cap keypad about 12 years ago
- INMP401 add microphone almost 12 years ago
- ir_photogate a bunch of updates for flex, photogate, pir. adds cap keypad about 12 years ago
- ir_proximity add simple ir proximity about 12 years ago
- itg3200 itg 3200 gyro almost 12 years ago
- light add cds cell light sensor about 12 years ago
- maxbotix_ez1 initial commit with maxbotix sonar ex about 12 years ago
- MLX90614 add two tmp sensors about 12 years ago
- MMA8452 a bunch of updates for flex, photogate, pir. adds cap keypad about 12 years ago
- mpl3115a2 add mpl3115a2 pressure sensor about 12 years ago
- pir a bunch of updates for flex, photogate, pir. adds cap keypad about 12 years ago
Project Guides
Step-by-step builds that use this part
Related Tutorials
Free step-by-step guides
You might also like
Customers who bought this also bought
Kitronik Alarm Clock Kit with ZIP Halo HD for micro:bit
$88.85
940nm IR Infrared and Receiver LED
$1.20
Waterproof DS18B20 Digital temperature sensor + extras
$22.15
Waterproof DS18B20 Digital Temperature Sensor For Arduino
$10.65
0.1 2x20-pin Strip Right Angle Female Header
$3.35
Adafruit PT100 RTD Temperature Sensor Amplifier - MAX31865
$32.25
Stacking Header for Pi A+/B+/Pi 2/Pi 3 - 2x20 Extra Tall Header
$5.90
CrowPanel 5.0"-HMI ESP32 Display 800x480 RGB TFT LCD Touch Screen with Case
$71.30
Jargon buster
Plain-language definitions for the technical terms in the product description.
- 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.