ADXL343 - Triple-Axis Accelerometer (+-2g/4g/8g/16g) w/ I2C/SPI

by Adafruit

Analog Devices has followed up on their popular classic, the ADXL345, with this near-drop-in-replacement, the ADXL343.

Like the original, this is a triple-axis accelerometer with digital I2C and SPI interface breakout. It has a wide sensitivity range and high resolution, operating with an 10 or 13-bit internal ADC. Built-in motion detection features make tap, double-tap, activity, inactivity, and free-fall detection trivial. There's two interrupt pins, and you can map any of the interrupts independently to either of them.

The ADXL343 is nearly identical in specifications to the ADXL345, and code written for the '345 will likely work on the '343 as-is. This new accelerometer has some nice price improvements to stay within your budget.

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 ADXL343 is the latest and greatest from Analog Devices, known for their exceptional quality MEMS devices.

Adafruit 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. They've got 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 (the CircuitPython library support helper).

As if that weren't enough, they'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!

Thanks to Digi-Key and Analog Devices for sponsoring the development of this breakout board - Adafruit have made the PCB "Digi-Key red" in their honor!

Technical Details

Revision History:

  • As of Wednesday, March 2nd, 2022, this board now comes in STEMMA QT format. Functionality and schematic remains the same, physical shape has changed to make it plug-and-play, much easier to use with no soldering required!

Datasheets, EagleCAD PCB files and Fritzing object available in the product tutorial

Technical Characteristics

  • 3-axis MEMs digital accelerometer
  • Input voltage: 2.0-3.6 V
  • User-selectable output resolution:
    • +/- 2 g (10-bit data, or +/- 512)
    • +/- 4 g (11-bit data, or +/- 1024)
    • +/- 8g (12-bit data, or +/- 2048)
    • +/- 16 g (13-bit data, or +/- 4096)
  • User-selectable data rate (0.1 .. 3200 Hz)
  • Hardware support for free-fall detection, tap detection, and activity/inactivity
  • HW support for both I2C and SPI, although I2C is recommended for ease of use.