Here's how to convert an ATX PC power supply so that it has USB ports for supplying power over USB cables and also has the usual other voltage available too: +3.3V, +5V, +12V. I didn't bother with the -5V and the -12V but they're easy to add by duplicating some of the steps below.

Most modern desktop computers use some variation of the ATX standard for their power supplies.

Converted ATX power supply powering a robotic eyeball and Raspberry Pi using USB ports.
Powering a robotic eyeball and Raspberry Pi using USB.
Front view of converted ATX power supply.
Front view.
Rear view of converted ATX power supply.
Rear view.

Here are what some power supplies look like when taken from computers. I used the irregularly shaped one since it was rated for 400 watts and the more boxy one was 200 watts.

400 watt ATX computer power supply.
400 watt power supply.
200 watt ATX computer power supply.
200 watt power supply.
The ATX power supplies original wiring.
The original wiring.
Showing the wiring after the conversion of the ATX computer power supply.
The wiring once it was converted.

The wires/Molex connector

The connectors on the ends of the wires are called Molex connectors. Which pins of the connector do what is part of the ATX standard. Notice that there are a variety of colors to the wires. Since wires of every color go to the biggest connector, we'll look at that one.

Note that there are 20-pin ATX connectors and 24-pin ATX connectors. Both are shown below.

20-pin ATX Molex connector pinout

Here's the connector with the pins numbered.

ATX 20-pin connector labelled with pin numbers.
ATX 20-pin connector.

Here's what the pins mean.

1+3.3V
2+3.3V
3GND/common
4+5V
5GND/common
6+5V
7GND/common
8Power all OK, +5V
9On standby, +5V
10+12V
11+3.3V
12-12V
13GND/common
14Power on switch
15GND/common
16GND/common
17GND/common
18-5V
19+5V
20+5V

24-pin ATX Molex connector pinout

Here's the connector with the pins numbered.

ATX 24-pin connector labelled with pin numbers.
ATX 24-pin connector.

Here's what the pins mean.

1+3.3V
2+3.3V
3GND/common
4+5V
5GND/common
6+5V
7GND/common
8Power all OK, +5V
9On standby, +5V
10+12V
11+12V
12+3.3V
13+3.3V
14-12V
15GND/common
16Power on switch
17GND/common
18GND/common
19GND/common
20-5V
21+5V
22+5V
23+5V
24GND/common

Schematic for converting a ATX power supply

The following it the schematic for how I wired it. Notice that I didn't bother with the -5V and -12V. I also put easy-to-replace fuses for each voltage since the power supply's fuse was soldered in place and buried inside the power supply.

Converted ATX power supply schematic.
Converted ATX power supply schematic.

Video - Convert ATX Computer Power Supply for USB

The following video goes through all steps to converting a power supply. It goes from removing it from the computer to making a front panel to wiring it up and testing. It also includes how to add USB ports.

More topics

rimstar.org - Share your project on rimstar.org - About - Privacy policy - © 2020 Steven Dufresne
Contact: