Has Gunnery Sergeant Hartman (Full Metal Jacket) says during the riffle pray “There are many like it, but this one is mine”
Remove these ads by
Signing UpStep 1Material
Indeed there is many project like available on internet.
This one use a tilt switch as trigger
1 x Arduino board (http://shop.snootlab.com/lang-en/arduino/68-arduino-duemilanove.html)
7 x 500 ohms resitors ¼ W
7 x basic red leds
1 x 10 k ohms resitors ¼ W
1 x tilt switch (I use this one http://shop.snootlab.com/lang-en/parts/96-tilt-sensor.html)
A piece of prototyping board plated holes
Male header (0,1") 1 row, 40 pins (need only 28 for complet arduino connexion , and realy need 10 for this project) http://fr.mouser.com/ProductDetail/FCI/68004-236/?qs=sGAEpiMZZMtsLRyDR9nM10aphOtlQBeldG%252bobNTQj6E%3d
Tools
A PC to program the arduino
An soldering iron
Some tin
A cutter
| « Previous Step | Download PDFView All Steps | Next Step » |







































If you put a motor, you have to use a REED switch (http://uk.mouser.com/ProductDetail/MEDER-electronic/KSK-1C90U-2034/?qs=Gn6sDDtUhEnntk6ouTT%252bgA%3d%3d), a hall effect sensor (http://www.sparkfun.com/products/9312) and magnet. You can also use a led + photo transistor .
A last point, if you use a motor with really high speed, the code can fail because it doesn’t use interruptions...
Please post a link with the result of your experimentation
Regards
I'm thinking of not using a switch at all.. you just plug the power to the arduino and it works
And sorry I don't know what do you mean with interruptions ( I'm new to arduino)
It's for synchro. It you don't use a sensor it will work like this
==> http://youtu.be/VIaAG9hHdEM
or this http://youtu.be/9l2Vnq2NwHg
But if you use a sensor,
==> http://youtu.be/huHlfEiqA6Y
In this last case the sensor is an opto isolator.
Last point, interruptions is the french word for Interrupts (sorry for my bad english)==> http://arduino.cc/playground/Code/Interrupts