It differs from the other relay boxes in that it uses no circuit boards and has very few parts (one chip and 4 relays).
Remove these ads by
Signing UpStep 1Assemble Materials/Review Plan
Needle Nose Pliers
Wire Cutters and strippers
Screw driver
Soldering Iron
Multimeter
Materials:
Deep metal 4 gang output box and cover
Wire clamps
Two 15Amp outlets
Four 5v 10Amp relays (such as Jameco’s 843155)
A ULN2803A (such as Jameco’s 34315)
A 5volt – 500ma Wall Wart (such as Jameco’s 164101)
A length of 5-conductor wire (I used Cat5 cable)
Household current rated wire with a male three-prong connector at one end.
Miscellaneous wire and solder
5 minute epoxy
Wire Nut
Theory of Operation:
The electricity flow to each outlet of a four-outlet household current box is controlled via TTL level signals (such as the output pins of an Arduino). Five wires are connected from the Arduino to the outlet box, four wires being connected to four Arduino output pins and the fifth to the Arduino’s ground pin. A separate 5 volt wall-wart is used to power the outlet box (the outlet box relay activation coils will consume nearly 500 milliamps and a separate wall wart is used here so as not to stress the Arduino power supply). The TTL control lines are wired to the inputs of the ULN2803A which can handle the relay coil current needs and also contains diodes to safely manage the back EMF produced by the relay coils when switched off.
NOTE: for simplicity the schematic only shows a single outlet connection. Repeat the wires for the other three relays and other outlets, using ULN2803A Pins 3 & 16, 5 & 14, and 7 & 12.
| « Previous Step | Download PDFView All Steps | Next Step » |
















































http://arduino-info.wikispaces.com/ArduinoPower
Regards, Terry King
terry@yourduino.com
Very nice site, Terry, and well worth the read for those new to the subject as the site you linked provides a a detailed overview and excellent descriptions of the issues involving microcontroller control of high power electrical loads. Also the commercial boards the site features seem to have good value for the price and are worthy of consideration in home projects.
Best Wishes
Mark.
This is a type of switch to control AC current with an LED.
A solid state relay would also work. but that would be for a more permanent instillation
Yes, I think you are right. I have used regular triacs (but not photo triacs but i understand the concept :-). I prefer the 'solid' on and off a relay provides at the sacrifice of reliability as the relay's physical parts wear out much sooner than the triac. I have had problems of leakage current using triacs - a CFL bulb that would flicker a little bit when it should have been OFF when under triac control.
Thanks again!
Best wishes
Many thanks.
If I were you I would begin my using the BLINK example program that comes with the Arduino environment. It will show you how to blink an LED or to 'blink' the power outlet in our case. This will help you debug your circuit.
Other than this the code would depend on what you want to accomplish, such as turning on a lamp when an infrared beam is broken, or turning on a heater when the room gets below a certain temperature. Each of these examples would be possible but would take additional hardware.
Best Wishes.