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
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
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