Shorten that Long GoogleMaps URL with CozyURL!

Zedomax DIY119 - Make Christmas Light controller in 5 minutes!

Posted in DIY Zedomax by max on the November 28th, 2006 at 7:27 pm

[DIY119]

Okay, today we are going try to build a computer controlled Christmas Lights in 5 minutes.
I’ve been rolling around the neighborhood this late November and some people already have
their Christmas lights decorated. Well I’ve seen many “static” Christmas lights that always
stay on. Today, I will show you how you can customize your Christmas lights by using a PLC,
a Programmable Logic Controller.

Update: Garrett’s Voice Activated Christmas Controller is now available!

Parts List

  • 1 CuSB22R from cubloc.com
  • 1 AC power cord (like the one for your computer or get it here: cubloc.com)
  • 3 AC Connectors from Home Depot (You can get more depending on how many Christmas Lights you are trying to control,

remember you can also put Christmas lights in series per relay)

  • bunch of wires

First you will need to cut off the AC power cord and you will find 3 wires,
one green, one black, and one white.
Simply splice them and hook up the green wire to the CuSB where its labeled
“FG”, which is frame ground so your house does burn down.
Screw in tightly.

Then put the other Black and White wires onto the terminal headers as shown below.
Black and White wires do not have polarity, so you can put either or onto the CUSB
labels, N and L.
Leave them unscrewed and only screw in the green wire if you haven’t done so in Step One.

Connect a wire from CuSB label COM to CuSB label, N

Connect from CUSB label, P40, to one of screws on the AC connectors.
Polarity doesn’t matter so any of the two screws will work.
Screw in tightly.

Do the rest of the AC connectors.
Connect from CUSB label, P41, to one of screws on the AC connectors.
and also connect from CUSB label, P42, to one of screws on the AC connectors.

Connect from CUSB label, L, the white wire in the picture
to the other screw on the AC connectors for each of them.

When you are done, you should have something like below.

Connect some Christmas lights to each of the AC connectors.
Then connect the serial cable to program the unit.

Copy and paste the following code into CublocStudio and download to your CUSB.

Const Device = CB280

Dim Interval As Long

Interval=300

Do

High 40
Low 41
High 42

Wait Interval

Low 40
High 41
Low 42

Wait Interval

If Interval>100 Then
Interval=Interval-50
Elseif Interval>0 Then
Interval=Interval-10
Else
Interval=300
End If
Loop

Taking It Further

Well your lights should be working pretty good now.
You can change the Interval=300 line so the lights start
blinking slower or make a completely different program
for your Christmas.
If you put it on a deer structure or something, you can probably
time it so it is animated.
But we will leave that up to you and if you have any questions,
feel free to email me: max@zedomax.com
Happy Holidays! :)

UPDATE:

Also check out our new stuff like:

LED Christmas Wreath

LED Christmas Tree

Voice Activated Christmas Controller

Build Golf Club Training Aid Gift for 5 bucks! , ,

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...


Related Posts

Bookmark It!


|del.icio.us |Digg it |Netscape |SiteHoppin |Wagg It | Email this to a Friend Email This Page Email This Page

If you like this post then please subscribe to my full feed RSS. You can also subscribe by Email.

Got a new hack, DIY, howto, or gadget? Tip us here.

Search for a new Hack:



RSS feed | Trackback URI

12 Comments »

 
2006-11-30 20:18:44

[...] Here’s Zedomax Christmas DIY #2, a “better” version of Christmas Light Controller we made couple days ago that Garrett has made. It’s a Christmas Light Controller that can be voice activated or set your Christmas lights to different programmed modes. Garrett explains the source code in detail. The source code is open-source, so you can skip programming and simply copy and paste his code. [...]

MyAvatars 0.2
 
2006-12-01 20:09:07

[...] Christmas is coming, have you set up a Christmas tree at home? Here’s a video to shows you how to make a Christmas light controller in 5-minutes or less by Zedomax. The parts you will need will be a CuSB22R from cubloc.com, an AC power cord, 3 AC Connectors, and a “bunch of wires”. Read the full instruction here. Video after the jump. You can change the Interval=300 line so the lights start blinking slower or make a completely different program for your Christmas. If you put it on a deer structure or something, you can probably time it so it is animated [...]

MyAvatars 0.2
 
2006-12-01 22:31:40

[...] lights by using a PLC, a Programmable Logic Controller.”   [link] [Trackback][ [...]

MyAvatars 0.2
 
2006-12-15 02:39:03

[...] Zedomax shows us how to make a Christmas light controller in 5-minutes or less. Parts needed include a CuSB22R from cubloc.com, an AC power cord , 3 AC Connectors, and a “bunch of wires.” Full instructions here. Video after the jump. You can change the Interval=300 line so the lights start blinking slower or make a completely different program for your Christmas. If you put it on a deer structure or something, you can probably time it so it is animated [...]

MyAvatars 0.2
 
2007-02-09 13:10:15

[...] a simple DIY on using a CuSB22R and some parts to make Christmas Light controller in 5 minutes. This is very similar to [...]

MyAvatars 0.2
 
Comment by John Subscribed to comments via email
2007-08-02 15:16:27

$129 seems expensive. for a “static” programmed controller.
Take a look at http://www.d-light.us for a fully featured controller.

MyAvatars 0.2
 
Comment by anguscanplay
2007-08-04 03:10:29

I prefer playing with my toy cars and lorries on my play mat, Although being an electronics geek i think i may just be able to sort this pcb out myself as long as mommy and daddy hold my hand for me when i go to plug it into the wall.
If i decided to make one of these units and i got electrocuted would you pay off all of my bills??

MyAvatars 0.2
 
Comment by ramon Subscribed to comments via email
2007-08-23 11:34:23

hola solo quiero saver donde puedo conseguir este sircuito en mexico agradeseria me ayudaran Bye.

MyAvatars 0.2
 
Comment by John Rafalski Subscribed to comments via email
2007-09-24 13:11:14

Very stupid question from a beginner but can the CUSB22R’s output AC voltage be controlled so that Christmas lights can be programmed to gradually brighten and then dim to nothing. I would like to get various single colored strings, one per channel and have them one by one gradually brighten, then dim and then the next color would brighten so that it appears the lights are changing colors. Thanks in advance for your time and patience if this is a dumb question!!
Sincerely,
John

MyAvatars 0.2
 
Comment by max
2007-09-26 00:10:27

Hi there John,

Unfortunately the relays on the CUSB22R cannot control the brightness. There might be a way to hack it but I have not tried it and cannot recommend it.

But you might be able to send an email to Garrett@zedomax.com who might know further about this.

Best regards,
Max

MyAvatars 0.2
 
Comment by Jack Subscribed to comments via email
2008-01-03 09:09:55

Wow, I’ve wanted to do this for some time but most tutorials involve solid state relays, complicated soldering, I am definatley going to try this, I’ll order it when I get my pay check tomorrow. 2 Questions kinda as fodder for people reading this but also if anyone knows the answers and would like to assist. It looks like as an alternative to the Ac Connectors one would use the typical wall plugs you can get at home depot for about $.42 ea since you are just connecting the wires is that true or would that accidentally set my house on fire? With those and the available coverings you could make a sweet base board to mount everything on.and what is the maximum number of lights you could have on this? Thanks for this awesome tutorial!

MyAvatars 0.2
 
Name (required)
E-mail (required - never shown publicly)
URI

Subscribe to comments via email
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.