This tutorial will introduce you to one wire devices. In a follow up post we will go into more detail by using a temperature sensor
For this tutorial you need a device that uses the One Wire protocol like
The source code for this project is available on my GitHub Repository.
- DS18B20 (or equavalent)
- 4.7K Resistor
- Maybe a breadboard depending how your Temperature sensor is packaged
Running the code
git pull https://github.com/trojanc/learn-arduino cd learn-arduino/onewire-list platformio init platformio run
For more information about this code, see the README in the GitHub Repository.