Italy
Offline
Full Member
Karma: 3
Posts: 136
|
 |
« on: June 10, 2012, 02:10:07 pm » |
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 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..
|
|
|
|
« Last Edit: June 11, 2012, 09:40:08 am by onesky »
|
Logged
|
|
|
|
|
Thailand
Offline
Newbie
Karma: 0
Posts: 28
|
 |
« Reply #1 on: June 11, 2012, 01:00:33 am » |
Very Cool !! Would love to see the comlete project 
|
|
|
|
|
Logged
|
|
|
|
|
Italy
Offline
Full Member
Karma: 3
Posts: 136
|
 |
« Reply #2 on: June 11, 2012, 09:39:14 am » |
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 
|
|
|
|
|
Logged
|
|
|
|
|
Argentina
Offline
Full Member
Karma: 4
Posts: 158
|
 |
« Reply #3 on: June 20, 2012, 02:44:01 pm » |
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?
|
|
|
|
|
Logged
|
|
|
|
|
Italy
Offline
Full Member
Karma: 3
Posts: 136
|
 |
« Reply #4 on: June 20, 2012, 03:04:10 pm » |
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
|
|
|
|
|
Logged
|
|
|
|
|
Argentina
Offline
Full Member
Karma: 4
Posts: 158
|
 |
« Reply #5 on: June 20, 2012, 03:14:45 pm » |
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.htmlIt is quite expensive, but they used the same chip.
|
|
|
|
|
Logged
|
|
|
|
|
Argentina
Offline
Full Member
Karma: 4
Posts: 158
|
 |
« Reply #6 on: June 21, 2012, 09:55:56 am » |
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?
|
|
|
|
|
Logged
|
|
|
|
|
Italy
Offline
Full Member
Karma: 3
Posts: 136
|
 |
« Reply #7 on: June 21, 2012, 10:09:48 am » |
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)
|
|
|
|
|
Logged
|
|
|
|
|
Italy
Offline
Full Member
Karma: 3
Posts: 136
|
 |
« Reply #8 on: December 01, 2012, 06:30:57 am » |
|
|
|
|
« Last Edit: December 13, 2012, 02:11:58 pm by onesky »
|
Logged
|
|
|
|
|
Argentina
Offline
Full Member
Karma: 4
Posts: 158
|
 |
« Reply #9 on: December 01, 2012, 07:36:26 am » |
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?
|
|
|
|
|
Logged
|
|
|
|
|
Italy
Offline
Full Member
Karma: 3
Posts: 136
|
 |
« Reply #10 on: December 01, 2012, 07:46:45 am » |
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
|
|
|
|
« Last Edit: December 01, 2012, 07:49:56 am by onesky »
|
Logged
|
|
|
|
|
Offline
Sr. Member
Karma: 5
Posts: 383
|
 |
« Reply #11 on: December 02, 2012, 06:03:06 am » |
Very good, you just need to build the Stormtrooper Uniform now. 
|
|
|
|
|
Logged
|
|
|
|
|
Italy
Offline
Full Member
Karma: 3
Posts: 136
|
 |
« Reply #12 on: December 02, 2012, 06:16:25 am » |
Very good, you just need to build the Stormtrooper Uniform now.  thanks, already did   me with the arduino blaster 
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Sr. Member
Karma: 5
Posts: 383
|
 |
« Reply #13 on: December 02, 2012, 07:23:40 pm » |
Fantastic! 
|
|
|
|
|
Logged
|
|
|
|
|
Italy
Offline
Full Member
Karma: 3
Posts: 136
|
 |
« Reply #14 on: December 05, 2012, 04:27:04 am » |
i add this picture that shows where arduino was placed 
|
|
|
|
|
Logged
|
|
|
|
|
|