Go Down

Topic: Using MMA8452Q accelerometer as a shock detector. (Read 2314 times) previous topic - next topic


Hello all,

I bought an Triple Axis Accelerometer Breakout - MMA8452Q from sparkfun. I need it to detect a shock. Can anybody help me out with code on how to do it?



Define what a shock is in your nomenclature. The device is able to sense accelerations up to 8g, a shock is usually in the hundreds to thousands of g.


Talking about 'shock', I was told that if someone hits accidently a door post with his head, the head gets a shock of 100 g.


This is a good example of tap motions: http://www.inventige.com/tutorial-sensing-tap-motion-with-the-mpu6050-600/

Go Up