How can I detect Huge Acceleration/Brake with MMA8653 accelerometer?
Hello Anish Kumar,
You could identify the acceleration changes using the data registers of the device.
Note that the MMA8653 device has embedded functionalities which might help detecting the events that you mentioned. Freefall is detected when the acceleration magnitude is less than the configured threshold.
A huge acceleration/brake will generate a ‘spike’ on the data register that can be identified as below:
You can use the example project bellow as a reference for your project:
MMA8652FC - Bare metal example project
I hope this information helps.
Best Regards,
David