Archives for June 2010

Sensor Library for Arduino

10 June 2010

As my final project for Joe Paradiso's sensors class, I created a sensors library for Arduino. It provides abstractions for some of the hardware peripherals on the ATmega328 microcontroller on the Arduino: timer 1, timer 2, and the analog-to-digital convertor (ADC). On top of these, it provides higher-level functionality like a sleep function and a function to sample the ADC at regular intervals. I'd eventually like to add something similar to the low-level hardware abstraction to the Arduino core and the class provided a good opportunity to test the capabilities of such an API.

If you're curious, you can read the overview of the library (pdf) or download the library itself: