Testing with the Gemma! Previous testing showed that the fast vibration sensor would pick up movement and light an LED, while the slow vibration sensor didn't do anything unless I hit it.
All further testing was done using only the fast vibration sensor.
I connected the vibration switch as shown in the schematic posted for the Easter Bonnet tests ( http://www.element14.com/community/groups/wearable-technology/blog/2014/08/30/easter-bonnet-3--flashing-light-sequence ) and programmed the Gemma to light a NeoPixel LED for 1 second every time the vibration sensor was triggered.
I tested to make sure the sensor would trigger, but after it turned on, it would never turn off again. I was sure the vibration sensor was not continuing to trigger, as I could carry it around for minutes without the light turning on, but once it turned on, it stayed on.
There's probably something wrong with either the connection to the Gemma or the code.
Never mind -- it's good enough for now.
I tested to see whether the fast vibration sensor could detect a walking motion when carried around in my hands. Normal walking motion would not trigger the sensor, but I could trigger it by shaking the sensor.
I'll have to try sewing the sensor and Gemma onto a hat and see if that makes a difference. Maybe I'm masking the vibration of walking by carrying the circuit in my hands.