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.

How To Build A Power Supply For Electronics Hobby

How To Build A Power Supply For Electronics Hobby
«
  • PowerSupply8.jpg
  • PowerSupply3.jpg
  • PowerCupply3D.jpg
This power supply can be used by electronics hobbyists.

Materials:
PC Power Supply with Cord
3/8" MDF Wood
On/Off Switch From Old Computer
1 Red LED
1 Green LED
6 Banana Jack Sockets
Heat Shrink Tubing
Plexiglass (Lexan)
Wood Screws

Drill Motor
Drimmel with metal cutting wheel
Wire Cutters
Soldering Iron and Solder
Color Laser Printer
Table Saw
Multimeter
Hot glue gun and glue
 
Remove these adsRemove these ads by Signing Up
 

Step 1Dissamble Old Power Supply

Dissamble Old Power Supply
«
  • PowerSupply1.jpg
  • PowerSupply2.jpg
  • PowerSupplyColors.bmp
1. Find a PC power supply.  It should be in working condition.

2. Remove the metal casing, don't cut or unsolder any of the wires.  CAUTION:  do not open the case when plugged in unless you know what you're doing.  The capacitors may continue to have a high voltage charge even when unplugged... so don't touch them and/or discharge them before doing so.

3. Make a note of which color wires go together.... Naturally all like color wires will be tied together.  But during inspection if you see two different colored wires connected to the same pin on a connector then this is important and you should make note of it.  These type of connections are used to sense voltage levels in the power supply.  So don't mix this up.  If you do there are guides online that will show which color wires go together.  Its just easier to make a note and keep them the same from the start.

3. Cut the connectors off the wires.  Leave the wires as long as possible.

4. Group wires of like color together, and use heat shrink tubing to keep them together.  Strip the insulation from the ends of each wire.

The color code for the wires is: Red = +5V, Black = Ground (0V) , White = -5V terminal, Yellow = +12V terminal, Blue = -12V terminal, Orange = +3.3V terminal, Purple = +5V Standby (for standby LED and 180 to 220ohm current limit resistor, black on ground side of LED), Gray = power is on (for power LED and 180 to 220ohm current limit resistor), black on ground side of LED), and Green = Turn DC on (power switch, black on ground side of SPST switch).  Brown = senses +3.3V and should be kept connected with orange wires,  Pink = senses +5V and should be kept with red wires.

NOTE:  Some power supplies have other voltage sense wires too.... these are usually thinner than the main wires and are either the same color (but thinner) or brown or pink.  These should remain connected as they are or the power supply will not turn on.  Just make a note of how all the wires are connected to the connector pins prior to cutting off the connectors and don't change this wiring.

5.  When PC power supplies are not connected to a load they sometimes will not turn on (or remain on)... therefore you will need a load resistor connected between red and black wires to provide a load big enough to keep the power supply on with nothing is connected to the jacks.  This load should be about 10 ohm 10 watt resistor between DC ground and the +5V rail (red). Don't forget to heat sink this resistor.
« Previous StepDownload PDFView All StepsNext Step »
24 comments
Jan 30, 2012. 12:09 PMsoshimo says:
One thing you should mention is that even with the power cord removed there are still dangerously high voltages in the PS.

There are usually very large, high voltage capacitors used for filtering and smoothing in these PS's.

These capacitors can hold a charge for a very long time so just poking around in a PS could be dangerous.

It's best that you know what you are doing first, at the very least you should discharge the capacitors (use a tool, NOT YOUR FINGERS!). I've seen these caps take chunks of screwdrivers off before when shorted, you don't want to mess around with those voltages.
Jan 30, 2012. 4:50 PMprofpat says:
nice project,

one thing you forgot is the 10ohms 10watts bleeder resistor that has to be connected on the 5V high ampere rails, most pc power supply needs a load to stay on, if no load is detected the psu will go to standby mode and shut down.

