Accelerometer (Raspberry Pi)

by piddlerintheroot in Circuits > Raspberry Pi

5924 Views, 4 Favorites, 0 Comments

Accelerometer (Raspberry Pi)

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

Parts

RPI 3 - https://amzn.to/2VA9pQY

4 Amp Power Adapter - https://amzn.to/2CTptWu

16GB micro SD - https://amzn.to/2SFMwd3

120 pcs jumper cable: https://ebay.to/2VAb9cY

ADXL345 Accelerometer: https://amzn.to/2TUEHjO

Setup

3v3 -> 3.3v

GND -> GND

SDA -> GPIO2

SCL -> GPIO3

Code

Downloads

Additional Info