An arduino library to communicate using the Dallas one-wire protocol, where the Arduino takes the role of a slave. Implementation of a DS2413 on Arduino UNO and ATTINY85
Go to file
IanF d698f10a08 Upload files to ''
Added support for attiny85  at 16mhz.

Attiny85 fuses settings and OSCCAL calibration are required to meet the OneWire timing specifications
2018-12-10 09:52:46 +01:00
.vscode added vscode configuration 2018-04-01 11:13:02 +02:00
examples/FakeDS18B20 updated documentation to match latest version of code 2018-04-01 12:05:52 +02:00
extras updated documentation to match latest version of code 2018-04-01 12:05:52 +02:00
src updated documentation to match latest version of code 2018-04-01 12:05:52 +02:00
comptime.h Upload files to '' 2018-12-03 20:44:06 +01:00
FakeD2413.ino Upload files to '' 2018-12-03 20:44:06 +01:00
keywords.txt rearange as arduino-lib 2016-03-18 13:05:43 +01:00
library.properties rearange as arduino-lib 2016-03-18 13:05:43 +01:00
LICENSE documentation improvements 2018-04-01 11:10:22 +02:00
LowLevel.h Upload files to '' 2018-12-10 09:52:46 +01:00
OneWireSlave.cpp Upload files to '' 2018-12-10 09:52:46 +01:00
OneWireSlave.h Upload files to '' 2018-12-10 09:52:46 +01:00
README.md updated documentation to match latest version of code 2018-04-01 12:05:52 +02:00

OneWireArduinoSlave

An arduino library to communicate using the Dallas one-wire protocol, where the Arduino takes the role of a slave. Entirely implemented using interrupts, you can perform other tasks while communication is handled in background.

1-wire introduction

1-wire allows communication over long distances (100m and more, see Dallas documentation for details) with a single wire (plus a ground wire). You can put as much devices as you want on the same wire (they communicate one at a time). 1-wire also allows to send power over the data wire (parasitic power), but, though I haven't tried, I don't believe it would work with an Arduino. You'll need a separate 5V power source, which, if it comes next to your data wire, means you need 3 wires (5V, data, and ground). You'll also need a master controller, for example the USB adapter DS9490R, to connect to a computer, that will control communication with all 1-wire devices.

How to use this library

Take a look at the documentation of the library