forked from IanF/OneWireArduinoSlaveATTINY85
IanF
6 years ago
1 changed files with 4 additions and 4 deletions
@ -1,8 +1,8 @@
|
||||
# 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. |
||||
Notes |
||||
|
||||
## How to use this library |
||||
Take a look at [the documentation of the library](extras/documentation.md) |
||||
Added support for the attiny85 patform at 16mhz |
||||
|
||||
Included a OneWireSlave implementation of a DS2413 (FakeDS2413) for both the ATMEGS328 and ATTINY85 platforms |
||||
|
Loading…
Reference in new issue