SparkFun Forums 

Where electronics enthusiasts find answers.

General project discussion / help
Did you make a robotic coffee pot which implements HTCPCP and decafs unauthorized users? Show it off here!
By sonnyangell
#200291
Hello!

Need some brainstorming help with this one.

Im making a circuit that will be attached to a boot, and simply flash bright like a camera flash. it should flash when the person stomps.

1 - Can the WakeonShake board handle a force like a stomp.. and not wake on regular steps? The datasheet says I can adjust the threshold, but were
not talking tapping the glass of a display..I see it can handle up to "+8g"

2 - I can settle for bright white LEDs, Or should I use a 12V LED

3 - I see the max voltage the WoS can output is 15v that should be enough. Does the WoS truly output a max of 15V?

4 - When I connect the WoS to a computer via the serial/USB hookup, do I need a certain software to edit the code?

Most of all, is this a good circut idea for this installation? Maybe someone else has a better idea?

-Sonny
By Valen
#200360
No need to make duplicate threads. Please remove the other one or ask a moderator to do it. It causes more confusion if replied to in multiple places.

1. I don't know how many (m)Gs a stomp is. The sensor itself should not break until around 5000G. I'm pretty confident that your whole setup wil fail before that. Certainly your foot. At worst your stomp G-spike will be out of the measurement range and clipped to the maximum reading. But measuring the actual peak does not seem to be important for you. Just registering the bump in the noise of walking/brushing against something is what you want. I don't know how to quantify that. I'd say experiment.

2. The WakeOnShake board is powered through the same power inputs/JST connector. Which takes at most 5.5 volt. Which would light up white leds when arranged in parallel. But not a bunch of leds arranged in series for 12 volt. Applying 12 volts to the power inputs would damage it.

3. Where did you read that? Product decription and Hookup guide only mentions up to 5 volt or so. More damages it.

4. Demo code is an arduino sketch (for on the attached Arduino). Read through the Hookup guide for an example how to use it. Sending commands to the WakeOnShake can be done with the Arduino Serial monitor or programs like Putty or Terminal or whatever.