Go Down

Topic: V Visitor Laser Gun Replica Prop with Light and Sound (Read 7193 times) previous topic - next topic

the-rebel-agent

Hello there,
This is my first post, and wanted to introduce my self to you. I am Software Engineer from Argentina, Star Wars and V (old TV Show) fan and replicas prop maker. I have been working on a on this prop, that you all will remember:



Well, those who are 30 years old or more. Maybe you saw a re-run of the show too. Who knows. Well, I 3D modelled this gun and designed it hollow.





The gun will be 3D printed, but that's another history. I am looking for advice about the electronics involved in the project. The trigger will activate a light, installed inside the tube or at the base, and will fire a FX sound. Already bought a UNO R3, a Mini Pro, and the USB adapter. But looking for suitable mp3 shield that fits on the grip or the top box. What do you think?

the-rebel-agent

Found out this looking at the website:

http://vizictechnologies.com/#/smart-wav/4559021187

Do you think I will be able to connect Smart Wav to Arduino Mini Pro or UNO without problems?

bigluc

Is this gun large enough to fit it? If yes, then it is very possible to control it with Arduino, using the serial pins on the board. In fact, by the looks of it you may not even need an arduino if you're only playing one sound, you could simply hook up a push button that would be hooked up to a LED (or several) and the Smart Wav board.

the-rebel-agent

Thanks for your reply. As a matter of fact, my intention about the Led turn it on and off doing a fade in/out effect, like a dimmer. At the same time the FX sound is played. That's why I need the mini Arduino board. Those are the internal dimensions available for this project:

Grip Top Box (Bordeaux part) is 112mm x 38mm x 15mm (L,H,W)

Grip Handle (Mustard part) is 39mm x 95mm x 19mm (L,H,W)

Need space for a battery pack and for one mini speaker as well.

the-rebel-agent

I also found out another sound module called SOMO-14D. http://www.4dsystems.com.au/prod.php?id=73

http://www.youtube.com/watch?v=KUy0tLaiteI&feature=related

This guy is controlling it via serial with and old Arduino board. Pretty decent sound FXs right?

the-rebel-agent

Also found out another option,

http://www.embeddedadventures.com/soundout_wtv020_module_mod-1007.html

Which I believe could be better since they are sharing IC information.

onesky

hello rebel agent
i follow your project on the rpf forum too
you may want to check my arduino project for adding leds and sounds effect to the star wars E11 blaster here:

http://arduino.cc/forum/index.php/topic,109432.0.html

the main topic of the project is on thewhitearmor forum here (need registration):
http://www.whitearmor.net/forum/index.php?showtopic=19322

hope it helps!

the-rebel-agent


the-rebel-agent

Got mine (UNO board) just a hour ago. Testing it.


the-rebel-agent

Ok, have good news about this project. After working a lot with the sound module, which was defective, got a new one and did work. Wrote a library to manage it, and after that, wrote a program to control a laser gun. This is the source code:

Code: [Select]
/*
Sketch to control a V Visitor laser gun prop.
Created by Diego J. Arevalo, August 10th, 2012.
Released into the public domain.
*/

#include <Wtv020sd16p.h>
#include "LaserGunFactory.h"

int resetPin = 2;
int clockPin = 3;
int dataPin = 4;
int busyPin = 5;
int analogLedPin = 6;
int triggerPin = 7;
LaserGunType laserGunType = VVisitorLaserGun;

LaserGunFactory laserGunFactory;
LaserGun *laserGun = NULL;

void setup() {
  laserGun = laserGunFactory.getLaserGun(laserGunType, triggerPin, resetPin, clockPin, dataPin, busyPin, analogLedPin);
}

void loop() {
  laserGun->senseTrigger();
}


Yeah, I am not an Arduino expert, but I am a software developer. So I designed the laser gun in different modules. Each one controls a specific function. I attached the entire source code. You will need a WTV020SD16P audio module and Its library to use this code. Here is the library:
http://arduino.cc/forum/index.php/topic,117009.0.html

Here is the video of the test:

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

I really enjoyed dong this and I am going to use Arduino in every possible electronic project at my hand. Any question don't hesitate in contact me. Next step is to print the laser gun and fit in everything inside. Keep you posted guys.

the-rebel-agent

Migrated to Arduino Mini Pro Artic Edition:





Will be optimizing the circuit as well the software.

Jantje

Nice work :-)
I enjoyed reading this.
best regards
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

onesky

good work!
we should start also a project for a voice changer as the visitors robo-voice..

DuaneB

Hi,

If you guys PM me your email addresses I will send you the illutron B synth code, then I am pretty confident you could make these effects with out using external components - its has four independent channels for sound or music, with control over attack, waveform, decay, duration, pitch etc.

You might have seen this link I posted yesterday using the library for a pocket night club, obviously in that application I am aiming for musical sound rather than sci fi, but it will do both.

http://rcarduino.blogspot.com/2012/08/the-must-build-arduino-project-illutron.html

Anyone watching falling skies ?

Duane B

rcarduino.blogspot.com

Read this
http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html
then watch this
http://rcarduino.blogspot.com/2012/04/servo-problems-part-2-demonstration.html

Rcarduino.blogspot.com

Go Up