This is a waterproofed version of the DS18B20 Temperature 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. Because they are digital, you don’t get any signal degradation even over long distances! 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.Usable with 3.0-5.5V systems.
Because each DS18B20 contains a unique silicon serial number, multiple DS18B20s can exist on the same 1-Wire bus. This allows for placing temperature sensors in many different places. Applications where this feature is useful include HVAC environmental controls, sensing temperatures inside buildings,equipment or machinery, and process monitoring and control.
Features
- 9 to 12 bit selectable resolution.
- one digital pin for communication.
- Multiple sensors can share one pin.
- Query time is less than 750ms.
Specification
- 3.0V to 5.5V input.
- Temperature range: -55 to 125°C (-67°F to +257°F).
- ±0.5°C Accuracy from -10°C to +85°C.
- Red wire – VCC.
- Black wire – GND.
- Yellow wire – DATA.
- Stainless steel tube 6mm diameter by 30mm long.
- Cable length: 90cm.
Usage
Here, we will show how to use the waterproof temperature sensor (DS18B20) with your Arduino. This sensor uses the one wire protocol to talk with the microcontroller. So, it requires only one digital port to communicate.
Hardware
The sensor has 3 wires: red (VCC), black (GND) and white (DATA). Connect the red to +5V, the black to GND and the white to the digital pin D10. Then, put a 4.7kohm resistor between the white wire and the +5V.
Reference
- Datasheet (DS18B20)
- mbed Example
- Bildr Tutorial