Singing Pumpkins/Parallel Port Relay Box

 by waltbosz
FeaturedContest Winner
This Instructable will show you how to build a parallel port relay box that will be used to drive a singing pumpkin Halloween rig. The singing pumpkin rig is basically a synchronized light and music show that is supposed to look like you have a choir of singing pumpkins. I didn't invent the rig. This is merely my interpretation of it.

This Instructable is mostly about how to build the relay box, but the end result is a cool Halloween decoration. The great thing about the relay box we are going to build is that it can be used for any holiday light show. Can anyone say Christmas lights plus Trans-Siberian Orchestra ?

Total cost of the project is somewhere between $50 and $100.

Movie


SAFETY WARNING

This project involves working with live AC currents that can kill you. Be very careful. If you don't know what you're doing, get someone who does to help you. I'm not a licensed electrician. I've wired a few outlets/switches, but I am no means an expert. I'll try my best to steer you in the right direction, but I'm not infallible. Please do comment if I've left a glaring safety risk.
 
Remove these adsRemove these ads by Signing Up

Step 1: How this all began ...

2990010377_4cd8f22588.jpg
It was right after Halloween 2007. A good friend of mine, Kerri, stumbled across a web site full of cool homemade Halloween decorations. On the site, someone had made one of these singing pumpkin rigs, and Kerri decided that she wanted to make her own. Now, Kerri has a degree in genetic engineering, which is great if you want to do something like help develop an HIV vaccine (which unfortunately failed in trial). However, it doesn't help you much if you want to do an electronics project like this. So, Kerri came to me with the idea and asked if I'd want to help set it up. The DIY electronics geek that I was said, "hell yeah!". It wasn't actually until the end of September 2008 that we actually ordered the relay board and started collecting the other required parts. Come Halloween 2008 night, the project was ready for display. The movie below is the result.

Another motivation for myself was to "build a better mousetrap". The guides I saw online for building the singing pumpkin rig were sufficient to get the job done, but I saw a few problems with them. Mainly, they involved wiring the pumpkin's lamp directly to the relay board. This limits the relay board to just being used for the singing pumpkin set up. I saw the potential to use it for other purposes such as a Christmas light show, or just as a fun light show to go with your music at your next house party.

The desire to make the relay board reusable as more than just a singing pumpkin rig lead me to come up with the design in image 1. I hacked up extension cords and wired them to the relays. The pumpkin lamps/Christmas lights/whatever could be plugged into the extension cords. This design worked well, except I had a few concerns with it. 1. It wasn't very portable. The cords would get twisted and it was a bit heavy from all the wire. 2. Safety. With this design, you basically had to carry the rig by the extension cords. I was concerned that this would lead too a wire being pulled out of the terminal block. You really don't want an exposed wire with wall current flowing through it anywhere near you.

It was with all those concerns in mind that I came up with the design in image 2. It's nice and portable. It uses standard wall outlets as the AC voltage outputs so anything can be plugged into it. The outlets and the relay board are mounted to the project box so there is no concern of wires being pulled during transport.

A little bit about myself as it pertains to this project

I may make building this rig look easy. I'll try my best not to take some things for granted that others may not necessarily know. I do have a bit of an advantage in the area of skills required for this project. I have a BS in Computer Science and an AS in Computer Network Engineering. While earning those degrees I took a number of electronics and programming courses. My dad worked in construction for many years and has experience in home electric wiring. He also taught a number of the electronics courses I had in college. I used him for advise while building my rig. All that being said, I'm going to make the semi-safe assumption that avid readers of this website are intelligent people, like to get their hands dirty in projects like this, and are up for the challenge.

links

These are the guides that I used as a reference when building my rig.
http://www.stulack.com/websites/DMI/singingpumpkin.htm
http://www.spiffomatic64.com/lightshow/
Shane1163 says: Oct 29, 2010. 9:30 AM
You can buy boxes that do that.. I have one that has 6 outlets in it and it has songs built in (I think mainly christmas) but u can plug an MP3 player into it and play whatever songs u want.. they're kind of expensive but I got mine at the thrift store for like 5 bucks! It's really neat now I wish I had seen this earlier and had some light up pumpkins! lol
waltbosz (author) in reply to Shane1163Oct 29, 2010. 10:09 AM
I've seen commercial boxes for server hundred dollars, but that is an awesome thrift store find. It's not too late to set up the pumpkins for Halloween night. I got mine at Walmart a few years back. The lamps were built in. You may be able to find them again this year.
bubbabooey2 says: Nov 2, 2009. 9:57 PM
sooo since the ends are just simply extension cords, i could replace the pumpkins with simply lights or other effects/
waltbosz (author) in reply to bubbabooey2Nov 4, 2009. 7:27 AM

Yes and no. You could replace the pumpkins with any other eletrical device such as a string of Christmas lights, but you'll have to be careful not to exceed the wattage of the relay circuit board. I forget what the recommended wattage for the board is, but the light bulbs in each pumkin were only 5W. Even with all 8 pumkins turned on, that would only be 40W.

dooj says: Aug 9, 2009. 5:20 AM
well i don`t have the money to buy LOR (but if i did i would buy it in a heartbeat) i`m looking for a el cheapo way to power all of my lights but still have it look professional
dooj says: Aug 8, 2009. 10:00 AM
i have about 10,000 xmas lights. how many of these do i need to power all those lights?
waltbosz (author) in reply to doojAug 8, 2009. 3:06 PM
I can't really say. It more depends on the number of strings that you have and the wattage of each string. I don't think the circuit board that I used is able to power too many watts. It's been too long since I did the project to recall exactly.

If you're going to do a project that large, you're better off buying a commercial product. I've never bought from them, but Light-O-Rama looks like they have a nice selection of products.

