Remote Controlled Power Outlet

Was on adafruit a few weeks backs and found this little guy and the corresponding remote . I immeditely purchased that I had one of these relay boards lying around in my closet. So i decided to make a 315 Mhz controlled junction box for turning on my lights with a remote. Here is a video of the finished product

Here is how I made this bad boy.

Parts List:
Remote Board
KeyFob
Relay Board
Junction Box
2x Outlets
Outlet Cover
Stuff I had laying around
5v old cell phone charger
Old computer power supply cable
fiber glass resin (optional)

Step 1:
Look at the location of the vcc gnd and control pins on your relay board and match them up as best as possible with your remote board.


Step 2:
Solder the corresponding pins from the relay to the remote. (there is a orange wire in in the back/underneath hooking up my vcc)


Step 3:
Attach longer leads to ground and vcc to allow for connection to a power supply.


Step 4:
Take the junction box and line the inside with electrical tape. this will keep things from shorting accidentally. Also if you decide to try and waterproof it will take the resin from seeping through the holes.


Step 5:
Take the outlets and on the cold side (big prong) on both outlets break off the tab connecting the 2 junctions together. If you look closely in the picture I have broken off the tab on the plug on the right but not yet for the one on the left.


Step 6:
Connect 4 wires to the middle slot of each relay and solder them together


Step 7:
Grab an old cellphone charger (the smaller the better) and connect 5v to vcc and gnd to gnd.


Step 8:
Attach the the 4 cold pins to the left post of the relay. If you want specific order in which outlet is controlled by which button this is the time to figure this out. Depending on how you soldered the controller make sure your desired button controls the corresponding desired outlet. (You can always test this by powering up the dc power supply and seeing which lights on the relay board switch when specific buttons are pressed and wiring the desired outlets from there.)


Step 9:
Connect the neutral line to the 4 lines coming out of the outlets (2 green and 2 black for me), and connect the hot line to the 4 lines that you soldered together in step 6. Then hook up the cellphone power supply to the 120v hot and nuetral lines to give it power. Connect the ground pin of the power cords to the ground lead on one of the electrical outlets. This will wire the case to ground and provide some saftey if something accidentally shorts against the housing. Then double check everything is taped and heat shrunked safely and plug it in and test and make sure everything works.



Step 10:
Carefully cram everything into the junction box and tighten all the screws


Step 11:(I havent tried this one yet…)
To make the electronics inside water resistant fill the junction box with fiberglass resin. this will allow the box to be used outside and get rained on….or you could spend a little more money and just buy a water proof junction box and outlets from the start and be significantly safer…but where is the fun in that?


Questions? Comments? Let me know what you think!

Comments