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.

Mushroom Environment Control - Arduino Powered

Step 6Mains Relays and connection to Powerboard

Mains Relays and connection to Powerboard
«
  • IMG_3651.JPG
  • IMG_3631.JPG
  • IMG_3632.JPG
  • IMG_3633.JPG
  • IMG_3634.JPG
  • IMG_3635.JPG
  • relays_zoom.JPG
***MAINS WIRING HERE SO BE CAREFUL***

Solder the four Mains relays to some Veraboard. 
My relays had marked on them "+" "-" and two load pins. The - pins are connected to Arduino ground, each + is connected to the arduino digital pins 3, 11 ,12 ,13. 
The load is what switches the mains active signal, and I used this to switch each individual active within the powerboard.

Opening up the power board I removed the copper strip connecting the actives, and cut them into four separate peices. Soldered onto each peice was one of four wires which were soldered back onto one of the load pins of each of the relays. 
The active wire from the mains was then connected to the other load on the relay. 

I put hot glue where normally the gromit would go on the powerboard outlet, and I also put hot glue around the mains wires near the relays, just to give it some extra strength.
« Previous StepDownload PDFView All StepsNext Step »
2 comments
Jul 15, 2010. 6:39 AMStaggarLee says:
I was thinking the same thing. I am building a similar project, and base my relay sircuits from this guide http://www.glacialwanderer.com/hobbyrobotics/?p=9
Jul 1, 2010. 9:08 AMtehjrow says:
Don't you need diodes to protect the arduino?

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!
12
Followers
1
Author:anthony_p1234
I pass the time by involving myself in small projects and watching youtube political discussions. I am a jack of all trades and master of none, and am good up until I have to house a project in a box,...
more »