Datasheet
Table Of Contents

Programming and Calibration
Install the Library:
Download the ADXL345 library (http://adafru.it/aZn) and install it. You will also need the
Adafruit Sensor Library (http://adafru.it/aZm) if you do not already have it installed.
This guide (http://adafru.it/aYM) will help you with the install process.
Test:
Click "File->Examples->Adafruit_ADXL345->sensortest" to load the example sketch from
the library.
Then click on the compile/upload button to compile and upload the sketch to the Arduino.
You should see output similar to below. Watch the values change as you move the board
around.
© Adafruit Industries https://learn.adafruit.com/adxl345-digital-accelerometer Page 9 of 17