Diy Regulated Power Supply 12v , 5v And 3v From Pc Psu


Skip to comments

Hello EZ Robot members. I came up with the idea to post this mini project because my roommate needed a power supply to power leds and also 12v fans. Lots of members really need a good high amp dc bench power supply on a budget. My roommate went to a local electronics supplier and recently paid 90 dollars for a 7amp 12v DC power supply. Pc power supplies are generally reliable , handle 15 to 40 amps DC and are 1/5 the price. Take for example the Thermaltake 425 watt TR2 for 30 dollars at Best Buy in the USA.

Safety alert! Capacitors in psu can pop you pretty hard so avoid touching internals of a pc psu even when its not plugged in.

By — Last update
Choose the right psu. Prices have really dropped on pc power supplies so your not limited to used equipment. New power supplies will list three ratings. The important ones are the ones with a positive sign after them. There will be three voltages we are looking at.

12 volt rail - great for bench power supply or source of power for a charging circuit for your autonomous robot.
5 volts - already ideal voltage for ezb and servos. Make your own bench supply to test high torque servos. Also 5v is great for sensors too.

3.3 volts - well leds? Maybe this rail wont be used much
User-inserted image

Look online or at your local computer store for an ATX computer power supply, or dismantle an old computer and remove the power supply from the case.

2Unplug the power cable from the power supply and turn off the switch on the back (if there is one). Also, be sure you are grounded so that you don't introduce any static electricity and fry everything.

3Remove the screws that attach the power supply to the computer case and remove the power supply.

4Cut off the connectors (leave a few inches of wire on the connectors so that you can use them later on for other projects).

5Discharge 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 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.

User-inserted image

Gather the parts you need: binding posts (terminals), a LED with a current-limiting resistor, a switch (optional), a power resistor (10 ohm, 10W or greater wattage, see Tips), and heat shrink tubing.

Bundle wires of the same colors together. If you have wires not listed here (brown, etc), see the Tips.
User-inserted image

The color code for the wires is: Red = +5V, Black = Ground (0V), White = -5V, Yellow = +12V, Blue = -12V, Orange = +3.3V, Purple = +5V Standby (not used), Gray = power is on (output), and Green = PS_ON# (turn DC on by shorting to ground).
Drill holes in a free area of the power supply case by marking the center of the holes with a nail and a tap from the hammer. Use a Dremel to drill the starting holes followed by a hand reamer to enlarge the holes until they are the right size by test fitting the binding posts. Also, drill holes for the power ON LED and a Power switch (optional).
User-inserted image

User-inserted image

Connect one of the red wires to the power resistor, all the remaining red wires to the red binding posts;Connect one of the black wires to the other end of the power resistor, one black wire to the cathode (shorter lead) of the LED, one black wire to the DC-On switch, all the remaining black wires to the black binding post;Connect the white to the -5V binding post, yellow to the +12V binding post, the blue to the -12V binding post, the gray to a resistor (330 ohm) and attach it to the anode (longer lead) of the LED

-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). If a power supply is non ATX or AT compliant, it may have its own color scheme. If yours looks different that the pictures shown here, make sure you reference the position of the wires attached to the AT/ATX connector rather than the colors.Connect the green wire to the other terminal on the switch.Make sure that the soldered ends are insulated in heat shrink tubing.Organize the wires with a electrical tape or zip-ties.12
User-inserted image

Ok so this pic shows how you can get creative to have a higher voltage if you need. Please be sure to always verify your connection and voltage with multimeter!

User-inserted image
i have so many PSU power supplies i converted one back about 3 years ago
they make great power supplies and can easy find on in the trash off a old computer
i went a little more adding a meters and making it variable the 12 volt source
was also going to make it current adjustable too
ALSO if anyone needs any type of regulators i have almost every value and postive and negative types
i have a p4-350w what is the minimum load for it to power up when i connect ps_on with gnd it makes some noise then turns off when i pulse ps_on with gnd fast i have around 3v on 12v rail bad output but when i disconnect ps_on i have solid power on 5v standby please help
@khudo , its a switching power supply. It can power on with zero load. You will want to ground the green wire. Use the normal on and off switch to power it on and off. If it doesn't have one add a regular toggle switch to cut the 110v ac power.
MOST power suppy does need a 5 ohm load on the 5 volt line or wont stay stable or stay on

look at the breakout board by sparkfun it uses 20 ohm load at 2 watts for the 5 volt line

atx breakout board schematic