December 2017
Intermediate to advanced
296 pages
5h 56m
English
The first thing to note about the hardware setup is that it is big and bulky. This is only a POC and is not even a remotely close production setup. The hardware setup would consist of an accelerometer connected to Raspberry Pi 3 and a 16X2 LCD.
The accelerometer ADXL345 gives the acceleration of X, Y, and Z axis over I2C protocol.
Connect the hardware as follows:

As you can see in the preceding schematic, we have made the following connections:
|
Raspberry Pi number - Pin name |
16x2 LCD Pi name |
|
6 - GND - Breadboard rail 1 |
1 - GND |
|
2 - 5V - Breadboard rail 2 |
2 - VCC |
|
1 k Ohm ... |