This breakout module is triple-axis accelerometer based on ADXL345 with digital I2C and SPI interfacing.
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.
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