Filling out Adafruit's 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.

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 or computer, such as Arduino or Raspberry Pi.

There are both Arduino (C/C++) and CircuitPython (Python 3) libraries available, so you can use it with any microcontroller like Arduino, ESP8266, Metro, etc. or with Raspberry Pi or other Linux computers thanks to Blinka (our CircuitPython library support helper).

As if that weren't enough, we've also added SparkFun qwiic compatible STEMMA QT connectors for the I2C bus so you don't even need to solder. Just wire up to your favorite micro with a plug-and-play cable to get accelerometer data ASAP. For a no-solder experience, just wire up to your favorite micro using a STEMMA QT adapter cable. 

The Stemma QT connectors also mean the ADXL can be used with our various associated accessories.QT cable is not included, but we have a variety in the shop

Each order comes with a fully tested and assembled breakout and some header for soldering to a PCB or breadboard. Comes with 0.1" standard header in case you want to use it with a breadboard or perfboard. Four 2.5mm (0.1") mounting holes for easy attachment. You'll be up and running in under 5 minutes

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

How it Works

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.

There are two versions of this board - the STEMMA QT version shown above, and the original header-only version shown below. The code works the same on both!

This guide was first published on Mar 26, 2013. It was last updated on 2022-04-05 19:00:03 -0400.

This page (Overview) was last updated on Aug 10, 2022.

Text editor powered by tinymce.