ds18b20 temperature probe with arduino
TRANSCRIPT
1
DS18B20 Temperature Probe
with Arduino
By: Yeo Kheng Meng ([email protected])https://github.com/SustainableLivingLab/temp-probe-usageStartathon (20 Feb 2016)
2
Equipment check1. Laptop installed with Arduino IDE• https://www.arduino.cc/en/Main/Software
2. Arduino Uno3. USB cable4. DS18B20 Temperature Probe 5. Breadboard6. 3 jumper wires
3
What is a DS18B20?• Waterproof temperature probe precise to ±0.5°C
• VCC (3V – 5V): Red• GND: Black/Grey/Blue• Data: Yellow/White• Requires 4.7k or 10k ohm resistor between VCC and Data
4
Connectivity with Arduino
• This is for the raw DS18B20 chip• For waterproof probe:
• VCC : Red• GND: Black/Grey/Blue• Data: Yellow/White• 4.7k/10k ohm resistor required between VCC and Data
5
Code• Download and extract zip file• https://github.com/yeokm1/temp-probe-usage• Remove “-master” from directory name• temp-probe-usage-master -> temp-probe-usage
• Open “temp-probe-usage.ino”• Try to verify/upload