1-Wire devices have a master / slave relationship, where the 1-Wire controller is the "master" and devices like the DS18x20 temp sensors are the "slaves".
The OneWire library makes it possible to use the Arduino as a 1-Wire controller (several threads here discuss interrogating 1-Wire temp sensors). Has anyone tried coding for the opposite way around ? Ie making the micro emulate a 1-Wire slave device?
I have an existing 1-Wire microLan with many different types of slave devices attached. But sometimes I need some more intelligence than the Dallas chips provide. It would be really neat to have an Arduino emulate one of the Dallas chips.
Has anyone had a crack at this? Starting from scratch is a bit scary!
This would be really nice, I'm building a 1-wire network and it's a pity I couldn't use Arduinos as slave devices.
However you could use a DS2408 that have 8 I/O pins and hook them to the Arduino. For many applications even 4 could be enough
Himm. Are you sure about there is no OW Slave code for Arduino? :o
I don't expect that. Now working on serialize GLCD library via i2c, I wanted to support OneWire protocol at my GLCD backpack device too.
:-/ Anyway. I implement OneWire Slave protocol to PIC16F628 with ASM (because of using 4Mhz IntOSC = 1MIPS), It looks I needed reimplement samething to arduino, but this time with C...