They come in different types - the SW18010P is pretty sensitive.
It's dead simple, but it works well. The great thing is that because it's mechanical, it doesn't draw any power at all. Espruino can stay in low power sleep until there's movement.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Try this one: http://www.espruino.com/Vibration
They come in different types - the SW18010P is pretty sensitive.
It's dead simple, but it works well. The great thing is that because it's mechanical, it doesn't draw any power at all. Espruino can stay in low power sleep until there's movement.