PDF download Download Article
ATX power supply conversion made simple
PDF download Download Article

Do you need a power supply for your workbench? Perhaps you are learning electronics. A typical lab power supply can cost $100 or more, but a computer ATX power supply is only around $30 and can be salvaged from an old PC. Save money by converting a cheap ATX power supply from any discarded computer. This DIY project will give you a power supply that produces a +3.3V, +5V, and +12V current and some practice assembling basic electronics. It won't produce the same power as a standard lab power supply, but it will be sufficient for testing and running simple electronics.

Convert ATX Power Supply to Bench Power Supply

  1. Attach the binding posts and switch to the case.
  2. Cut the connector off the wires and separate the wires by color.
  3. Connect a red wire to a 10-Ohm resistor and the other end to a black ground wire.
  4. Connect the remaining red wires to the +5V binding post.
  5. Connect the yellow wires to the +12V binding post.
  6. Connect the orange wires to the 3.3V binding post.
  7. Connect the remaining black wires to the ground post.
Part 1
Part 1 of 2:

Preparing the ATX Power Supply

PDF download Download Article
  1. You can |purchase an ATX power supply from your local computer store or an online computer parts distributor. Alternatively, you can dismantle 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:
  2. Not all power supply units have a power switch, but it is generally on the back. Also, be sure you are not grounded so that the remaining voltage doesn't flow through you to the ground.
    • To avoid receiving an electric shock from the power supply unit, wear shoes with rubber soles and avoid touching anything metal while handling the electronic components.
    Advertisement
  3. First, remove the screws that attach the power supply to the computer case. Detach the wires from the motherboard and other computer components. Then, remove the power supply.
  4. To do so, simply let the power supply sit unconnected and unplugged for a few days.
    • Warning: Some people suggest attaching a 10-ohm resistor between a black and red wire (from the power cables on the output side); however, this is only guaranteed to drain the low voltage capacitors on the output - which really aren't dangerous. It could also leave the high-voltage capacitors charged, resulting in a potentially dangerous—or even lethal—situation.
    • Warning: 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 were connected to 240V while set at 120V (for example), the protection circuits would probably be destroyed. If so, the power supply might not shut down when it is overloaded or when it begins to fail.
  5. For this build, you're going to need the following items:
    • 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
  6. Remove the screws connecting the top and the bottom of the PSU case. Then, carefully remove the case.
    • Warning: 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.
    • Warning: Do not remove the circuit board unless necessary. The traces and solder on the underside could still discharge high voltage if you didn't let the PSU sit long enough. If you must remove it, use a multimeter 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.
    • Warning: Anything above 30 milliamps/volts can kill you or, at the very least, give you a painful shock. Ensure you remove the power cord before the conversion and discharge the capacitors by letting it rest for a few days. If in doubt, use a multimeter to check the voltage.
  7. The connectors are the plastic parts connecting to the computer's motherboard and other components. Leave a few inches of wire on the connectors so you can use them later on for other projects.
  8. Some power supply units may have additional colors, such as brown. The color code for the wires is as 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. 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, mount the fan outside 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.
  10. Use a Dremel to drill the starting holes, followed by a hand reamer to enlarge them until they 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 inside the power supply.
    • Be careful not to leave any metal fillings or debris inside the circuitry of the power supply unit.
  11. Use a drill to drill holes big enough for the LED lights to fit through.
  12. If you don't have the tools to cut a straight line through metal, you can use a drill to drill holes all along the shape of the cut you want to make. Then, use wire cutters to cut the space between each hole. Then, you will need to file the edges of the hole down to make them smooth.
  13. Advertisement
Part 2
Part 2 of 2:

Connecting & Testing

