Friday, May 14, 2010

ADXL345 Arduino Driver

I wrote a simple driver for the ADXL345 accelerometer on the Razor board.  The code provides read/write access to the registers on the device and allows you to change the bandwidth of the internal low pass filter.  This little chip has an in-depth interface with stream buffering, fall detection, bump detection, double click detection besides autonomous low pass filtering.  I have only scratched the surface here.

A simple test script is located in the examples directory.

No comments: