Reading the Values manually from the ADXL module

A project log for DriveSense

A Raspberry Pi used to make a system that would alert a drowsy driver that he is falling asleep using OpenCV image recognition.

AryanAryan 07/27/2019 at 14:000 Comments

Using the smbus module, and the help of my dad, I was able to get the acceleration from the module without using an external library. For some reason I wasn't able to find an online refrence for using the Interrupt pins on the ADXL module. So afr I'm getting value but some problem causes it to give me impossible values.

Fun fact: if that right most value was real we would all be flattened against the surface of the Earth.

I need to fix that