Convert A Computer Power supply to a Variable Bench Top Lab Power Supply

 by prodlad
IMGP1178.JPG
Prices Today for a lab power supply well exceed $180. But it turns out a obsolete computer power supply is perfect for the job instead. With these costing you only $25 and having short circuit protection, thermal protection, Overload protection and varied output voltages of 3v, 5v and 12v but we will me modifying it to give out 1.5v to 24v. They are perfect for general electronics.

This is my first Instructable for what I think is a brilliant idea, I'm only 14 and i can build it

WARNING: This will void warranty's and can shock you if you don't have your wits about you

NOTE: This Tutorial is littered with bad grammar and spelling mistakes. English Teachers may want to look away now

Your going to need:
Tape
Screw Driver
Computer PSU (I recommend 250W+)
PSU Cable
Wire Snaps
Soldering Iron
A 10ohm, 10W or greater power resistor (Some new power supply's don't work properly without some load so this can provide that)

Optional:
Switch
2 LEDs of any colour (Red and Green is the best)
If your using the leds you need a 1 or 2 330 OEM Resistor(s)
Heat Shrink Tubing
External Enclosure (Some people cram it all inside the Power supply case or you can put it in a external enclosure.)

These Depend on which method you use: (More on that later):
Terminal Blocks
Drill
LM317 or LM338K Voltage regulator
100nF Capacitors (ceramic or tantalum)
1uF Capacitors Electrolytic
1N4001 or 1N4002 Power Diode
120 Ohm resistor
5k Ohm variable resistor
Binding Posts
Crocodile Clips

Step 1: Harvesting & Preping The Power Supply

IMGP1179.JPG
IMGP1185.JPG
FIAFD3YF5R8IUJP.MEDIUM.jpg
Warnings:
BEFORE WE CONTINUE MAKE SURE YOUR POWER SUPPLY IS UNPLUGGED.

Capacitors can bite and if not give a painful shock kill you. Please discharge the power supply by letting it sit unconnected for a few days or connecting a 10ohm resistor between the red and black wires.

If you hear buzzing when you turn on the power supply it means there is a short or another serious problem. If you hear buzzing (that not coming from the soldering iron) when soldiering it mean your power supply is on. There is still power flowing through the PSU if it plugged in but not switched on

OK lets get straight into it remove the computer case and take out the screws (usually 4) at the back of the computer to release the power supply. Now take out the 4 screws on top of the case and take the wires out of the hole then group wires of the same colour together and snip off the ends.

Just To tell you , you've just void your warranty

Step 2: Wiring It all Up!

IMGP1180.JPG
IMGP1182.JPG
IMGP1183.JPG
FEWHQYTFK75D2J1.MEDIUM.jpg
Now comes the tricky part, this is were we really get into it and add LED's and switches and other such objects. There are alot of each type of wire so I recommend using 2-4 of each type. Some people cram everything inside the box i used another external enclosure but it depends which method you use in the next step.

If you want to add a Standby or a Mains On LED then you will need a LED (Reds recommended but not a necessity) and a 330 Ohm Resistor. Solder a black wire to one end of the resistor and the short leg of the LED to the other. The resistor will reduce the voltage down to stop it damaging the LED. Before you soldier the other one on optionally slip on a little bit of heat shrink tubing to stop shorts. Solder the purple wire to the longer leg and when you plug it in but don't turn it on, it should light.

You can also have another LED (Green Works Best) to light when you turn the PSU on. Some say to use the grey wire for the power for the LED but you need another 330 Ohm resistor. I just connected it to the orange 3.3v wire.

If you are using the Grey wire:
Before you solder it on slip another bit of heat shrink tubing over it to stop shorts. Solder the grey wire to one end of the resistor and the other end of the resistor to the longer leg of the LED and a black wire the the shorter leg.

If using the Orange 3.3v Wire:
Before you solder it on slip yet another bit of heat shrink tubing over it to stop shorts. Solder the orange wire to the longer leg of the LED and a black wire the the shorter leg.

Now for the switch, if you have one on the back of your PSU i suppose you don't really need this but i think you should still use it regardless. Connect the Green wire to one contact on the switch and a black to the other. If your really against using a switch then just tape together the green and black wires.

You can also use a 1 amp fuse. All you do it get the clump of black wires you'll be using and cut them somewhere along the wire and then bridge them with a fuse in a fuse holder.

Some Power supply's need a load to work properly. To provide this load solder a red wire to one end of a 10 ohm, 10 watt resistor and a black wire to the other. This will trick the power supply into thinking its powering something.

