Accelerometer (Raspberry Pi)

by piddlerintheroot in Circuits > Raspberry Pi

4580 Views, 4 Favorites, 0 Comments

Accelerometer (Raspberry Pi)

adxl345.png

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

Parts

vlcsnap-4452-09-07-21h35m24s760.png

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

scheem.PNG

3v3 -> 3.3v

GND -> GND

SDA -> GPIO2

SCL -> GPIO3

Code

vlcsnap-3167-12-05-02h32m15s586.png

Downloads

Additional Info

vlcsnap-piddler.png
Accelerometer (Raspberry Pi)