Overview
The ADXL345 is a low-power, 3-axis MEMS accelerometer modules with both I2C and SPI interfaces. The Adafruit
Breakout boards for these modules feature on-board 3.3v voltage regulation and level shifting which makes them
simple to interface with 5v microcontrollers such as the Arduino.
The ADXL345 features 4 sensitivity ranges from +/- 2G to +/- 16G. And it supports output data rates ranging from 10Hz
to 3200Hz.
ADXL345 datasheet (https://adafru.it/c5e)
How it Works:
(https://adafru.it/c5f)MEMS - Micro Electro-Mechanical Systems
The sensor consists of a micro-machined structure on a silicon wafer. The structure is suspended by polysilicon
springs which allow it to deflect smoothly in any direction when subject to acceleration in the X, Y and/or Z axis.
Deflection causes a change in capacitance between fixed plates and plates attached to the suspended structure. This
change in capacitance on each axis is converted to an output voltage proportional to the acceleration on that axis.