The ADXL345 is a small, thin, low-power, 3-axis accelerometer with high resolution (13-bit) measurement at up to ±16g [1, 2].
- ADXL345 Accelerometer
- Arduino
- Jumper Wires
- Power Supply / Data Cable
Connection Diagram:
Before you upload the code library needs to be installed. Please follow the below-mentioned instructions to install the library.
https://creativestudio1973.blogspot.com/2019/11/introduction-to-arduino-library-manager.html
Source Code:
Video:
Reference:
[1] https://www.analog.com/en/products/adxl345.html#part-details
[2] https://www.analog.com/media/en/technical-documentation/data-sheets/adxl345.pdf