PaulStoffregen / OneWire

Library for Dallas/Maxim 1-Wire Chips
http://www.pjrc.com/teensy/td_libs_OneWire.html
595 stars 390 forks source link

Changes to support RW1990 timing. #139

Open owenduffy opened 4 months ago

owenduffy commented 4 months ago

RW1990 needs longer recovery time to write new data.

This was originally developed as a means of detecting cloned iButtons for an access control application. If I try to write an invalid ID (eg bad CRC) to an iButton, then read it and I read a bad CRC I consider the iButton a clone and do not open the lock.

Operation was investigated using a DSO to observe pulse timing correlated with write success. Tested on three differently sourced RW1990, two different case markings.

Owen