Filling out our accelerometer offerings, we now have the really lovely digital ADXL345 from Analog Devices, a triple-axis accelerometer with digital I2C and SPI interface breakout. We added an on-board 3.3V regulator and logic-level shifting circuitry, making it a perfect choice for interfacing with any 3V or 5V microcontroller such as the Arduino.
The sensor has three axes of measurements, X Y Z, and pins that can be used either as I2C or SPI digital interfacing. You can set the sensitivity level to either +-2g, +-4g, +-8g or +-16g. The lower range gives more resolution for slow movements, the higher range is good for high speed tracking. The ADXL345 is the latest and greatest from Analog Devices, known for their exceptional quality MEMS devices. The VCC takes up to 5V in and regulates it to 3.3V with an output pin.
Fully assembled and tested. Comes with 9 pin 0.1" standard header in case you want to use it with a breadboard or perfboard. Two 2.5mm (0.1") mounting holes for easy attachment.
Get started in a jiffy with the Adafruit Arduino library for the ADXL345! Simply connect the VIN pin to 3-5V power, GND to ground, SCL to I2C clock (also known as A5 on an UNO), SDA to I2C data (aka A4 on UNO). Then download the library and uncompress it. Rename the folder inside Adafruit_ADXL345 and check it contains a .cpp and .h file. Place the folder into your Arduino libraries folder. Check out our tutorial about libraries if its your first library installation.
ADXL345 - Triple-Axis Accelerometer (+-2g/4g/8g/16g) w/ I2C/SPI (16:05)