PDF download Download Article
  1. Screw the binding posts into their corresponding holes and attach the nut on the back. Make sure they do not touch anything inside the power supply.
  2. Connect one of the red wires to the power resistor and one black wire to the other end of the 10-ohm power resistor. 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.
  3. 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.
    • Some power supplies need the grey and green to be connected to run.
    • If you don't want to use an additional switch, just connect the green and black wires 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.
  4. Connect the grey (Power On) wire to the anode (long end) to the red LED. This will be your power-on light.
  5. Connect the cathode (short end) of the LED to one end of the 330 ohm dropping resistors. Then, connect the other end 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 its place. You can solder the wires directly to resistors and the anodes and cathodes of the LEDs. Cover the wires with heat shrink tubes. You can cover the resistors with heat shrink tubes, too.
    • Resistors are non-polarized. It does not matter which side you connect a resistor to.
  6. Connect the purple (standby) wire to the anode (long end) to the green LED. This will be your standby light.
    • 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.
  7. Connect the cathode (short end) of the LED to the anode of one of the 330-ohm dropping resistors. Connect the other end 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.
  8. -5V lines are only used on older ATX power supplies. Connect the white wire to the -5V binding 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.
  9. Strip all the red wires so that bare wire is exposed at the ends of the red wires. Then, solder 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.
  10. Strip all the yellow wires so that bare wire is exposed at the ends of the yellow wires. Then, solder them all together and solder them to the +12V binding post. Make sure the wires are covered with heat shrink tubing.
  11. Strip all the orange wires so that bare wire is exposed at the ends of the orange wires. Then, 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 a gray or brown wire representing "power good"/"power ok".
    • Most PSUs have a smaller orange wire used for sensing— 3.3V—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 have two or fewer orange wires, you should also have a brown wire that must be connected to the orange.
  12. Strip all the black wires so that bare wire is exposed at the ends of the black wires. 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 wires and cover them 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.
  13. 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 is one. Check to see if the standby LED light comes on. Then flip the switch and make sure the Power On LED comes on. Use a digital voltmeter to test each binding post. Make sure you do not short any wires out. It should look good and work like a charm!
  14. Once everything is working, you can go ahead and reattach the casing with all the binding posts, switch, and LEDs to the rest of 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.
  15. Advertisement

Expert Q&A

Search
Add New Question
  • Question
    I actually want to remove and replace just the plug on one of my power cords—how do I do that?
    Marvin Woo
    Marvin Woo
    Licensed Electrician
    Marvin Woo is a licensed electrician and the Owner of Woo's Electrical & Appliance based in East O’ahu. With over two decades of experience, he specializes in troubleshooting issues and maintaining residential electrical systems. Marvin is both licensed and insured to complete electrical work in the state of Hawaii.
    Marvin Woo
    Licensed Electrician
    Expert Answer
    Disconnect from the power cord from the power supply and cut off the old plug. Strip away any excess length from the bundle sheathing and conductor insulation of your power cord so they'll fit into your replacement plug. Reconnect the wires one at a time to match the original polarity and ground.
  • Question
    How do I check the wattage of my AC circuit using a multimeter?
    Marvin Woo
    Marvin Woo
    Licensed Electrician
    Marvin Woo is a licensed electrician and the Owner of Woo's Electrical & Appliance based in East O’ahu. With over two decades of experience, he specializes in troubleshooting issues and maintaining residential electrical systems. Marvin is both licensed and insured to complete electrical work in the state of Hawaii.
    Marvin Woo
    Licensed Electrician
    Expert Answer
    When checking wattage for an AC circuit, I prefer to use a clamp on multimeter. Clamp onto one line of wire and take your reading (which will usually be in amps). Multiply that figure by the voltage of the circuit to determine the wattage.
  • Question
    Can I convert a computer ATX power supply to use for a ham radio?
    Community Answer
    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.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

  • You can take advantage of the hole left by the power supply cabling to install a cigarette lighter connector. That way, you can connect car appliances to your power supply.
  • If the power supply does not work, that is, there is no LED light, check to see if the fan has come on. If the fan is on, the LED may have been wired wrong (the positive and negative leads of the LED may have been switched). Open the power supply case and flip the purple or gray wires on the LED around (make sure that you do not bypass the LED resistor).
  • If you are not sure of the power supply, test it on the computer before you harvest it. Does the computer power on? Does the PSU fan come on? You can place your voltmeter leads into an extra plug (for disk drives). It should read close to 5V (between red and black wires). A supply you pulled may look dead because it does not have a load on its outputs and the enable output may not be grounded (green wire).
Show More Tips
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