My project was fun to build and show off for one night on Halloween. However, I really wouldn't feel safe to leave it plugged-in and unattended for an entire Christmas season. Good luck with your project.
tes0122 says: Jul 17, 2009. 8:38 PM
For the lazy man's conversion to USB try a USB to DB25 Female Parallel Converter Adapter cable (like: http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=1699044&CatId=471). If it is a true bi-directional plug, it should give you the port control to continue on.
vodo says: Mar 31, 2009. 2:14 PM
vodo says: Mar 18, 2009. 9:07 AM
where did you get that song!
waltbosz (author) in reply to vodoMar 18, 2009. 10:29 AM
The song is titled "This is Halloween". It's from the soundtrack to the movie "The Nightmare Before Christmas". You can buy the soundtrack here http://tinyurl.com/yvdp6o .
vodo says: Mar 18, 2009. 9:08 AM
link?
vodo says: Mar 11, 2009. 1:46 PM
(removed by author or community request)
waltbosz (author) in reply to vodoMar 11, 2009. 2:59 PM
Either configuration can probably drive the same number of watts. The real limitation on the power is the circuit board. The traces aren't made to carry large currents. Also the relays have their own power rating. The circuit board's manual says that you should not try to switch more than 5A (http://www.kitsrus.com/pdf/k74.pdf) .
vodo says: Mar 11, 2009. 1:17 PM
what is the most watts it can run?... (because i want to build it...(IT IS COOOOOOL!!!)this is something like it (only more $$$) http://store.lightorama.com/ba16chpa.html
vodo says: Mar 11, 2009. 7:28 AM
does it work on xmas lights
waltbosz (author) in reply to vodoMar 11, 2009. 10:29 AM
Yes, it will work with Christmas light. Technically, it will work on anything that runs on electricity. The box is simply routing current to the different outlets based on data coming from the parallel port. You could plug in a bunch of blenders if you wanted ... but the current drawn by the blenders are probably too much for the traces on the circuit board. If you do build one of these, you'll want to pay attention to the power drawn by whatever you plug in to it. The light bulbs in the pumpkins only drew 5W each.
TOCO says: Feb 21, 2009. 1:23 PM
Hey how do you use port talk. i clicked every file in every folder and it kept opening notepad and telling me what porttalk is. Please tell me how to use porttalk!!!.
waltbosz (author) in reply to TOCOFeb 28, 2009. 5:53 AM
You have to launch porttalk from the command line (DOS). This is the command that I used: allowio "C:\Program Files\Winamp\winamp.exe" /a

As a shortcut, I made a batch file that would run this command line. I could run the batch directly from Windows (I didn't have to open a command prompt).

You can also read the readme.txt file that comes with porttalk, that has some examples of how to use the program.
TOCO says: Feb 21, 2009. 1:24 PM
How do I use porttalk?
stanlaski says: Feb 6, 2009. 6:17 AM
You did a great job in explaining the step by step procedure for building this project. The explanation for connecting the relay board to the receptacles was a bit confusing. Green wire should only be used for ground never to carry current. As I understand it the green wires were connected to the "C" relay terminal, in this type of circuit the "HOT" black wire should be connected to "C" so that the hot conductor is interrupted by drop out of the relay. Also why use eight receptacles when four would be sufficient by removing the jumper between each outlet?
waltbosz (author) in reply to stanlaskiFeb 7, 2009. 2:01 PM
Thanks for the feedback. You're right about the green wire. It should NOT be used to carry current. I originally though that the green wire was exactly the same as the black and white wire. I didn't realize it, but I checked it turns out grounding wire is usually thinner than the hot and neutral wires. I don't know about wiring the HOT wire to C. When I was building the circuit, I read a couple different relay guides and consulted my dad who teaches college electronics. I'm fairly certain that my circuit is correct. Or at least, it works and didn't start any fires. As far as using eight vs four receptacles, you raise a good point. I didn't know about the jumper between the outlets. Also, I like having two plugs per channel. It allowed me to trigger two lamps on a single channel. If you notice in the movie, there are nine pumpkins, but only eight channels.
noelle_tan says: Jan 10, 2009. 7:58 PM
pretty frickin cool
mjbliss says: Dec 29, 2008. 11:29 AM
If your computer has no parallel port - can you use the LPT printer parallel port or use a parallel to serial port cable? THANKS FOR THE INSIGHT!!!
waltbosz (author) in reply to mjblissJan 1, 2009. 6:33 PM
A LPT port and parallel port are the same thing (wikipedia). I'm not really sure about using a serial port, except I don't think I've ever seen a computer with a serial port and no parallel port.

I did do some research in using a USB-parallel-port , which is a cable used to connect a non-USB printer to a computer's USB port. I was unable to get my cable to work with my rig, but I think I did see someone who was able to get it to work on another website.
egriff says: Dec 15, 2008. 6:32 AM
thank you for the wiring information. I want to use a relay board with voice activated commands.
maxamillionaire says: Nov 22, 2008. 11:20 PM
careful, wires may be live even when a switch is open, depending on where a switch is placed in a circuit. if the switch is off, and you touch point 2, you will be fine. but if you touch point 1, even though no currents flowing, you will probably get a shock. simple, but take care. the polarity of wiring in houses can get switched, or worse. check it twice! I've overlooked it before, and probably will again, just because i thought it was so simple. hot---1---switch---2---ground and Sweet instructable. it would be neat to apply this to the lighting in a home.
kellyroux says: Nov 9, 2008. 5:51 AM
I always am impressed with the music light shows during the holidays. Thanks for making it easy for even me to understand!!! Great job
waltbosz (author) in reply to kellyrouxNov 15, 2008. 8:12 AM
Thanks! I'm glad you enjoyed it. Let me know if you build your own.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!