anyway you have a nice panel design.
Jan 30, 2012. 9:10 PMpfred2 says:
Maybe you should discharge capacitors with something other than a screwdriver? I'm looking at this schematic which is a typical SMPS and I'm not seeing any capacitors in it that look particularly dangerous to me.

http://www.eejournal.org/wp-content/uploads/2010/10/PC-SMPS-2003-schematic1.gif

The really big caps in it are actually rated 16 Volts. They would still put out a heck of a wallop into a screwdriver though. Luckily I have fingers made out of flesh and bone, not metal, so I'd be safe from them. The ones on the high voltage side all have bleeder paths to discharge them. Engineers aren't stupid you know?

I'm wondering if the PSUs you've tinkered with weren't broken before you even got to them? Something tells me they surely were after you were done!
Jan 31, 2012. 10:12 AMsoshimo says:
Haha, yeah, probably should have discharged with other than a screwdriver, but when you are trying to build 100 units a day you cut corners. These were older PSU's, but I just took a look at my 700W PSU and there are some pretty big caps in there. Nothing 16V, that's for sure. Just saying, PSU's are not something to play with and disclaimers should be made.

I mean, if you feel it's safe to just go poking around without foreknowledge or warning, by all means go for it. I come from a safety oriented background and it's always better to err on the side of caution. But then again, I haven't been shocked (knock wood) in 15 years (3 phase shipboard power is a killer).

I never would have thought I'd get called out on a safety warning (and I'm not playing chicken little here, I have experience).
Jan 31, 2012. 2:08 PMpfred2 says:
Personally I can't think of much I'd rather play with than electronics. Lately the more power the merrier too. The large filter capacitors in an SMPS are all going to be on the low voltage regulated side. Being as the highest output voltage differential in a PC PSU is 12 there isn't good reason for those capacitors to be rated much higher than that. They are still high uF and store a large charge, so through a screwdriver they will make a large spark. So will a well charged car battery though.
Jan 31, 2012. 3:23 PMsoshimo says:
And I certainly wouldn't put my fingers across the terminals of a car battery! :)

Remember, it's not the voltage that kills you. Although it takes more voltage to push the same amount of amperage (current) through more resistance, it's the actual flow of electrons that cause your heart and and other electro-chemical processes to go haywire. They taught us in BEE (like a million years ago) that it takes less that 100ma to kill you - even less if it goes right across your heart. I don't know if that was the instructors trying to scare us but I took it to heart since a 9V battery is capable of supplying 100ma and modern Li-Poly batteries are capable of supplying tens of times more. I'm not sure about lead acid but they must have some serious amperage rating because they turn a starter motor (probably at least 20+ amps).

They do make tools specifically for discharging though and they are not all used on CRT's (do they even make those anymore these days - I wonder if the Navy has switched to LCD flat screen radar and sonar monitors yet? - I worked on AQS13F which is the airborne sonar system in H-60s - it was still CRT in the late 90s).

One final note, don't you usually want to put at least double the rated voltage on caps? I know it's a bit of a pedantic point, but some dusty neuron is firing and saying that you should always double your voltage rating on capacitors. So, if you expect 12 volts, you should have 25V rated caps. I know it's not very pertinent to the original post, but I wanted to make that observation.

Post Script : I've seen your power instructables and I am especially impressed with the 300W linear power supply. Well done.
Jan 31, 2012. 5:12 PMpfred2 says:
The current it takes to kill us is small but our resistance is fairly high. So it takes a fair amount of voltage in order to get us to draw dangerous current. It varies but the minimum value is somewhere around 28-34 Volts. Anything less than that and you'd have to poke the wires through your skin.

It is sound engineering practice to de-rate components 100% but it is also economic suicide to do it with low margin electronics. Plus if your PC's PSU ever hit 16 volts the PSU manufacturer might as well try to burn the evidence anyways. Everything else in your PC's case is going to be toast. Those caps blowing might in fact be your last line of defense.

