Hi all,
I need some help with this problem. I want to detect when an object hits a device (which has an accelerometer built in) that's resting on a table. The hit/strike, say by a ball, causes a fast spike in the Z values and if the hit is in the center, very little y or x movement occurs. The problem I am facing is how to differentiate between a normal ball strike, and a bump of the table or a even a placing of a glass on the table which causes a vibration. Intuitively I think the ball strike will be faster and a different wave length that a table side bump or placing a object down hard on the table.
I can detect when a strike hits the edge of the device , large x and y values occur with some z, but the key is how to I detect a good hit, i.e. as close to the center as possible and not record a false positive by actions/vibrations that are not hitting the device at all?
Pete