Go Down

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

MWHM

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?

Thanks.

pylon

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.

Krodal

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/

Check out my site for DIY information: http://inventige.com

Go Up