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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
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