If this is all confusing there is a diagram attached to help. The diagram shows the binding post method to connect the wires. I will explain more about these in the next step. It also connects the grey wire to the Power on LED but you can also use the orange wire and it also shows the wiring for the high wattage resistor.

Step 3: Presenting The Power

LM338K_Regulator_709.jpg
FG5CWL2JSDEP27SH2E.MEDIUM.jpg
FEWHQYTFK75D2J1.MEDIUM.jpg
OK from all the other tutorials I've read there are a lot of different methods of connectors for connecting your devices to the power, Ill start with the best one and work my way down to the worst.

Some tutorials will tell you to stuff it all inside the one case but that is dangerous and will make it very warm and crushed. I recommend using a external enclosure.

1.Adding a Variable Resistor:
I personally think this is the best method as this can provide any voltage between 1.5 to 24 volts. The reason that its 22v and not 12 is because it uses the Blue wire which is -12 volts not the common earth (black wire). You will need:

LM317 or LM338K Voltage regulator
100nF Capacitors (ceramic or tantalum)
1uF Capacitors Electrolytic
1N4001 or 1N4002 Power Diode
120 Ohm resistor
1x 5k Ohm variable resistor

First build the circuit from the main picture and connect your +12 and -12 volt lines. Now drill holes in either the power supply or an external case to fit the variable resistor, All the other circuitry should be kept inside. I suggest now adding Two terminal blocks so you can wire devices directly in. You could also connect some alligator clips in to the terminal blocks aswell. When you turn the variable resistor the voltage should range between 1.5 and 24 volts. NOTE:There is a typo in the main picture it should read +24v variable instead of 22v. If you had an old volt meter you could wire it in to the output so it can tell you what voltage you are at.

2. Binding Posts
2nd is using binding posts to connect equipment. First drill hole for the binding posts (make sure to wrap the circuit board up in plastic as metal shards can short circuit it) then check they are the right size by inserting the posts and tightening the bolt behind them. You chose what voltage to hook up to what post and how many posts to put in. The colour Codes for all the wires are:

Red: +5v
Yellow: +12v
Orange: +3.3v
Black: Earth/Ground
White: -5v

There is a image below using the binding post method.

3.Basic Crocodile Clips
If you don't have that much experience or don't have the above parts and for some reason can't buy them you can just hook up whatever voltages you want to Crocodile clips. If you do chose this option I would suggest a sleeve over the Crocodile clips to prevent short circuits.

Tips and Troubleshooting:

- Dont be a bit afraid to spice the box up a bit, you could add leds, stickers or anything!

-Make sure you are using a ATX Power Supply. If it is a AT or older power supply it will most likely have a different colour scheme for the wires. Unless you have some data on the wiring dont attempt this as you could get caught on the wrong end of a wire and get your head blown off.

- PSU means Power Supply Unit

-If the LED on the front doesn't come on chances are you have the leg wired up the wrong way around just switch the wires on the legs and it should light.

-Some modern Power supply's will have a "sense wire" this has to be connected to power for the Power supply to function. If the wire is grey connect it to an orange wire, if it is pink connect it to a red wire.

-The High wattage power resistor can become quite hot; you could use a heatsink to cool it down but make sure it doesn't short anything out.

-If you insist on putting everything inside, you can put the fan on the outside rather then the inside.

-The PSU fan can be noisy , it is powered by 12v. Since it isn't power computers anymore and doesn't heat up as much you can snip the red wire of the fan and connect the orange 3.3v wire. Keep an eye on your circuit after you do this, if it produces too much heat connect the fan back up to the red wire.


CONGRADS You have successfully finished your Power supply!

Thanks to other tutorials on Wikihow and Instructables because I used some of there pictures.

If you have any questions email me at prod_lad@hotmail.co.uk



1-40 of 72Next »
emcelhannon says: Jun 8, 2013. 9:01 AM
I used a lm350 and a 10k pot. I only get a .2 volt range, (full power to -.2). Is this indicative of a bad pot, regulator, caps or component choices?
jasshopper says: Jun 1, 2013. 10:04 AM
how can i get(or can you)24v at a minimum of 10A out of it?(the modifications)?
zacker says: May 28, 2013. 5:24 PM
I am a total newb and am trying to follow this but I have a couple questions...
-5v, -12v or +5v, +12v? what are those? and whats with the plus, minus? i thought 12v was 12 v?
How would these read on a tester? I want to use this mainly to power an Electrolyte Rust Removal tank (13 gallon tub) and it really only needs to be like, 12v dc with about 2 amps... But for Amps, the more I can safely get, the better I guess. With 2A I'd most likly be leaving it running for up to 8 hrs at a clip. Thoughts? I have a Delll, 305W PSU its like a P/N: N305N-00 or something like that. please see my next comment...
zacker in reply to zackerMay 28, 2013. 5:31 PM
THis is the Pin Out directly off the Dell Site for my PSU....
Pin Number, Voltage / Name, Color of Wire.