Warnings

  • Do not touch any lines leading to capacitors. Capacitors are cylinders wrapped in a thin plastic sheath, usually with exposed metal at the top with a + or K. Solid-state capacitors are shorter, a little wider in diameter, and do not have a plastic sheath. They retain a charge much like batteries, but unlike batteries, they can discharge extremely fast. Even if you have discharged the unit, you should avoid touching any points on the board except where necessary. Use a probe to connect anything you might touch to the ground before beginning any work.
  • Make sure you are NOT grounded when working on power supplies so that power doesn't flow through you to the ground.
  • The resulting power supply will provide high-output power. If you make any mistakes, you might create an electric arc at the low-voltage outputs or fry the circuit you are working on. Lab PSUs have adjustable current limitations for a reason.
  • Ensure that you discharge the capacitors. Plug in the power supply, turn on the power (short the Power (green) wire to the ground, then unplug the power supply until the fan stops spinning.
Advertisement

Things You'll Need

  • An ATX power supply of any rating above 150 watts (can be found from an obsolete computer, online, or at your local computer store). It should NOT be modular.
  • Wire cutters
  • Needle nose pliers
  • Drill
  • Reamer
  • Soldering Iron & Solder
  • Electrical Tape
  • Heat Shrink Tubing & a heat gun or hair dryer
  • Binding posts
  • LED
  • Current limiting resistor for the LED (330 ohms)
  • Power resistor to load the power supply
  • Low Wattage Switch
  • Computer Power Cable

You Might Also Like

Install a Power SupplyInstall a Power Supply
Building a Shed from Scratch? Follow These Instructions
Build a Garage Work Bench
Use an Old ATX Power Supply As a Lab Power Supply Without Modification Repurpose an ATX Power Supply for a Lab
Check Your Laptop’s Battery Health in Windows 10 Test Your Laptop’s Battery Health in Windows 10
Ground Yourself to Avoid Destroying a Computer with Electrostatic DischargeGround Yourself to Avoid Destroying a Computer with Electrostatic Discharge
System Interrupts 100 Cpu Fix System Interrupts Using 100% CPU on Windows
Find and Update Drivers4 Easy Ways to Check for Driver Updates on a Computer
Find System Specs Check PC Specs on a Computer, Phone, or Tablet
Disable BIOS Memory Options Disable BIOS Memory Options on a Windows PC
Check if Your Computer Can Have a Wifi Card7 Steps to Check if Your Computer Can Have a Wifi Card
Configure Master and Slave in BIOS for Two Hard Disk Drives in a Single SystemConfigure Master and Slave in BIOS for Two Hard Disk Drives in a Single System
Establish Nvidia SLIEstablish Nvidia SLI
Install a Network Interface CardInstall a Network Interface Card
Advertisement

About This Article

Marvin Woo
Co-authored by:
Licensed Electrician
This article was co-authored by Marvin Woo and by wikiHow staff writer, Travis Boylls. Marvin Woo is a licensed electrician and the Owner of Woo's Electrical & Appliance based in East O’ahu. With over two decades of experience, he specializes in troubleshooting issues and maintaining residential electrical systems. Marvin is both licensed and insured to complete electrical work in the state of Hawaii. This article has been viewed 2,644,649 times.
How helpful is this?
Co-authors: 63
Updated: December 7, 2024
Views: 2,644,649
Article SummaryX

1. Aquire an ATX power supply.
2. Drain the power and open the power supply.
3. Cut connectors off all the wires and separate them by color.
4. Connect a red wire to a 10 ohm power resistor, then connect it to a black ground wire.
5. Connect the green wire to the switch and connect the other end to a black ground wire.
6. Connect the grey wire to the anode of your power-on LED.
7. Connect the purple wire to the anode of your Standby LED.
8. Connect the cathode of both LEDs to a 330 ohm resistor and connect them to a black ground wire.
9. Connect the remaining red wires to the +5V binding post.
10. Connect the yellow wires to the +12 V binding post.
11. Connect the orange wires to the +3.3 V binding post.
12. Connect the remaining black ground wires to the ground binding post.
13. Put it back together and test it.

Did this summary help you?

Thanks to all authors for creating a page that has been read 2,644,649 times.

Reader Success Stories

  • Miguel Suarez

    Miguel Suarez

    Mar 13, 2017

    "I was looking for a power supply for my projects and this article has just solve the matter. Thank you very much...." more
Share your story

Is this article up to date?

Advertisement