Pages: [1] 2   Go Down
Author Topic: star wars blaster with arduino  (Read 4643 times)
0 Members and 1 Guest are viewing this topic.
Italy
Offline Offline
Full Member
***
Karma: 3
Posts: 151
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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..


* e11_ver_04_02.ino (54.35 KB - downloaded 63 times.)
« Last Edit: June 11, 2012, 09:40:08 am by onesky » Logged

Thailand
Offline Offline
Newbie
*
Karma: 1
Posts: 36
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Very Cool !!
Would love to see the comlete project smiley

Logged

Italy
Offline Offline
Full Member
***
Karma: 3
Posts: 151
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Very Cool !!
Would love to see the comlete project smiley


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

Argentina
Offline Offline
Full Member
***
Karma: 5
Posts: 160
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Full Member
***
Karma: 3
Posts: 151
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Full Member
***
Karma: 5
Posts: 160
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Argentina
Offline Offline
Full Member
***
Karma: 5
Posts: 160
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Full Member
***
Karma: 3
Posts: 151
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Full Member
***
Karma: 3
Posts: 151
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

the final work!











« Last Edit: December 13, 2012, 02:11:58 pm by onesky » Logged

Argentina
Offline Offline
Full Member
***
Karma: 5
Posts: 160
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Full Member
***
Karma: 3
Posts: 151
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Sr. Member
****
Karma: 6
Posts: 429
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Very good, you just need to build the Stormtrooper Uniform now. smiley-grin
Logged

Italy
Offline Offline
Full Member
***
Karma: 3
Posts: 151
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Very good, you just need to build the Stormtrooper Uniform now. smiley-grin
thanks, already did smiley-wink


me with the arduino blaster smiley
Logged

Offline Offline
Sr. Member
****
Karma: 6
Posts: 429
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Fantastic! smiley-grin
Logged

Italy
Offline Offline
Full Member
***
Karma: 3
Posts: 151
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i add this picture that shows where arduino was placed

Logged

Pages: [1] 2   Go Up
Jump to: