The ADXL345 is a small, thin, low power, 3-axis accelerometer with high resolution (13-bit) measurement at up to ±16 g. Digital output data is formatted as 16-bit twos complement and is acces-sible through either a SPI (3- or 4-wire) or I2C digital interface.
The ADXL345 is well suited for mobile device applications. It measures the static acceleration of gravity in tilt-sensing appli-cations, as well as dynamic acceleration resulting from motion or shock. Its high resolution (4 mg/LSB) enables measurement of inclination changes less than 1.0°.
Several special sensing functions are provided. Activity and inactivity sensing detect the presence or lack of motion and if the acceleration on any axis exceeds a user-set level. Tap sensing detects single and double taps. Free-fall sensing detects if the device is falling. These functions can be mapped to one of two interrupt output pins. An integrated, patent pending 32-level first in, first out (FIFO) buffer can be used to store data to minimize host processor intervention.
Low power modes enable intelligent motion-based power management with threshold sensing and active acceleration measurement at extremely low power dissipation.
Arduino libraries, for example, are available from companies like Adafruit or Sparkfun.
Ultralow power 40μA in measurement mode Ultralow power 0.1μA in standby mode (at VS = 2.5 V) Power consumption scales with bandwidth User-selectable resolution Embedded FIFO technology minimizes host processor load Tap/double tap detection Activity/inactivity monitoring Free-fall detection Supply voltage range: 2.0 V to 3.6 V I/O voltage range: 1.7 V to VS SPI or I2C digital interfaces Flexible interrupt modes mappable to either interrupt pin Measurement ranges selectable via serial command Bandwidth selectable via serial command Wide temperature range (−40°C to +85°C) 10,000 g shock survival 21 x 15.5 x 3.5mm 8-pin male header included