Harash driving detection

cancel
Showing results for 
Search instead for 
Did you mean: 

Harash driving detection

186 Views
Contributor I

How can I detect Huge Acceleration/Brake with MMA8653 accelerometer?

0 Kudos
1 Reply

17 Views
NXP Employee
NXP Employee

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:

pastedImage_1.png

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  

0 Kudos