Glad you liked my linear supply. Today I took a picture of the AC side of it for the first time. Bit tough to make out what is going on in there but here it is anyways:

http://i.imgur.com/uB4rl.jpg

It is such a mess because the transformer has a lot of secondary windings coming out of it. I did something with every one of them too.

The outputs fill up 20 terminals outside the unit.

A shot of the power supply in action:

http://i.imgur.com/rUfIX.jpg


Feb 1, 2012. 3:37 PMGelfling6 says:
pfred2, Look again very carefully at that schematic.. Specifically C5 & C6, upper-left, just right of the 4 diodes used as a bridge rectifier. Those are your high-voltage capacitors that you need to worry about. In most supplies, they are rated to 200V, and roughly 1300uF. In a good 200W supply, they're about the size of a sub-C size NiCad. Note also, to the right of them, are a pair of bleeder resistors. These generally bleed off the voltage in about 10-15 minutes. (provided they, themselves haven't been compromised).. But, note also they're being fed from the line voltage (input is at the far-left).. Didn't see if there was a voltage jumper, or not.. so assume you could have 220V potential, if operating outside the USA where there's 115V.

I've converted 2 supplies from another source for the hack.. Most of the newer ATX style supplies can carry 2x +12V (gotta love PCI-Express), and _NO_ -5V. (well, mostly it was just for RS-232c level handling.) the two supplies I have, range from 300W (an old office tower I scrapped. terminals are binding post/banana jack connections, had a 33-Ohm/5W resistor built-in on the internal circuit board, across the +5V), the other is a converted 160W Dell (w/o the -5V and good thing too.. Why do they use that for the pwr supply fan status? Yes, I've fried a few before)..

I use mine for various Arduino projects, powering external hard drives to my laptop. (pushing 2x 1TB drives, with a pair of IDE-or-SATA-to-USB adapters.) They're major overkill on wattage for the projects, but still fun (and quiet) to use.

Not sure if he uses a load resistor across the +5V, but everyone seems to think 10-Ohm, 10-Watt Sandblock.. The Dell i converted uses a 33Ohm-5W sandblock, and it stays cool, while maintaining the switching circuit activity.

In a nutshell, Yes, those Big capacitors do exist, and they are the equivalent of lightning bolt waiting to find the fastest path to GND. (and UN-supervised hands)
Feb 1, 2012. 3:49 PMGelfling6 says:
As I mentioned in a reply to pfred2, I never understood why everyone needs to make it a 10-Ohm resistor? 33-Ohm, 5W seems to make just a good a load to maintain the supply.. Also less power being burned off in heat, by the higher resistance.. I can't remember the maker of the supply I 1st converted, but it had a 33-ohm 5-Watt carbon-film (yes, Film! not wire. You would expect a carbon film resistor to burn up faster, but it doesn't hurt it.) soldered right to the board, across the +5V. (it was also well ventilated, but ran fairly cool.) when I did the 160W supply, I simply crimped a 33-Ohm 5W sandblock to one free +5V wire & a GND wire, and clamped it to the cooling ports, but it stays cool to the touch.

Looking at a stack of old Pre-ATX supplies (the ones with the physical AC On/Off switches), I wonder if the same load would maintain them?
Feb 1, 2012. 3:56 PMGelfling6 says:
If You've ever seen the HV test leads. (link: http://images.grainger.com/B352_6/images/products/250x250/High-Voltage-Probe-1T321_AS01.JPG )most have a fairly L-O-N-G spiral etched carbon film resistor in the tip (red area of example.) Not sure what the resistance rating, but Imagine that might be plenty enough to drain the stored voltage quicker. I've been kicked a few times too..(Mental note: when trying the CVS/Pure Digital one-time camera hack, and you have the camera disassembled, Beware the flash capacitor!!!!) I even had a partially disassembled ATX supply, which the bleeder resistors were causing to fail, sitting on my lap, and felt some of the stored voltage on the input side bleed through a sturdy pair of Levis!
Feb 1, 2012. 4:12 PMGelfling6 says:
And... Looking at the schematic pfred2 listed, Yep.. C5 & C6, on the input side, read the parts list, lower-left.. both are either 220uF or 330uF, _200V_ !!!!!!!!

