3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

xmas-box: Arduino/ioBridge internet controlled Christmas lights and music show

Step 2Relay Setup

Relay Setup
«
  • DSC_0027.JPG
  • DSC_0028.JPG
  • DSC_0031.JPG
  • ls8646-2.jpg
  • PowerSquidııı Power Multiplier.jpg
  • DSC_0022.JPG
----------------------------------------------------------WARNING----------------------------------------------------------------
You will be dealing with AC power. If you don't feel comfortable or you are not sure how to handle AC, please consult a licensed electrician before starting to wire the relays.
----------------------------------------------------------------------------------------------------------------------------------------

A great advantage of using SSRs instead of mechanical relays is that I did not have to add any diodes, transistors, or resistors. Also since there there is no mechanical dependency the switching will be smoother. I would advise to use a breadboard with 1k resistors and different color LEDs during your prototyping. Then when you are ready you can use the SSRs and real Christmas lights.

The connections are pretty straight forward. I daisy chained the ground coming from the Arduino to each of the 8 SSRs. Then 8 digital outputs from the Arduino were connected to each positive of the 8 SSRs.

I gutted the PowerSquid Power Multiplier and removed the 10 outgoing outlets (5 per PowerSquid) as well as the AC plugs. The 5 outgoing outlets came nicely attached together so I cut one from each that used to power the arduino, ioBridge and Wifi bridge.

I connected all the Neutrals (white) together, all the Grounds (green) and then I took the Live (black) and daisy chained to each of the 8 SSRs. Then I individually wired each SSR Live wires to one of the 8 outlets.

I decided to have two power plugs to make the wiring a bit nicer and less bulky. So basically the SSRs on the left are connected to one wall outlet and the SSRs on the right to the other.



« Previous StepDownload PDFView All StepsNext Step »
2 comments
Nov 21, 2010. 6:06 PMAbaud4 says:
Haven't had a chance to run the code because I'm still starting to build my setup. Is my quick sketch a good representation of whats going on, please excuse its crudeness just did it in paint really quickly.
Nov 19, 2010. 10:25 PMAbaud4 says:
Kinda of confused by some of the pictures. Is the white and green wire connected together? Do you have a schematic that may help.
Nov 21, 2010. 1:32 PMphorensyc says:
I was confused at first myself, but there is no cross connection between the green and white. Additionally, keep in mind that the author split the two sides. Half of the relays are connected to one outlet, and half are connected to another so you end up plugging two plugs into the wall instead of one. A good idea because there's no way you'd be able to connect 8 - 12 gauge wires with one wire cap. It's just too much.

By the way, seeing as how you're just starting this project yourself, have you uploaded the code to the arduino yet? If so, did you experience any error messages?

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
9
Followers
4
Author:noelportugal(My blog)