1-Wire Slave

@MGeo: Reply #9 was a question for you...

At 16 MHz, the worst case time in the millis interrupt service routine is 7.3125 microseconds. Because of the latency the millis ISR can introduce, occasionally a write-one will start past the end of the write synchronization pulse (6 microseconds) but the write-one should still start before the sample point (15 microseconds). Which raises a few more questions...

  1. What do you plan to turn into a 1-Wire slave device? (e.g. I want to make a servo controllable through 1-Wire)

  2. Which libraries do you intend to use?

  3. Do you plan to make use of any interrupts?

  4. On your slave device, would crippling millis / micros cause problems? Consider this question carefully. There are potentially hidden implications (like delay not working).

  5. In your 1-Wire master code, do you read and verify the CRC? Do you discard responses with an invalid CRC?