Accelerometer (ADXL345)

Posted on Dec 10 2017 - 8:47am by piddler

Basic tutorial of how to setup a ADXL345 Accelerometer with the Raspberry Pi.

PARTS:
RPI 3 – https://goo.gl/CdVNoH
4 Amp Power Adapter – https://goo.gl/js4Uc7
16GB Micro SD – https://goo.gl/FDqZal
120 pcs jumper cable: https://goo.gl/spWoaC
ADXL345 Accelerometer: https://goo.gl/h3g2R1
(ALT) ADXL345 Accelerometer: https://goo.gl/rgkBEr

SCHEMATIC:

CODE:

GITHUB LINK: https://github.com/adafruit/Adafruit_Python_ADXL345

Slightly Modified Script: