I think a vibration sensor may work better in this case, and there are examples.