It also gives the user the ability to explore the following customizable features: tap/double tap detection, acvitivty/inactivity monitoring, and free fall detection. This Arduino library allows for both SPI or I2C communication. Its high resolution (4 mg/LSB) enables measurement of inclination changes less than 1.0 degrees.
The ADX元45 is well suited to measures the static acceleration of gravity in tilt-sensing applications, as well as dynamic acceleration resulting from motion or shock. Digital output data is formatted as 16-bit twos complement and is accessible through either a SPI (3- or 4-wire) or I2C digital interface. The ADX元45 is a small, thin, low power, 3-axis MEMS accelerometer with high resolution (13-bit) measurement at up to +-16 g. SparkFun Triple Axis Accelerometer Breakout - ADX元45 You will also be able to calibrate the ADX元45 whenever necessary as shown in the example. It is fairly reasonable to use and straight forward. Using this Arduino Library, you have the option of using either SPI or I2C to communicate with the ADX元45. Sparkfun's I2C/SPI Arduino Library for ADX元45