1 +3.3 VDC* Orange
2 +3.3 VDC* Orange
3 COM Black
4 +5VDC Red
5 COM Black
6 +5 VDC Red
7 COM Black
8 P_OK Gray
9 +5 VFP Purple (Whats VFP?)
10 +12 VBDC White (Whats VBDC?)
11 +12 VBDC White
12 +3.3 VDC* Orange
13 +3.3 VDC*/SE* Orange
14 ? 12 VDC Blue
15 COM Black
16 PS-ON Green
17 COM Black
18 COM Black
19 COM Black
20 NA NA
21 +5 VDC Red
22 +5 VDC Red
23 +5 VDC Red
24 COM Black
*The orange +3.3 VDC output wires must be 16 AWG. The +3.3 VDC terminals are high current type (9 A current rating/Molex-HCS type).
*The +3.3VDC/SE is a brown sense wire for +3.3VDC and is optional.
zacker says: May 26, 2013. 6:23 PM
hi, this is just what im looking for except one thing. I am using a PSU from a DELL XPS and its a 750W and it has both a 20 wire plug AND a 24 wire plug besides all the other little connectors with 6 or 4 wires.
Do I use ALL the wires? take every black wire and put them together, every red, every orange, blue (well, blue with a white stripe)... ? also, do i use a 10w, 10 ohm resistor or do i need a bigger one? thanks!
Rahib172 says: Mar 2, 2013. 11:40 PM
Can i use all black Ground wires instead of -12 wire ? i don't need 22+ volts output just need 1v to 12v variable power with good amp.. And can i use LM-350 instead of LM317 or LM338K ?
Thank u
Shawn112270 says: Jan 4, 2013. 8:42 AM
I am trying to convert a new 1200W PSU and have found that in addition to the expected wire colors there are Yellow & Green wires as well. I looked around online and found that they are "Protective Ground" wires.

What do I do with them?

Any help would be great.

Thanks,
E
somebody12345 says: Jan 18, 2012. 4:54 PM
how many amps does this put out???
31mimo in reply to somebody12345Sep 20, 2012. 3:17 PM
You can not get more Amperes than the -12Volts rail.( probably max. 2 Amperes) LM317 only gives out 1,5Amperes. you can add a 2N3055 for more Amperes.The variable with LM317 is not suitable for a CB radio. Am I wrong?
Gelfling6 in reply to somebody12345Aug 13, 2012. 12:37 PM
Depends on the supply.. Most have the amperage listed on the side label, BUT.... here's the catch.. To achieve that maximum amperage, will require ALL wires for that voltage, not just 1 or 2.. I.E. for a 250W, you'll need all 10 red wires for the +5V, with a 10W load resistor, to get 240W (48-Amp MAX!).. and that supply will be maxed out if you pull that total, and shut-down from overload.

I've made a few supplies, +/-12V, +5V, +3.3V (No -5V.) out of the 200W supplies from a bunch of old Optiplex desktops.. usually use a 30-Ohm, 5W resistor across the +5. Been able to run gadget projects, Amateur Radio equipment, (with little to NO noise, surprisingly.) external hard drives, even charge Gel-Cell batteries from them.

It also depends on the condition of the supply... Brand New? Pulled from a working computer? or pulled from a failed computer? If the last, suspect even the supply may be bad, and NOT a good candidate for conversion. (See remark below I made to Coolinst, about the one that went up in smoke.)
Gelfling6 says: Aug 13, 2012. 12:54 PM
I've always used the lower-right schematic as my basis for all of the supplies I've converted. Never used the Standby +5 voltage, though, though I imagine it would be usable for an electronically switched (On/Off) supply that you would want to be able to power-down to idle, but bring-up with an external circuit. (shades of a power-up on LAN)..

