Intro: Linkit One OneWire DS18B20
Here a quick how to connect a DS18B20 Temperature sensor to your Linkit One board!
Step 1: Check Your Stuff
What we need?
- Linkit One board
- DS18B20 Sensor
- 4.7k resistor
- Arduino IDE
- 20 minutes
Step 2: Get the Library
The DS18B20 use the 1-Wire protocol and we need a library to implement it!
The default library doesn't work with the Linki One Board, so you need to download THIS modified version!
So all you need to do is importing it in your Arduino IDE!
Step 3: Wire It UP!
It's Really Easy !
VCC - 3.3v
GND - GND
DATA - D10 (any digital pin work)
And place the 4.7Kohm resistor from VCC to DATA Pin.
Step 4: Let's Rock!
Now all you need is load a sample code and look at the magic in your favorite Serial Monitor!