Introduction: Linkit One OneWire DS18B20

Picture of Linkit One OneWire DS18B20

Here a quick how to connect a DS18B20 Temperature sensor to your Linkit One board!

Step 1: Check Your Stuff

Picture of Check Your Stuff

What we need?

Shopping list:

  1. Linkit One board
  2. DS18B20 Sensor
  3. 4.7k resistor
  4. Breadboard
  5. Arduino IDE
  6. 20 minutes

Step 2: Get the Library

Picture of 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!

Picture of 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.

VCC---4.7k---DATA

Step 4: Let's Rock!

Picture of Let's Rock!

Now all you need is load a sample code and look at the magic in your favorite Serial Monitor!

Cheers!

Comments

RudiA4 (author)2017-01-04

Hi,

Have you been able to successfully read, say 3 or 4 DS18B20 sensors, and "address" them individually?

i.e. as example "inside temp", "outside temp" and "device temp"?

About This Instructable

1,046views

5favorites

License:

More by Stampa 3D Forum:Linkit One OneWire DS18B20Linkit One UUID4 Generator
Add instructable to: