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.

A USB Power Controled Plug Strip. With Isolation.

A USB Power Controled Plug Strip. With Isolation.
The whole point of this Instructable was to allow me to power on all the accessories for my computer without thinking about it. And then not power all the little power vampire wall warts when I am not using the computer. The idea is simple, you power on your CPU, all of the other parts of the system power up (monitor, laser printer, speakers, etc) When you power off your CPU, they follow suit.Now there products out there that will do this for you, and if you do not have the experience working with line voltage electricity, please stop reading and just go buy one. There are several products that do exactly what we are trying to do here, but of all the ones that I have reviewed have disadvantages over the device that we are going to build. They fall into three basic types:

There are cheap usb controlled power strips, but I have seen several that do not offer any isolation, and if you are creating a possible path for line voltage (120v here in the USA) to your mother board, and its many hundred dollars worth of over-clocked goodness. I would like some isolation.

There are current sensing power strips, One of the outlets is set up to sense current flow. When this happens the electronics in the power strip power on the other outlets. Its a good idea, but sometimes they do not sense correctly, and will not turn on the accesories. Also the electronics require yet another little power supply to be on 24/7, this we are trying to avoid.

There are well designed enterprise grade solutions with isolation, that work very well and have a very hefty price tag as well.

This circuit uses no extra power when it is not in use, and offers some hefty isolation from power surges, and does not cost a fortune to build.
 
Remove these adsRemove these ads by Signing Up
 

Step 1What you will need

What you will need
First off if you do not feel confident in your ability to work with line voltage power, please stop reading. If you build this project wrong, you have the ability to destroy your motherboard on your PC. I'm not kidding.

The heart of this system is two things really, the actual switching is done by a DC controlled solid state relay, All the isolation is provided by a pair of fuses and some transient voltage surge supressing diodes (TVSS)

All of the other parts are really up to you, I used what I had kicking around. Which was mostly standard electrical fittings, and an old plug strip, and a heatsink from a junk processor, and a USB cable that was miss ordered with usb "A" connectors on both ends. Feel free to use whatever works for you.

All told the parts that I had to order (fuses and holders, TVSS, and Solid State Relay) were less then $30.00 USD from an online supplier.


« Previous StepDownload PDFView All StepsNext Step »
106 comments
1-40 of 106next »
May 10, 2012. 6:37 AMcrazy-blender says:
this is pretty cool but where can you get a relay that is 30 amps
May 10, 2012. 6:38 AMcrazy-blender says:
do you need the heat sink and what would happen if you didn't use it ?
Aug 19, 2011. 6:42 AMjlongton says:
I just gathered all the components to build a similar device when i realized that the +5vdc delivered to the USB port remains on when in standby mode. I have an HTPC that I connect to my TV. I rarely turn it off. Instead I use a wireless mouse and keyboard to put it in and out of standby. I would like to be able to turn off the peripherals when in standby. It seems like I might have to connect to a 5v power supply plug inside the PC instead. anyone know of a better solution?
Aug 19, 2011. 9:03 AMjlongton says:
thanks for the suggestions.

1) I need to have at least 1 port powered while on standby to wake it with my wireless keyboard. so this likely won't work, unless there is a separate jumper for front and rear ports.

2) This is a possibility. If i can find a cheap one, and nothing else works, I might do this.

3) This is another possibility, but requires a bit more work and makes it more permanent to this PC.

