How To Convert A Computer ATX Power Supply To A Lab Power Supply
How To Convert A Computer ATX Power Supply To A Lab Power Supply
Computer power supplies cost around US$30, but lab power supplies can run you $100 or more! Save money by converting the cheap ATX power supplies that can be
found in any discarded computer. This DIY project will give you a power supply that produces a +3.3V, +5V, and +12V current, as well as some practice assembling
basic electronics. It won't produce the same power that a standard lab power supply will, but it will be sufficient for testing and running simple electronics. This wikiHow
teaches you how to convert an ATX power supply into a lab bench power supply.
Part Part 1 of 2:
1 Preparing the Power Supply
Aquire an ATX computer power supply. Look online or at your local computer store for an ATX computer power supply. Alternatively, you can dismantle
1 an old computer and remove the power supply from the case. Some older ATX models include an additional -5 V line. Some online websites you can
purchase an ATX power supply include the following:
Newegg.com
Amazon
www.atxpowersupplies.com
Unplug the power cable from the power supply and turn off. Not all power supply units have a power switch, but it is generally found on the back.
2 Also, be sure you are not grounded so that remaining voltage doesn't flow through you to ground.
Advertisement
Remove the power supply from the computer. First, remove the screws that attach the power supply to the computer case. Detach the wires from the
3 motherboard and other computer components. Then remove the power supply.
Discharge the power supply by letting it sit unconnected for a few days. Some people suggest attaching a 10 ohm resistor between a black and red
4 wire (from the power cables on the output side), however this is only guaranteed to drain the low voltage capacitors on the output - which aren't
dangerous to begin with! It could leave the high-voltage capacitors charged, resulting in a potentially dangerous - or even lethal - situation.
If you suspect the power supply is damaged, do not use it! If it is damaged, the protection circuitry may not work. Normally, a protection circuit will slowly
discharge the high voltage capacitors - but if the supply was connected to 240V while set at 120V (for example), the protection circuits have probably
been destroyed. If so, the power supply might not shut down when it is overloaded or when it begins to fail.
Gather the parts you need: For this build, you're going to need the following items: .
5
6 Binding posts (terminals).
A power resistor (10 ohms).
2 LED (recommended one green and one red).
2 dropping resistors (330 ohms).
An SPST switch.
A drill
A Soldering iron
Wire cutters
Heat shrink tubing
Open up the power supply unit. Remove the screws connecting the top and the bottom of the PSU case.
6
Be very careful around the black capacitor caps and all the wires leading to them. They may discharge a strong electric current.
Warning: This will certainly void any warranty you may have on the Power Supply Unit.
Do not remove the circuit board unless you must. The traces and solder on the underside could still have high voltage on them if you didn't let the PSU sit
long enough. If you must remove it, use a meter to check for voltage on the pins of the largest capacitors. When you replace the board, make sure that
the plastic sheet goes back under the board. Only power supply technicians should attempt this.
Anything above 30 milliamps/volts can kill you, or at the very least, give you a painful shock. Make sure that you have removed the power cord before
doing the conversion and have discharged the capacitors by letting it rest for a few days. If in doubt, use a multimeter.
Cut the connectors off of the wires. The connectors are the plastic parts that connect to the computer's motherboard and other computer components.
7 Leave a few inches of wire on the connectors so that you can use them later on for other projects.
Bundle wires of the same colors together. Some power supply units may have additional colors, such as brown. The color code for the wires is as
8 follows: [1]
Red = +5V.
Yellow = +12V.
Blue = -12V.
Orange = +3.3V.
White = -5V (older power supply units only).
Purple = +5V Standby.
Black = Ground (0V),
Gray = power is on (output).
Green = PS_ON# (turn DC on by shorting to ground).
9
Mark where the parts are going to go on the power supply unit casing. Use a permanent marker to mark where all the parts are going to go on the side
of the power supply unit that doesn't have any vents, fans, or other components. Mark where you want to put each binding post and what voltage it
corresponds to. Also mark where you want to place the LEDs, the switch and any additional components you want to use.
To get more room you can mount the fan on the outside of the PSU case or remove it. You can also attach more fans if you are using a high-wattage
power supply. If you don't have enough room inside the power supply, you can mount all the components to a separate board outside the power supply
unit.
Drill holes in a free area of the power supply case. Use a Dremel to drill the starting holes followed by a hand reamer to enlarge the holes until they
10 are large enough to fit your binding posts. Also, drill holes for the power ON LED, Standby LED, and switch.
Make sure you don't put any holes where the binding posts will be touching anything on the inside of the power supply.
Be careful not to leave any metal fillings or debris inside the circuitry of the power supply unit.
Drill holes for the LED lights. Use a drill to drill holes big enough for the LED lights to fit through.
11
Cut holes for the switch and any additional components. If you don't have the tools to cut a straight line through metal, you can use a drill to drill
12 holes all along the shape of the cut you want to make. Then use wire cutters to cut the space in between each hole. Then you will need to file the
edges of the hole down to make them smooth.
Advertisement
Part Part 2 of 2:
2 Connecting All The Components
Attach the binding posts to the holes. Screw the binding posts into their corresponding holes and attach the nut on the back. Make sure they do not
1 touch anything inside the power supply.
Connect the 10 ohm load resistor. Connect one of the red wires to the power resistor and one black wire to the other end of the 10 ohm power resistor.
2 This acts as a load, which the power supply unit needs to function properly. The power resistor will give off a lot of heat and should be mounted on the
metal wall for proper cooling (or a heat sink mount). Make sure it doesn't short circuit anything.
You can also consider using a lighted 12v switch, which will act as the load necessary to turn on the power supply.
If you aren't afraid of some soldering, you can replace the 10w power resistor with the cooling fan that was originally inside the PSU, be careful with the
polarity though - match the red and black wires to each other.
Connect the switch. Connect one green (PS_ON) wire to one end of the SPST switch. Connect the other end of the switch to a black ground wire.
3
Some power supplies need the grey and green to be connected together in order to run.
If you don't want to use an additional switch, just connect the green and a black wire together. The PSU will be controlled by the rear switch, if there is
one. You also don't need an LED, just ignore the gray wire. Cut it short and insulate it from the rest.
Connect the Power-On LED. Connect the grey (Power On) wire to the anode (long end) to the red LED. This will be your power-on light.
4
Connect the Power-On LED to a 330 ohm resistor. Connect the cathode (short end) of the LED to the anode of one of the 330 ohm dropping resistors.
5 Then connect the cathode of the dropping resistor to a black ground wire. Once the LED is connected, you can use hot glue or super glue to mount the
LED in it's place. You can solder the wires directly to the anodes and cathodes of the LEDs and resistors. Cover the wires with heat shrink tubes. You can
cover the resistors with heat shrink tubes too.
Connect the Standby LED. Connect the purple (standby) wire to the anode (long end) to the green LED. This will be your standby light.
6
The +5VSB line is +5V standby (so the motherboard's power buttons, Wake on LAN, etc. work). This typically provides 500-1000 mA of current, even
when the main DC outputs are "off". It might be useful to drive an LED from this as an indication that the mains are on.
Connect the Standby LED to the 330 ohm resistor. Connect the cathode (short end) of the LED to the anode of one of the 330 ohm dropping resistors.
7 Connect the cathode of the resistor to a black ground wire. Cover the wires with heat shrink tubes. You can cover the resistors with heat shrink tubes too.
Connect the white to the -5V binding post (if present). -5V lines are only used on older ATX power supplies. Connect the white wire to the -5V binding
8 post, if you have one. Make sure the wires are covered with heat shrink tubes (recommended) or electrical tape.
Look for ATX power supplies with a 20-pin connector, a 20+4-pin connector, or an AT power supply if you need -5V.
Connect the remaining red wires to the +5V binding post. Strip all the red wires so that bare wire is exposed at the ends of the red wires. Then solder
9 them all together and solder them to the +5V binding post. Make sure the wires are covered with heat shrink tubing.
If you only have three red wires, another wire (sometimes pink) must be connected to them.
Connect the yellow wires to the +12V binding post. Strip all the yellow wires so that bare wire is exposed at the ends of the yellow wires. Then
10 solder them all together and solder them to the +12V binding post. Make sure the wires are covered with heat shrink tubing.
Connect the orange wires to the 3.3V binding post. Strip all the orange wires so that bare wire is exposed at the ends of the orange wires. Then
11 solder them all together and solder them to the +3.3V binding post. Make sure the wires are covered with heat shrink tubing.
Note that some power supplies may have either a gray or brown wire to represent "power good"/"power ok". (Most PSU's have a smaller orange wire that
is used for sensing-- 3.3V- and this wire is usually paired at the connector to another orange wire. Make sure this wire is connected to the other orange
wires, otherwise your lab power supply won't stay on.) This wire should be connected to either an orange wire (+3.3V) or a red wire (+5V) for the power
supply to function. When in doubt, try the lower voltage first (+3.3V).
Some newer power supplies will have "voltage sense" wires that need to be connected to the actual voltage wires for proper operation. If you only have
two or less orange wires, you should also have a brown wire which must be connected with the orange.
Connect the remaining black wires to the ground binding post. Strip all the black wires so that bare wire is exposed at the ends of the black wires.
12 Then solder them all together and solder them to the +3.3V bind post. Make sure the wires are covered with heat shrink tubing.
Check for loose connections by gently tugging on them. Inspect for bare wire, and cover it to prevent a short circuit.
If you don't feel like soldering nine wires together to a binding post (as is the case with the ground wires) you can snip them at the PCB. 1-3 wires should
be fine. This includes cutting any wires that you don't ever plan on using.
Test the power supply. Plug the power cable into the back of the power supply and into an AC socket. Flip the main cutoff switch on the PSU if there
13 is one. Check to see if the standby LED light comes on. Then flip to switch and make sure the Power On LED comes on. Use a digital voltmeter to test
each of the binding posts. Make sure you do not short any wires out. It should look good and work like a charm!
Reattach the casing. Once everything is working, you can go ahead and reattach the casing with all the binding posts, switch and LEDs to the rest of
14 the power supply unit.
The voltages that can be output by this unit are 24v (+12, -12), 17v (+5, -12), 12v (+12, GND), 10v (+5, -5), 7v (+12, +5), 5v (+5, GND) which should be
sufficient for most electrical testing.
Advertisement
Community Q&A
Question
Can I convert a computer ATX power supply to use for a ham radio?
Community Answer
Yes, except that your radio may need 13.8 volts which will require a specific power supply but may still function. Check your manual for input voltage range
(11.5 - 14v) for example so 12 v will work in this case.
Question
Can I combine the +12V and +5V wires onto one output port?
Community Answer
No, that would make voltage unstable and potentially damage the power supply. The power supply is more useful with the ability to tap into either voltage,
and each is regulated separately by the power supply.
Question
Community Answer
Question
If I connect the orange (3.3v) wire as Negative (ground) and the yellow (12v) wire as Positive, the output voltage will be 8.6v. Is it safe to use on a
device that requires 8.5-9v?
Community Answer
Yes, it is safe. Be careful if the ground from the power supply connected to your device will damage the power supply, as this means you made a short circuit
for the 3.3 v.
Question
Community Answer
No, they are both +12 v referenced to ground so both are equivalent to each other so if you measure between them it's 0 volts.
Question
Can I use the power supply with a charged battery without connecting it to the AC?
Community Answer
No, not unless you connect a DC power inverter to the battery. A car battery only puts out DC power. A PC power supply (PSU) requires AC power.