Yes, the 16v caps are across the +12V, -12V, the +3.3V, & the +5V, and maybe the -5V (If provided), but the input side, before the switching circuitry, are rated 200-Volt. and if I remember the classes from the local power company, anything above 42.4V, is hazardous. (source: http://www.ednasia.com/article-7565-hazardousvoltageprimer-Asia.html )

sticking a 9V battery to your tongue, over-stimulates the tastebud nerves, which gives the kick, but you CAN put your hands on both terminals of a 12V car battery (as long as the regulator is working in the alternator, You shouldn't feel anything. (which general potential is 15V +/-) But 42.4V is the danger point, because it will exceed normal skin resistance.
Feb 1, 2012. 5:25 PMpfred2 says:
I remember those. Look closer they both have bleeder resistors right across them!
Feb 1, 2012. 5:26 PMpfred2 says:
You can't read schematics either can you?
Feb 8, 2012. 10:40 AMGelfling6 says:
*sigh* Not worth arguing... Considering the capacitors were identified, and listed on the schematic you provided..
Feb 8, 2012. 11:03 PMpfred2 says:
Consider that there were also loads across them.
Apr 14, 2012. 11:57 AMjosephspain says:
HI there great project i have one just using the 12v as a variable psu

1st from what i can see you have an old stye psu which come on when you switch it on

2nd the new type atx psu ( i cant rember which pin ) you have to short to gnd for it to power up

3rd from what i can remember from eletronic class its 50 dc or 30 ac anthing lower is safe - higher is a killer at around 50-100ma and above

4th so the secondary for the psu wont give you a buzz even if it can supply 25amps same for a car battery which can do over 200amps when shorted

5th the main filter caps 200v at 450uf ( which for me is underrated) (well they do want you to buy a new one open when it drys up) do have bleeders and if not dont dont dont use a screwdriver ------ why beacuse its bad for the caps, your eyes and the screwdriver
and you could drop the thing on to your toes when you just dont expect it to give a large spark.
good practise make your own bleeder ------ 60w light buld (filment type
before any one asks) solder 2 mains leads and with the unit not connected to the mains discharge the caps
i agree with some of the comments
study up if you dont know about mains supply dont touch

Apr 5, 2012. 3:38 PMproject_builder says:
I AGREE those giant caps can hold HUNDREDS of volts. Its a good idea to check if the're charged or not.
Mar 1, 2012. 10:51 AMGawron says:
@soshimo
Its good to discharge the capacitors, but be carefull!
Some of them (mainly photo-caps: 350V) can make a lot of noise, like a gunfire...
Jan 30, 2012. 12:44 PMdiy_bloke says:
Is it just me or is this instructable unfinished?
Feb 27, 2012. 11:53 PMbenji.abrams says:
unfinished
Feb 20, 2012. 9:04 PMR.A.T.M says:
Ok so im having a problem well not a problem but a safety measure i need to over come with any of the + inputs when thay direct short it stops for a minit is there any way i can fix this
Jan 30, 2012. 11:11 AMexodus0784 says:
Would be nice if you elaborated on the connection of the wires or what each wire color represented. If you just take the steps verbatim, it sounds like:

1. Remove case.
2. Cut off the connects and group wires.
3. Shove everything into a wooden box.
4. You're done!
Jan 30, 2012. 9:33 PMpfred2 says:
Yeah and this got featured. Makes me wonder what I did wrong with this.

Maybe I didn't put it into a snazzy enough looking case? It is a beautiful circuit. But I forget the world today is style over substance.

Jan 30, 2012. 4:25 PMnurdee1 says:
In your first picture one of your picture notes has a spelling problem.

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!
52
Followers
11
Author:thb43