Introduction: Animated Stargate Pumpkin
Fellow Members of the Instructables Community; Greetings!
I haven't posted anything in quite some time and thought I would share what I did for Halloween. The pumpkin has since rotted away and the wiring lies on the floor in ruin. I apologize for my lack of instructional pictures. I never intended this to be an instructable. I've gotten alot of requests from people asking about the nature of my creation. Hope this helps. Pleas leave me comments. I'd love to know what people think of this :P
The video includes the entire dialing sequence. I was running out of time, so I just stole someone else's audio.
The pattern i followed is in one of the above images. I blew the picture to higher proportions in "Microsoft Paint."
- Arduino Uno (any old Arduino will work)
- A breadboard
- 12 1/4 watt 220 ohm resistors
- 9 White LEDs
- 2 Blue LEDs
- Wire (I prefer 22 Gauge, 4 strand )
- A pumpkin
- Vixen (a free; open source program made for sequencing Christmas Lights)
- dolphin clips, or electrical tape to cover exposed metal.
- Whatever you prefer for carving a pumpkin. I prefer a Razor Blade
- Wire strippers
- A computer
Step 1: Assemble the Lights
In the event that you have decided upon a pattern for your pumpkin and carved it, go ahead and move onto mounting your lights.
My 4 strand wire is the Red/Black/Green/White configuration. Take a piece of your wire and cut it about a 1' 1/2'', (or longer depending on how far away you want the computer setup to be from your pumpkin.) Then strip about 3 inches of insulation off the top and another 3 off the bottom. Once you have done that, strip about an inch of insulation off of each of the actual wires.
Repeat the above step appx. 6 times.
Once you have stripped the wire properly, take the long end of one of your white LEDs and attach Red wire. Take the shorter end and attach it to the Black wire. Take another White LED, and attach the long end to the White wire, and the short end to the green wire. Leave the other side of the wires exposed so that they may be mounted on the breadboard. Repeat this step 5 times unless you plan to leave out the two bottom Chevrons. You can skip wiring Chevrons 8 and 9. Stargate SG-1 barely ever uses them. They aren't part of the dialing sequence audio that I used.
Take your 2 Blue LEDs and attach them to your last strand of wire. Do the same thing you did with your white LEDs.
When you finish attacking all wires to the leds, cover the exposed metal in electrical tape or dolphin clips. Dont leave it bare. metal wires have a habit of touching when you least expect it...
I used a nail to poke holes through each Cheveron on the Stargate so that I could punch the LED into the pumpkin better. When you mount The led, be sure to only push on the bulb part. I recommend taking your frist set of White LEDs, and pushing the first thru Chevron 1, and the second thru Chevron 2. The order of Chevrons goes as follows:
1 :00 Position - Chevron 1
3:00 Position - Chevron 2
4:00 Position - Chevron 3
5:00 Position - Chevron 8
7:00 Position - Chevron 9
8:00 Position - Chevron 4
9:00 Position - Chevron 5
11:00 Position - Chevron 6
12:00 Position - Chevron 7
You can skip wiring Chevrons 8 and 9 if you like. Stargate SG-1 barely ever uses them. They aren't part of the dialing sequence audio that I used.
I would put the lights in pairs like this: 1 & 2, 3, 4 & 5, 6 & 7.
The two blue lights sit outside the pumpkin. There is no real easy way to mimic the glow of the event horizon with the lights inside of the pumpkin. Sorry. :(
Step 2: Hooking Everything Up
Putting LEDs on a breadboard looks something like the image shown. You must have a resistor for each LED. In the image, the black and green wires go to the GND on an Arduino. The red and white wires go to separate ports on the Arduino.
Assuming that you skipped Chevrons 8 & 9 your setup should be something like this:
Port 2: Chevron 1 (channel 1 )
Port 3: Chevron 2 (channel 2 )
Port 4: Chevron 3 (channel 3 )
Port 5: Chevron 4 (channel 4 )
Port 6: Chevron 5 (channel 5 )
Port 7: Chevron 6 (channel 6 )
Port 8: Chevron 7 (channel 7 )
Port 9: Chevron 8 (channel 8 ) (not used)
Port 10: Chevron 9 (channel 9 ) (not used)
Port 11: Shimmer (channel 10) (not used)
Port 12: Shimmer (channel 11) Blue Light
Port 13: Shimmer (channel 12) Blue Light
I was rather tired last night when I wrote this. I forgot to mention what you do with the two blue LEDs. On the Arduino, pins 11 -13 are reserved for the. In my programming I used pins 12 and 13. As far as programming them, please refer to my final step.
Step 3: Programming...
I've included a copy of my code for the Arduino.
As far as vixen goes, you need to download it here: http://www.vixenlights.com/downloads/vixen-2-downloads/
DO NOT DOWNLOAD VIXEN 3. It's weird confusing... And there may be some interface problems with my file.
Download my sequence and profile and audio files and put them on your desktop.
When you download vixen, I recommend you keep it on your desktop. The first thing you need to do is open the folder. Drag the profile, sequence, and audio files into their perspective folders. All are easy to find when you open the file on your desktop that says Vixen 184.108.40.206 There is a slight chance you may have to re sequence everything. This is fairly simple. If that is the case follow the directions on the next page.
If everything went smoothly, your end result should be a pumpkin that dials other pumpkins and sends wonderful treats to other galaxys. Happy Halloween!
Step 4: Black Holes, Alternate Universes, and Troubleshooting Amongst Other Things...
Ooops, Something didn't work right... Gate to another planet, did ya? Or worse! The gate has now power! Invasion!
In the event that the sequence file is non transferable in this essence, creating a sequence in Vixen is acttualy rather easy. When you open up Vixen, go to the sequence tab and go to> New Sequence> Vixen Standard Sequence.
A Box called "New Sequence Wizard," will appear. Press next and then press next again. (leave the milliseconds alone. This doesn't concern you. ) The next window will be the "Profile" one. If the profile transferred correctly select it from the dropdown menu. If for some reason the Ancients are frowning upon you, press Profile manager and press the little + symbol at the top of the box. Name your Profile. Once you've done that, the screen will change to the "Edit Profile Menu." At the right of the screen there is a button that says, Add One Channel. Below it is another button; Add, and a Box with a 1 in it. Change that 1 to a 12 and Press Add.
Refer back to my programming step for the proper order of channels.
Go down to the button that says Ouput Plugins. On the left of this window, there will be a list of possible plugins. You want the one that says Generic Serial. Double click it and than click it again once it has jumped into the "Plugins in Use," box. At the far right, press the Plugin Setup button. Change your serial port to whatever your arduino is communicating on. (a good way to find out is to open device manager, and it will either be under COM PORTS, or USB Serial. In my case it is usually 3 or 4. Change the Baud to 9600. Check the "Send a Text Header" box, and the "Send a Text Footer" box. Press ok, and done. Press Done, and then Done again. Press next.
Assign Audio/ Define Event Patterns
Press ^That button. Press the Assign Audio button. Find the audio that I included in the previous step. Press open. Press ok down at the bottom of the menu. Press Create It at the bottom of the wizard. You're sequence has now been created. Before you press the play button at the top of the sequence, select an empty rectangle on the screen. Any of the rectangles will work. For the moment, just get a feel for the program. Press space bar. The rectangle will turn white. Press the Play button on the screen and listen. Whenever you feel like a light should turn on, mark it with the press of a space bar. You can always come back and lengthen on the time by highlighting all rectangles and pressing space later. Just tap space roughly where you think the sound should go. Good Luck.
Vixen is glithcy. Make sure your arduino is plugged in before you decide to open vixen. Many of the problems you will encounter in Vixen is due to the program running for an extended period of time. Just restart it.
To program the Blue LEDs in vixen and set them up:
In Vixen, when you here the gate activate, press the space bar, and press it again upon hearing the gate close. Highlight the in between spaces and press the Shimmer button to the right and down from the Play button. A menu will come up. There is a bar you can move up and down. Play wit it until you find your desired shimmering. I offset the two LEDs. In my opinion it makes it more realistic.
Ok, here comes the annoying part... As I said before, there is no real way, (that I know of,) to light the "Event Horizon," from the inside. You end up with a bunch of blue dots against a white background and it looks lousy. I guess if you decided to expand your channels to the point where you could pull off a bunch of random blue dots, go for it. I don't think an Uno has that many pins available. In my case, I simply held the lights in front of the wormhole and angled them to the point where they made the gate shimmer. Two LEDs are plenty for this. Mess around with it though, Please! I'd love to know what people think up. It also occurred to me, you could theoretically make a ramp leading up to the Stargate and position the LEDs underneath as a way to hide what they are.
Participated in the
Participated in the
Halloween Decor Contest 2015
Participated in the
Make it Glow!