ADXL345 Hookup Guide
The ADXL345 is a small, thin, low power, 3-axis MEMS accelerometer with high resolution (13-bit) measurement at up to +/-16 g. Digital output data is formatted as 16-bit two’s complement and is accessible through either an SPI (3- or 4-wire) or I2C digital interface.
This hookup guide will explore the various functions of the ADXL345 utilizing the SparkFun ADXL345 Arduino Library and example code. First, let’s get some background on this small yet powerful accelerometer.
As we step through the Hook Up Guide, you’ll find it useful to have the ADXL345 Datasheet on hand.
The wish list below includes all of the materials that will be utilized in this tutorial:
Note: If you plan on using the ADXL345 in I2C mode, you do not need to purchase the logic level converter from the list above.
If you’re not sure if this product is right for your needs, check out the Accelerometer, Gyro and IMU Buying Guide. Some additional resources that might be helpful in this process, especially if you are just started out, you can find here: