TrojanC

Development and Guides

Arduinolearn-arduino

OneWire Devices List Arduino

Overview

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

Prerequisites

For this tutorial you need a device that uses the One Wire protocol like

Source Code

The source code for this project is available on my GitHub Repository.

Required Components

  • Arduino
  • DS18B20 (or equavalent)
  • 4.7K Resistor
  • Maybe a breadboard depending how your Temperature sensor is packaged

ONEWire_bb

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.

References

Leave a Reply

Your email address will not be published. Required fields are marked *