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.

Automated Plug-In Appliances

Automated Plug-In Appliances
The title may sound a little daunting, but this is probably one of the most simple instructables you could make. Here I will show you how to switch on and off appliances such as TV's, lamps, Christmas lights, or anything that plugs into an AC wall jack, with a microcontroller or any other computerized source.

WARNING: When creating this device, you will be dealing with ~120V AC. This is considered HIGH VOLTAGE, which as many know, can be lethal. Be careful when working with high voltage; NEVER work on this when it is plugged in. Make sure all connections are how they should be, and verify that they are fully insulated and won't short each other out, or you could cause a fire. Also, be aware of what is going on around you, be alert, and never work on with high voltage if you feel you can't devote enough concentration towards what you are doing. And lastly, if you ever have to service the connections inside this device, ALWAYS unplug it before doing so.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Theory

Theory
Basically, all you need for a low-power microcontroller or any form of computer to switch high-voltage is either a relay or an SCR (solid-state type switching device).
« Previous StepDownload PDFView All StepsNext Step »
18 comments
Sep 16, 2009. 9:12 AMpurpulhaze says:
How would I triggered another computer to turn on? I have a server I would like to make this for but the power switch is a momentary push button. Holding the button down longer than a few seconds will cause it to shut down. I guess what I'm trying to find out is if the relay used is one that will return to its original state. Kinda like a momentary push button.
May 31, 2011. 6:47 AMpastaking says:
Not sure if this will help, but on some computers I have used, the computer will power itself up when power is connected. An even easier way would be to configure the server to automatically hibernate/sleep, and use the 'wake on LAN' function on the network card. That way, when the server is not being used, it automatically goes into a low-power state, but is easy to access when needed. The only drawback to this would be the fact that you can't use the computers alias/network name to refer to it, as the computer does not broadcast its status when it is in standby.
Sep 12, 2009. 8:04 AMpurpulhaze says:
(removed by author or community request)
Aug 21, 2010. 7:37 AMmattotone says:
The latest dimmer packs used in theaters all use PWM sinewave dimmers. quiet as a mouse with no crap on the mains. All they do is PWM the power, and then filter to make it smooth.
Sep 12, 2009. 9:05 PMpurpulhaze says:
Okay, I'm so use to working with DC. With the fixed resistors I would need a different resistor and relay for every varying light level. I also know that it would generate a lot of heat. I'm going to check out the digital pots. I'm trying to get into home automation and seeing that it's probably a lot easier to just buy ready made modules.
Aug 14, 2010. 10:33 AMaccount3r2 says:
what number gauge should I use?
May 20, 2010. 7:04 AMevilwon says:
 I don't get it. After you make this thing how do you control it (specifics)?
Mar 4, 2010. 3:35 PMpurpulhaze says:
I purchased a Solid State relay  pretty cheap from China off of ebay and got the other parts from the hardware store.
Apr 13, 2010. 12:17 AMeecharlie says:
Any particular reason you chose relays over a triac or pair of SCRs? If you used a triac, I think you should be able to accomplish PWM, although it's a little complicated and requires synchronizing your PWM signal with the AC line phase. But, PWM with relays means clicky sounds and can't approach the frequencies you'd need to dim lights etc.
Dec 3, 2009. 4:24 PMgibson_se says:
Personally, I do my high voltage safety the other way around. "Always keep the device plugged in". It keeps you on your toes, and lets you know when you made a mistake. ;-)
Aug 21, 2009. 1:22 PMblackwellj says:
what relays would you suggest for uk 240V 13A ac power and 3-5V trigger Voltage form arduino
Jun 27, 2009. 9:22 PMKallan says:
Just a note, 120VAC is no where near high voltage ;) But still deadly.
Jun 22, 2009. 11:00 PMkikiclint says:
this ible needs some more details about how to interface with a computer or microcontroller. Labeling some more of the components in the pictures would also help.
Apr 17, 2009. 2:22 AMimakethings says:
NC is normally closed NO is normally open
Mar 3, 2009. 7:22 PMMr. Smart Kid says:
NC means normally closed "connected" NO means normally closed "not connected"

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!
41
Followers
10
Author:mortaldoom780(Reece)