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, 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

  • supports hot-plugging
  • supports up to 8 sensors
  • reads count_remain and slope registers for higher accuracy
  • supports negative temperature values
  • uses the avrs hardware TWI-interface

Project Activity

See All Activity >

Follow ds1621avr

ds1621avr Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ds1621avr!

Additional Project Details

Registered

2015-10-07