Go Down

Topic: star wars blaster with arduino (Read 5563 times) previous topic - next topic

onesky

Jun 10, 2012, 09:10 pm Last Edit: Jun 11, 2012, 04:40 pm by onesky Reason: 1
hello this is my project to add sound and light effects to a scratch built stormtrooper blaster (E-11 blastech) as seen on Star Wars "A New Hope"



the project is almost completed, this is the video that shows how it works

http://www.youtube.com/watch?v=KIUVYMPBCyQ&hd=1

i attached the code, it's not the best and rational program ever made, i am quite sure that if array variables were used, the code could have been far shorter, but i am not so expert..


talofer99

Very Cool !!
Would love to see the comlete project :)


onesky


Very Cool !!
Would love to see the comlete project :)


thanks for your comment, i will post here the built weapon armed with arduino when finished :)

the-rebel-agent

Very cool indeed, and that's exactly what I had in mind for my V gun. Could you list the Arduino hardware you used and shields for sound? I see a Wave Shield right? And you said you were using a nano Arduino?

onesky

i listed all the hardware needed at this stage on the whitearmor forum, i gave you the link in other topic

in that video you can see arduino UNO, but in the final stage i will use the arduino NANO 328, same specs of the UNO but smaller

the mp3 player you see on video is quite expensive and large dimensions, today i got the WTV020, you can read here:
http://arduino.cc/forum/index.php/topic,110924.0.html

the-rebel-agent

Thanks again. I don't have access to that forum yet. About the board you bought, I bought the same board yesterday. It is SOMO-14D compatible in so many aspects. You could read about it here:
http://embeddedadventures.com/soundout_wtv020_module_mod-1007.html

It is quite expensive, but they used the same chip.

the-rebel-agent

Did not check the code yet, cause I did not installed Arduino IDE, but basically you are sensing the button, and each times some triggers it, you play the sound and turn on the led? At the same time or that is synchronous?

onesky

in my project you use 3 buttons: fire, weapon selector and reload ammuniton

when push fire button the led and sound turn on syncro

these are the features since now:

- 13 sounds weapon, included: E11, Stun, AT AT, Xwing, Xfighter, chewbacca, jawas, 44Magnum, M1 Garand, K98 and others (can add many more)
- 3 buttons: fire, selector, reload
- sound effect when empty ammo is reached
- sound effect when reloading the weapon
- sound at start-up
- plays random tracks for specific sounds (as chewbacca or jawas)
- endless fading led showing status ON / OFF
- 3 watt RGB superbright led with customizable colors and effects
- 10 segments led bar as shot counter
- 3w+3w audio output
- battery life: around 2 hours of use, standby not tested (battery used: 2x Cr123 recharg. lithium 3,7 volts)

onesky

#8
Dec 01, 2012, 12:30 pm Last Edit: Dec 13, 2012, 08:11 pm by onesky Reason: 1
the final work!

http://www.youtube.com/watch?v=N9OLZoZEpEM










the-rebel-agent

Bellissimo! Really. Congratulations! Thanks to you I met this Arduino thing, and I am really happy about it. What's the story about that RGB led. Where did you get it and how do you use it?

onesky

#10
Dec 01, 2012, 01:46 pm Last Edit: Dec 01, 2012, 01:49 pm by onesky Reason: 1
thanks!
i hope to see your vgun  video soon!

the RGB led must have 6 pins (anode and cathode) as this and it's powered by 3 constant Current Regulated LED Driver 1W 320~350mA (with minor mods) as this



Lakes

Very good, you just need to build the Stormtrooper Uniform now. :D

onesky


Very good, you just need to build the Stormtrooper Uniform now. :D
thanks, already did ;)


me with the arduino blaster :)


onesky

i add this picture that shows where arduino was placed


Go Up