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 1: Material
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


































Visit Our Store »
Go Pro Today »




Merci d'avance
I received all the materials needed for doing a similar pov :), i am on the soldering components part and i have a problem :s >>> how can the 500 ohms resistors be connected to pin 6 to 12 of arduino male header meanwhile it is occupied by
two male header of 8 pins?
Don't know if i have missed something to resolve that
Thank you in advance!:)
The first way is to make a kind PCB trace like this http://www.niklasroy.com/images/ping/ping_04.jpg
The second way is to solder the leg of the resistor on the 8 pin header
I will post a picture of the back of my pcb with the two solution ASAP (maybe tomorrow)
http://www.instructables.com/id/Simple-POV-homemade-arduino-shield/step3/Solder-the-electronics-parts/
Sorry for the delay !!!
best regards
for (a=0;afor (a=0;a
to
for (a=0;a<(sizeof(texte)-1);a++)
for (a=0;a<(sizeof(texte2)-1);a++)
Thank y ou again and best regards
Ok cool can't wait to see it !
Thks :)
I do not even think about all that as i am a very new beginner, so i think i'm going to experiment and try try try 100000 times !!! (hope i will find the good path !)
No problem, i would pass here for updating some news on that (or if i have any problems again!)
Meanwhile, i have to wait my little components come at home ( free shipping on ebay are very long : between 15-30 days :s!!!)
Thks for all & best ideas for the future!!
If you say the one you use has metal ball, then i have found something that i think can be used as the same way and largely cheaper, so i would buy that :
http://www.ebay.com/itm/370516344093?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649
I don't know why but there is a bug when i want to sucribe at snootlab. But, if there is no free shipping, i think i'm dead!!
If it works with "Metal Ball Tilt Shaking Position Switches" i would post it here !
Thks !
You can find the datasheet of my tilt sensor here http://snootlab.com/attachment.php?id_attachment=75
This document tell us that the contact is close if the angle is superior to 15° from horizontal.
With yours : "The switch would be in the "off position" in the horizontal positon,
"on positon" when raised to 10-90 degree or shakes"
So il think it can work with this sensor. Maybe you will have to change a part of the code.
Maybe the line "if (digitalRead(2)==LOW)" is not ideal for your sensor.... It can be better with if (digitalRead(2)==HIGH)... maybe.... try the two method...
Please post your result here even if it doesn't works...
Best regards
Seems to be a very great and interesting project !
I have a question, the tilt switch you use, it is possible to use a mercury tilt switch, for example, these ones (saw on ebay) :
http://www.ebay.com/itm/10pcs-Mercury-Tilt-Switch-0-3A-20V-101-/250777330926?pt=LH_DefaultDomain_0&hash=item3a637e64ee
Thank you in advance and Best regards !
thank you for your interest for my project.
About the tilt switch, your "ebay model" works with a mercury drop... The problem can be that: when you shake your board the mercury drop can split into multiple drop.
Please not that I m not sure about that !!!! I have never use such tilt switch.
If you try please post a comment here.
For information, the tilt switch I use work with a metal ball (you can hear the noise of this ball on the video) You can find this part here ==> http://snootlab.com/lang-en/composants/96-capteur-de-basculement.html
Best regards
Is it the font size or something??
Isnt the maximum size simply 7 for 7 LEDS??
but it is set at 5.
Cool sketch
Thanks!
So policeX is 5. If you change the police type with a different number of led for example change just the policeX parameter all the timer will be automatically adjusted to this new policiy...
Thank for you comment
So i can use more pins& Leds, adjust the PoliceX and get bigger letters, correct?
Cool!
Thanks for the reply!
So if I use corect (...) english my last relpy is
PoliceX is the font size on the X axis. The font used is 5x7 (x/y) font. So policeX is 5. If you change the font type with a different number of led for example change just the policeX parameter all the timer will be automatically adjusted to this new font... Thank for you comment
Sorry again for my very bad english.....
For example is the TV-out library : http://code.google.com/p/arduino-tvout
you can find the following file : "font4x6.cpp"
Is a 4x6 font so in this case you have to set PoliceX to 4
But in this case, you have to change some other parameters....
I will try to post an update of this skectch in the next day in order to use all the TV out library font...
If you have a special font, please send me the font file, and I will make the code with this font too.
Regards
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