Pages: [1] 2   Go Down
Author Topic: V Visitor Laser Gun Replica Prop with Light and Sound  (Read 5378 times)
0 Members and 1 Guest are viewing this topic.
Argentina
Offline Offline
Full Member
***
Karma: 5
Posts: 160
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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

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

Offline Offline
Newbie
*
Karma: 0
Posts: 43
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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

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

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

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



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

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

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

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

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

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

Grazie mille! Already reading your post.
Logged

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

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

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

Here is It, my first test:

http://youtu.be/GpCo3RbPwJI
Logged

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

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:
/*
 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:



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.

* VVisitorLaserGun.zip (7.98 KB - downloaded 30 times.)
Logged

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

Migrated to Arduino Mini Pro Artic Edition:





Will be optimizing the circuit as well the software.
Logged

Belgium
Offline Offline
Edison Member
*
Karma: 58
Posts: 1741
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Nice work :-)
I enjoyed reading this.
best regards
Jantje
Logged

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 -

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

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

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 21
Posts: 1670
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged


Pages: [1] 2   Go Up
Jump to: