“Your Robotic Solution”
www.mybotic.com.my
DS18B20 Water Proof Temperature Sensor
User’s Manual V1.0
1|Page
Contents 1.
Introduction ............................................................................................................................. 3
2.
Pin Definitions.......................................................................................................................... 4
3.
Sample Hardware Installation and Sample Source SCode ...................................................... 5
4.
Result ....................................................................................................................................... 6
5.
Warranty .................................................................................................................................. 8
2|Page
1. Introduction DS18B20 Water Proof Temperature Sensor is the water proof temperature sensor which is able to measure the temperature in liquid. It provides 9 to 12–bit centigrade temperature measurements and has an alarm function with nonvolatile user-programmable upper and lower trigger points. The DS18B20 communicates over a 1-Wire bus that by definition requires only one data line (and ground) for communication with a central microprocessor. It has an operating temperature range of –55°C to +125°C and is accurate to ± 0.5°C over the range of –10°C to +85°C. Specification:
Operating Voltage : 3.0 - 5 VDC Unique 1-Wire interface requires only one port pin for communication Measured temperature Range: –55°C to +125°C (–67°F to +257°F) Accuracy: ±0.5°C accuracy from –10°C to +85°C
3|Page
2. Pin Definitions
GND
DATA
VCC
Pin GND
Description Ground
Function Connect to Ground
DATA
One Wire Communication
Able to transfer clock and data. The transferring of data is bidirectional. Transfer the temperature data to microcontroller.
VCC
+3.3V ~ +5V
Connect to +3.3V ~ +5V
4|Page
3. Sample Hardware Installation and Sample Source Code Diagram below shows the hardware connection between DS18B20 Water Proof Temperature Sensor and Arduino UNO. Besides Arduino, it may interface with any microcontroller such as PIC and etc.
DATA Pull up Resistor and Arduino Pin 7 VCC Arduino 5V GND Arduino GND
4.7k Resistor
To obtain the result, please get the sample source code and burn it into Arduino. 5|Page
4. Result 1. Before putting DS18B20 Water Proof Temperature Sensor into water, its temperature is around 31 Celsius (Room Temperature).
2. The temperature increased when the DS18B20 Water Proof Temperature Sensor was dipped into hot water.
6|Page
3. The temperature decreased when the DS18B20 Water Proof Temperature Sensor was dipped into cold water.
7|Page
5. Warranty
Product warranty is valid for 6 months. Warranty only applies to manufacturing defect. Damaged caused by misuse is not covered under warranty. Warranty does not cover shipping cost for both ways.
Prepared by Mybotic 4, Jalan Universiti 3, Taman Universiti, 86400, Parit Raja, Johor Tel: +6016-7170703 / +6018-9510703 URL : www.mybotic.com.my Email :
[email protected] [email protected] 8|Page