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

nel_h2
Secure User Management, Made Simple | Frontegg Icon
Secure User Management, Made Simple | Frontegg

Get 7,500 MAUs, 50 tenants, and 5 SSOs free – integrated into your app with just a few lines of code.

Frontegg powers modern businesses with a user management platform that’s fast to deploy and built to scale. Embed SSO, multi-tenancy, and a customer-facing admin portal using robust SDKs and APIs – no complex setup required. Designed for the Product-Led Growth era, it simplifies setup, secures your users, and frees your team to innovate. From startups to enterprises, Frontegg delivers enterprise-grade tools at zero cost to start. Kick off today.
Start for 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