5
DS18B20 Temperature Probe with Arduino By: Yeo Kheng Meng (yeokm1@gmai https://github.com/SustainableLivingLab/temp-probe artathon (20 Feb 2016) 1

DS18B20 Temperature probe with Arduino

  • Upload
    yeokm1

  • View
    350

  • Download
    1

Embed Size (px)

Citation preview

Page 1: DS18B20 Temperature probe with Arduino

1

DS18B20 Temperature Probe

with Arduino

By: Yeo Kheng Meng ([email protected])https://github.com/SustainableLivingLab/temp-probe-usageStartathon (20 Feb 2016)

Page 2: DS18B20 Temperature probe with Arduino

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

Page 3: DS18B20 Temperature probe with Arduino

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

Page 4: DS18B20 Temperature probe with Arduino

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

Page 5: DS18B20 Temperature probe with Arduino

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