In this example, I've got everything glued down to a piece of foam core, but ideally this would be installed into the handle of your lightsaber. Now it's time to assemble the final electronics together. After the program is loaded, you should be able to press the buttons and hear the sound effects. Use the Programmer to load the lightsaber.bin file onto the Fox Development Board.
To load up the code, you will need the Fox Hardware Programmer, which is part of the Foxonix software bundle. I recommend testing the existing program with the hardware before you make any changes.
You can download these files and use them as is or modify them if you like. The board cannot drive three LEDs on its own with one pin, so we need to use the transistor.Īll of the software files used to create this project are included here, but can also be found on GitHub. The LEDs are wired to 3.3V and to the transistor as shown in the diagram. 2.) One pushbutton is connected between pin P1.0 and 3.3V (open button) 3.) One pushbutton is connected between pin P1.1 and 3.3V (swing button) 4.) One pushbutton is connected between pin P1.2 and 3.3V (clash button) 5.) One pushbutton is connected between pin P1.3 and 3.3V (close button) 6.) The base lead of the transistor is connected to pin P3.3 through a 1k-ohm resistor. Here are the component connections as shown in the diagram:ġ.) The speaker is plugged into the PWM jack. The Fox Board should be plugged into your computer with a USB cable. This will allow you to test out the existing program so you can play around with it and see how it works. We're going to start by hooking up the Fox Development Board. Since the program is already complete and tested, we really just need to get the hardware up and running.
I've included the source code for you so that you don't have to do any of your own programming. This program is a little bit more involved than what is usually necessary for a prop, but this Instructable can be easily adapted for much simpler costumes or props (or anything you want to add sounds to). And of course, let me know if there are any questions or comments and I'll help you out. I'd love to see what you can do with this. Awesome!Īs you can see, I didn't build this into a prop (the lightsaber I have on hand is being pressed into service for something else), but that's where you come in. When you press the "clash" button, the LEDs sync to the volume level of the sound effect to simulate a lightsaber strike. When you press the close button, the LEDs fade out with that sound effect. When you press the open button, the LEDs fade in with that sound effect. Not only that, but I included LEDs that are synced to the sounds.
It has great sound effects, including the "open" and "close" sound effects, plus "swing" and "clash" sound effects.
The LED Jedi Saber is 39'' total.This Instructable started as a general guide for how to add lights and sounds to costumes and props, but I got totally carried away and ended up with the electronics and program for the Ultimate Lightsaber.
Futuristic Sound Effects That Activate with On/Off Button Located on Handle: Transport yourself to a galaxy far far away with the exciting saber effects.This is perfect for the collector and the young at heart. Rechargeable battery with a Graphite Black metal handle, multi flash modes and a variety of sound effects.
The Saber is motion sensitive and reacts to your movements and playful saber fights, it makes you feel like you are fighting in a galaxy far far away. Become a skilled master of combat fighting against alien foes with your guaranteed Battle Ready Jedi Saber. "May the Force be with you" this Star Wars replica Light Saber is 39" with galactic sounds and futuristic lights.