-
Notifications
You must be signed in to change notification settings - Fork 0
A hot-plug capable ds1621 temperature sensor library for the AVR
License
mbs38/ds1621avr
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
AVR library to get readings from up to 8 of Maxim Integrated's DS1621 TWI temperature sensors. The DS1621 can only perform about 2 conversions per second, therefore it seemed to be a good idea to assign the TWI communication with a pretty low priority within the AVR. I decided to use interrupt flag polling rather than ISRs which is only possible because the AVR is the master device on the TWI bus. The library is hot-plug capable and adding or removing sensors from the bus is possible at all times. The library does not contain any hazardous while loops that wait for some external signal to arrive, like many other TWI libraries do. Features: now includes a usage example supports hot-plugging supports up to 8 sensors reads count_remain and slope registers for higher accuracy supports negative temperature values uses the AVR's hardware TWI-interface
About
A hot-plug capable ds1621 temperature sensor library for the AVR
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published