There are some circuits for ( http://img.photobucket.com/albums/v472/n1np/local/manual_fan_controller.jpg for example) for manual control, but thermal control would require making a circuit that uses a thermal varister in place of the potentiometer... most of the time, I'd simply leave the noisy fan be, as it's doing its job, and unless noise is a problem (needing quiet for recording, etc.) it's not worth baking the supply, but slowing the fan.

Most supplies have a built-in speed control now, and the last few supplies I've converted, I replaced the straight-wired fan with a thermal circuit & fan (if it fits) from another supply I've scrapped.
Coolinst says: Mar 9, 2010. 7:50 PM
 My PSU has no green wire. What should I do?
Gelfling6 in reply to CoolinstAug 13, 2012. 12:27 PM
most Dell supplies, are wired slightly different on the ATX connector.. Sometimes a Grey, sometimes a totally different color.. Once it gets this confusing, the next step is to unplug the supply from the wall, and let it sit overnight.. then break-out the screwdriver, and open the box.. Sometimes, if you're lucky, they have the wires labeled on the PBC of the supply.. I'm looking at a 350W supply from Dell, that I pulled from a Optiplex G570 someone killed. So-far, the Pwr-On wire is blue, and I haven't fried anything yet. (still remembering my 1st Dell supply going up in smoke..)
brusho150 in reply to CoolinstNov 17, 2011. 6:29 AM
I have the same problem how you overcome it. Please tell..
prodlad (author) in reply to CoolinstMar 10, 2010. 8:13 AM
its not atx standard. it could say on the side or search for wiring schemes on google
Sean E says: Jul 23, 2012. 11:28 AM
hi, for the variable voltage method what voltage capacitors did you use?
lone_viper says: Mar 3, 2012. 9:29 AM
Hi,
I am putting one of these together and have come across something that I might be getting wrong....

In mocking up the LM317 circuit in breadboard, I have got the thing metering -11v to +11v??? I am using one of the black ground wires on the black side of the volt meter, but cant figure out why I am not just getting positive voltages??? Could the diode be faulty? Or is this in fact correct?

Any help appreciated...
nhorn in reply to lone_viperMar 13, 2012. 2:34 PM
lone_viper,
The way you are measuring, it is correct.

reg set for max: meas +22var(actual +23)-->R1-->R2--> -12-->psu gnd= +11v

reg set for min: meas +22var(actual +1)-->R1-->R2--> -12-->psu gnd= -11v

0V has to become new gnd or (0V adj)
jsorbo says: Mar 4, 2012. 2:37 PM
Just wanted to say I loved the grammar and spelling disclaimer. Can't wait to build one of these. Cheers!
Will10YO says: Jan 21, 2012. 4:15 AM
This is sweeeeet! I'm 12yrs old and I built this- well, almost. I want to put in a resettable fuse / circuit breaker but I don't know what I should limit the current to. I want at least 2 amps but the only way to test it's potential could ruin it. What do you think I should limit it to?
M0HIZ says: Jan 3, 2012. 10:16 AM
Well done! I'm 14 too and also have a keen interest in electronics.
dent244 says: Dec 21, 2011. 5:43 PM
where did you learn about electronics so well? i am 16 and i have been trying to teach myself, i have done enough to understand the basics but i get lost when i try to go further, like i have some gaps in my learning? did you have a formal education?
park47 says: Dec 12, 2011. 4:27 PM
Hi Thank You...for careful and detailed instructions. Please keep on doing this , there're new-ones in e-town everyday. It's very useful...:)
DJ-AS says: Nov 25, 2011. 2:12 PM
It's a nice idea, but the variable +22v just have 1A like -12A, or i'm wrong?
pcmxa says: Jan 13, 2009. 10:56 PM
Nice tutorial. I am a total newbie at this and I was wondering if anybody had troubleshooting tips. I have wired one up (coolmax nw-650b) but it isn't working. green is connected directly to black I have connected the small orange wire (the 3.3v sense wire) to another orange wire. I have a 10ohm 10 watt resistor on one red wire and one black wire. The standby led lights when the unit is plugged in. But the mains power led connected to gray wire doesn't light when PSU is turned on. The fan doesn't come on either. The resistor doesn't heat up.. There is a very faint whine a few seconds after power-up and power down. The capacitors on the PSU are holding a charge. There is an 8 ohm resistance on the red and the orange wires. Between the yellow and the black I am getting 9.85 kohms. There is no brown wire. The blue wire is not connected to anything. I have two yellow and black striped slightly smaller gauge wires that at first I had connected to nothing and then connected to other yellow wires. No difference. Any thoughts? Thanks
prodlad (author) in reply to pcmxaJan 16, 2009. 10:39 AM
There probally is a short some where. Make sure the mains on led is the right way around. Try disconnecting everything and just short the green and black wire. Make sure any wires arnt touching any other wires except the green and black. If the capictors dont hold charge your PSU has lost all hope. Il add a troubleshooting section to the tutorial.
HVahead in reply to prodladNov 15, 2011. 2:59 PM
i had the same issue and found that there is a switch used for switching between us voltage and foreign(now used as my power switch).there are two gray wires off of it try shorting one of them to the case while your supply is plugged in and "on"(if it applies to you) and if that doesn't work use the other one... i must do this every time the psu is unplugged if this doesnt work then get a new supply 'cause som'ns fried
pcmxa says: Jan 16, 2009. 11:34 AM
Thanks, a troubleshooting section would be great. Where I am at now: The fuse on the circuit board is good, the capictors hold a charge (When I plug in the PSU the standby LED comes on, when I turn on the switch on the PSU casing after a few seconds the standby led goes out. with a slight whine from the capacitors.). I have a circuit (tested using Ohm meter) from the green wire (the one originally connected to the 20 pin device) and the black(ground)wire bundle. There is no circuit between the black wire coming off the PSU casing switch to the board or to the white (hot ) wire coming from the power plug in. I also get a circuit from the second heat dispenser to a ground wire but not from anything before it in the circuit. So my best guess is I somehow shorted something out, or I don't have a sense wire connected properly. I will disconnect everything and see if I redo step by step, but I think something is shot. Thank you for the info.
HVahead in reply to pcmxaNov 15, 2011. 2:56 PM
i had the same issue and found that there is a switch used for switching between us voltage and foreign(now used as my power switch).there are two gray wires off of it try shorting one of them to the case while your supply is plugged in and "on"(if it applies to you) and if that doesn't work use the other one... i must do this every time the psu is unplugged if this doesnt work then get a new supply 'cause som'ns fried
rich_moe in reply to pcmxaMar 4, 2009. 8:18 AM
without looking, I would say that the sense line (normally a small, brown wire) needs to be grounded, but through a resistor. something that is rated for 25W at about 2-5 Ohms shoud do it. other PSU's need a load on the +5VDC line in order to regulate properly and have a smooth output. i don't know which yours is, but if your sense line or the +5VDC line has no load on it, the PSU 'sees' this as a short to ground and shuts down. YMMV.
prodlad (author) in reply to pcmxaJan 17, 2009. 4:25 AM
Tips and troubleshooting added
brusho150 says: Nov 9, 2011. 1:33 PM
HI!
Brilliant instructable I am new in electronic engineering and wanted a lab power supply will you please tell me that how Can we connect a potetiometer(voltage regulator),rheostat, voltmeter and ammeter in atx power supply to calculate and vary voltage and current?
Thanks
ecabrales says: Jul 30, 2011. 4:57 PM
Yeah also you are limited by the current rating on the -12V side so all you really get as a max ouput current rating is 800mV. Well, depending on the power supply you might end up using.
BOOJAN says: Mar 18, 2009. 4:50 PM
how many amps can this power supply give at his outputs??(I mean the version with lm317)
hannobisschoff in reply to BOOJANMay 25, 2011. 7:53 AM
LM317 can max out at 1.5 amps
prodlad (author) in reply to BOOJANApr 13, 2009. 11:41 AM
depends what voltage lines your using. if your adding the variable resistor i wouldnt draw any more than 3 but the 12v and the earth you could draw up to ten. I suggest fusing the -12v line or the earth. Dont fuse the positive as by the time the fuse blows the damage will be done.
CrouchingFather says: May 13, 2011. 8:36 AM
Ok did some Internet research for, and yes you can run them in parallel and even in series if you isolate the grounds (more complicated), i have learned that older PS had V out adjustments, and if you were to parallel two +12v PS you would want to add diodes on both sides to prevent feed back. If your PS has a manual V adjustment you can compensate for the voltage drop across the diodes and still get +12v out. They do this to run radio equipment and to make chargers for RC cars. This link has some really good info on the subject of getting +15v/25A or higher.
http://www.antennex.com/preview/archive3/powers.htm
CrouchingFather says: May 12, 2011. 7:38 PM
If you really needed a higher current, couldn't you use 2 power supplies? As long as they were grounded together you could combine the +12v's, and then vary that. I know it would be a little clumsy with two plugs, but you could get 12V/12A+/- or higher. Don't know much about the power supplies, but makes sense if you think about the PS as two batteries run in parallel. Don't take my word on this it was just a brain storming solution and has not been tested.
Randel says: Aug 5, 2010. 2:15 PM
Hey..Just built one of these from a tower I was throwing out. And it works Great! I brought out the 3.3, 5, 12, and -12. And used the Gray wire for a power on LED, except used 220 ohm resistor. The 3.3 required the small orange and brown wire to be tied to it, for feedback. And didn't use the stand by wire...But like I said, It works Great! And I give you, prodlad, all the credit..Thanks for a fun and useful project! I've attached a picture..but still need to label output posts....
power supply.jpg
prodlad (author) in reply to RandelAug 6, 2010. 3:36 AM
thanks
1-40 of 72Next »
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!