Power Projects From Your PC





Introduction: Power Projects From Your PC

You can hack some parts you probably have lying around into a cable that will let you power electronic projects from a PC.

I initially did this article on my web site at uC Hobby but figured I would give it a try as my first instructable. Let me know what you think.

First let me say that this is dangerous. Your PC power supply should have protection from shorts but you are sure to loose any open files not if, but when you make a mistake on your breadboard. Also the PC power supply can output a great deal of current so things can get out of hand quickly. In fact, the more I think about this, the more I realize it is a bad idea.

The first two pictures show the finished product. A PC power plug with long extension wires that reach my microcontroller breadboard. The PC provides +12 and +5 VDC.

Step 1: Find Parts

I scrounged an old PC fan for this hack. We can use the long red and black wires and the male power connector to make our cable. I dug up a long piece of yellow wire to extend the +12V.

Step 2: PC Power Connections

PC drive connectors have 4 connections, 1 Red = +5V, 2 Black = GND, 1 Yellow = +12V.

Step 3: Connect Extension Wires

Notice that the wires are cut at different lengths. This is an old trick; each wire is cut to prevent shorts. The red wire splice will be in a different place then the black or yellow connections. When you tape up the splices you can wrap around all the wires which is easier and ultimately safer then trying to protect each splice when they are all side by side.

Step 4: Solder the Connections

I wrapped the wires together then soldered each connection. The two black wires are ground and were wrapped together along with the black extension wire.

I like to strip a long section of the insulation, wrap, solder then trim about half the length. This makes it easy to ignore large solder blobs at the end of the connection. You don't need a 3/4 inch connection after it is soldered.

Step 5: Braid and Tape the Connections

All the connections are complete in this picture. Next I loosely braid the wires together then tape the connections as well as wrap some tape every 8 inches or so just to keep it all together.

Once you have taped up the cable, you can connect it to your PC. Remember that if you have any shorts your PC will instantly shut down. Any files you have open will likely be lost.



    • Science of Cooking

      Science of Cooking
    • Pro Tips Challenge

      Pro Tips Challenge
    • Pocket-Sized Contest

      Pocket-Sized Contest

    We have a be nice policy.
    Please be positive and constructive.




    I did something very similar to this about a week ago, I had just purchased a small solderless breadbord and didnt want to have extra batteries involved with powering it. I grabbed a USB cable, cut one end off zip-tied it to the breadboard and reinforced it with my glue gun. It was a much smaller breadboard, about 2 by 4 inches. For the connections I just tinned the tips of the red and black wires and popped them in the 2 rows of holes running down the outer edges, added a bit of heatshrink and voila! I've been using it with my laptop while surfing Instructables etc to test out circuits etc, it's a great learning aid. I have shorted it by mistake and on purpose (on an old junk PC of course) and no problems so far, one could add a simple switch built on to keep power off till everything is wired.

    I have accidentally shorted my USB voltage lines :/ On my laptop too. The worst that happened -- I got a little pop up that said the hardware was disabled due to high current. Once I restarted the box -- everything was back to normal (after a little nervous sweating :P).

    USB is (by specification) supposed to have current limiting built into the interface. Sometimes this is just a "polyfuse" - a self resetting thermal fuse, and other times it is something more intelligent. Not so the bare connectors from your power supply (they'll likely have SOME protection, of the sort that will kick in AFTER your external wires are glowing :-)

    I did not realize it was a standard -- but that's good :) -- I was responding to geekboxjockey's last sentence about his/her accidental shorting...

    At my school all the students have HP 2140 netbooks and we always play the prank of putting gum wrapper foil or another type of metal in the USB port and it instantly turns off the netbook. i haven't studied it much but it appears not to do much damage unless the netbook belongs to someone with a short temper.

    In my experience, PC power supplies are "very" sensitive to shorts. I accidentally shorted the output on an older supply and it died immediately. No leeway for error on that one.

    nice. i had trouble doing it 'till i read yo instructable.

    It is also useful to know that many supplies have the 0 volt line connected to the AC ground, not floating. This can introduce a ground where you do not want it and means that you cannot put supplies in series to get higher voltages ( you can use parallel if you have some load sharing resistors ). I have opened some supplies and remounted the circuit with nylon nuts and bolts to get a floating supply, I think it is safe.

    I have built a current limiter to make it safer to use the direct PC power cable. You can read about it at my blog. uC Hobby

    Thanks for all the comments. I do beleive USB would be a safer way to get +5V for project use.