-
Notifications
You must be signed in to change notification settings - Fork 20
Home
This is 1wire slave code for AVR microcontrollers.
The core code implements the basic 1wire discovery methods.
Code size is about 3k; some of that size is due to GCCs inability to deal with 8-bit integers sanely.
Overdrive speed is not yet implemented.
The 64-bit ID (actually an 48-bit ID because family code and CRC are fixed) is read from EEPROM. A small tool to generate the EPROM CRC is included.
NOTE: It appears that Dallas Semiconductor doesn’t like people who implement 1wire slaves in software.
On the other hand, they do discontinue ICs like the DS2423 counter for which no substitute exists.
Therefore, while I cannot prevent people from doing whatever they want, simulations of existing ICs will only be entered into this project’s repository if the ICs are no longer available or (at the very least) “not recommended for new design”. Sorry if you want more, but IMHO this is the best compromise between practical and legal considerations.