It would be nice to have an outlet on the box you made where the PC could be plugged in. Then when the PC was turned on or woken up it would trigger the relay to turn on the strip. I'm not sure how the relay would be triggered though. it would have to detect the current or something,
Jul 6, 2011. 11:24 PMabishur says:
Wow so you made this a pretty long time ago, but I used this as a basis for my own USB activate power outlet. I needed a single outlet rather than full strip (and I don't really have room for a full strip), but it's still a really great instructable! I did forgo the extra isolation as optical isolation is pretty "fool-proof" so there's (practically) no risk of it jumping back down the USB line and my deal plugs into a surge protector so there's the AC line is also protected from surge back.

Thanks again! Without this guide I definitely wouldn't have had the courage to set up my own system and would have ended up shelling out $30+ bucks for a pre-made "smart" power strip
Oct 26, 2010. 2:12 AMnickboy98 says:
pretty good, a good use for this would be in a caravan, buy one of those usb smoke lighter thingy's and you could power a whole caravan with 5 volts of power, even one of those usb solar thingys power an entire caravan with tiny solar power
Apr 11, 2011. 2:52 AMjoshnosh says:
no mate this just turns on whatever you have plugged into the strip when you turn your pc on like an automatic switch
it dosent make the power from the usb
usb is is only 500ma so you would get virtually nothing if you converted it to mains (you might be able to power a tinny tinny light bulb)
and if you plugged a tiny solar cell into an inverter (a box that makes mains ac from a dc supply ) nothing would happen because its tinny.
you can convert a 9v battery to give you 100,000v but you wouldn't be able to replace a power station with a 9v battery because the output is very small
Nov 26, 2010. 12:31 AMkrisumsnz says:
Hey Rich
Far to much negative comment above! I built this device. Now my HTPC client running mediaportal has a single "on" button - the amp, TV, subwoofer and remote controller power up. Wife and kids happy.
To finish up the whole shebang shuts down with no activity detected with "amp WinOff" and so when a song, DVD etc ends the whole lots switches off again.....(or the off button is used....)
It is fantastic and was simple enough to make

Thanks so much for the idea!
regards
Neville
May 27, 2010. 5:06 AMsaadmanna says:
i have worked on similar Project with Parallel port and serial port.
i am searching some thing like this but much more advance...so that i can control  at-least 8 switches with USB.
Aug 28, 2008. 2:33 PMcboy2us says:
This provides isolation?!?!?!?!, first lightning strike, you will pay for.
May 26, 2010. 5:14 PMnforge says:

Isolated ground can mean a few different things depending on who you ask.  But typically the requirements for an isolated ground are that it's wired directly back to an electrical panel, not relying on conduit or other metal items to link it back to a panel.  But when it's in a residential application, this is as good as an isolated ground, it would be a straight run back to a panel, and as long as the box is grounded it's as safe as you'll get.  http://www.mikeholt.com/technical.php?id=grounding/unformatted/ig1&type=u&title=Isolated%20Ground%20Reference%20One

May 25, 2010. 10:30 PMcooldudeintown says:
I love the retro Pentium 2. I tend to forget that we all owned one of those at one point. Great Instructional keep up the good work.
Aug 25, 2009. 9:48 PMArbitror says:
So what's the Pentium II for?
Nov 4, 2009. 7:46 AMArbitror says:
Those good 'ol slot CPUs are good for many things!
Jan 6, 2010. 12:09 PMcriggie says:
Yep - I have one as a business card holder.  Works great.
Jan 6, 2010. 3:58 PMArbitror says:
It's like a paperclip, useful for almost anything...
Oct 2, 2009. 2:42 PMBlackice504 says:
some computers like mine have usb power always so for those people who like this project and have the same setup you can control this fuction by two ways one is the bios the other is physical jumpers to to allow or turn off usb power when the computer is off this is because some keyboards how power button on them or to wake up on mouse so if you have any problems remember to this step good instructable. thanks for sharing and love the case you made.
Aug 23, 2009. 12:40 PM2schnauzers says:
I want to turn on/off a power strip when my TV is turned on/off. Does anyone know how to create a circuit (similar to this article) that would accomplish that? My thought is when the TV is on (via the remote control) it would draw power, somehow that fact could be used by a circuit to turn on the SSR. Thanks!
Jun 10, 2009. 6:26 PMrea5245 says:
toymotorhead, I hope you can give me some advice on this. I bought the parts for this, including a 1.5KE6.8CALFCT-ND (DigiKey part number). This is apparently a bidirectional TVS. It doesn't have a polarity marking on it. Can I use this part in place of your diodes, or do I need to go shopping again? Thanks.
Mar 29, 2009. 7:46 AMbwanaaa says:
for some reason that link doesnt work- search for this part at digikey: SA12CALFCT-ND
Mar 29, 2009. 7:44 AMbwanaaa says:
ok, this is great, but i want to build something like this so my audio receiver can control a powerstrip. The receiver has a 12 v switched miniplug. Would the design be the same? The only thing i'd have to change is the diode so that it has a 12v rating instead of 5 (like this one http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=SA12CALFCT-ND). The failure voltage of these diodes is 13,3v
Jan 14, 2009. 5:28 PMbillth87 says:
UL would want you to put a fuse or a circuit breaker in the hot line before any of your circuitry. If your SSR shorts to ground you could start a fire with this design. It's a 10A SSR, so a 10 Amp fuse would be appropriate.
Sep 11, 2008. 11:26 AMradon222 says:
Is there a reason to use an SSR instead of a mechanical relay? Relays seem to be a lot cheaper.
Jan 12, 2009. 6:22 PMrocketman221 says:
yeah those voltage spikes from the relay coils are quite strong. i got a good enough zap from one to make me drop it and that was only running at 3 volts.
Sep 5, 2008. 4:33 PMtechnodude92 says:
This may work well with plug and play devices, but older peripherals, especially ones that take long to start, should be powered up before the CPU. I, as a rule, always power the peripherals before the CPU.
Jan 5, 2009. 1:56 PMamjadk says:
The second that you turn on the computer, the CPU starts :P
Nov 4, 2008. 2:24 PMhumphreys7 says:
I just got the relay, and it turns the power strip on, even if there isn't anything connected on the other side. Any ideas?
Nov 4, 2008. 6:02 PMhumphreys7 says:
Oh, thanks toymotorhead, right after I posted that I called Opto22, and they gave me solution 4 of yours. now it works.
Oct 23, 2008. 3:54 PMhumphreys7 says:
(removed by author or community request)
Oct 14, 2008. 11:53 PMpapapapa says:
Hi this is exactly what im after but is there anyway to turn it on and of with the computer.As i want to plug some secruity lights into the extension,Then connect to the computer remotely and switch them on and off.Thanks John
Oct 3, 2008. 8:54 AMGHopkins25 says:
This is similar to the one I built. I have one point to add. There is no termination for the data lines on the USB cable. There should be a 44ohm resistor on the data line to prevent excessive line ringing. It may not be a problem, but if you get any data errors this could be the cause. See this link; http://www.usb.org/developers/usbfaq/#sig3
1-40 of 106next »

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!
7
Followers
2
Author:toymotorhead