Let's Make Robots!

Benchtop power supply from ATX computer power supply


I was tired of wasting batteries while testing my robots and other circuits, and having to dig out voltage regulators every time I needed 5v or 12v for a circuit, so I started thinking of alternatives. I looked into commercial benchtop power supplies like this one, and they're definitely nice, but for 99% of my work, I don't need a fully adjustable voltage and current -- usually I just need one of a few different voltages (3.3v, 5v, 12v, and maybe 9-10v to simulate a 9v battery).

I realized that ATX computer power supplies already put out all of those voltages, and I had one sitting in my closet, so I looked online and sure enough, there's a bunch of guides explaining how to modify an ATX power supply for use as a benchtop power supply. All you need is a power resistor, an LED, and some binding posts. And the cool thing is, these six voltages (-12v, -5v, 0v, 3.3v, 5v, 12v) actually combine to provide a whole lot of different voltages, once you realize that your circuit's 'ground' doesn't necessarily have to be at 0v. I can get 24v (-12v and +12v), 17v (-5v and +12v), 12v (0v and +12v), 10v (-5v and +5v), 8.7v (+3.3v and +12v), 8.3v (-5v and +3.3v), etc.

I won't go through the whole walkthrough and explain every single step, since there's plenty online (I found this one and this one particularly useful), so I'll just post my pictures. IMPORTANT: If you build one, be sure to pay attention to the step where you discharge the power supply's large capacitors by either letting it sit unplugged for several days before opening it, or using a power resistor to short one of the positive lines to ground.

 

02.jpg

Pretty sizeable current capabilities. Of course, I only used one or two wires per rail, so I wouldn't try to drain this much.

03.jpg

The innards. The upper fan was originally mounted inside the case, but I mounted it on the outside to make room for my wiring.

04.jpg

I would have preferred to solder the wires to the binding posts (because then I could have used more wires per rail), but those binding posts didn't take solder well at all. The thinner wires on the +5v (red) and +3.3v (orange) posts are voltage sense wires -- they have to be connected in order for the power supply to work. The gray wire goes to 5v when the output power is stabilized, so I wired it up to a green LED to act as a power indicator light.

05.jpg

Unneeded wires trimmed away.

06.jpg

ATX power supplies have a 'soft' power function -- the green wire tells the power supply to turn on or off. I shorted it to ground to keep the power supply on as long as the switch on the back is in the On position.

07.jpg

ATX power supplies apparently also need to see a minimum load in order to stay on, so this 10 ohm 10W power resistor takes care of that. Another option would have been to use a 12v light bulb for the power indicator instead of the LED.

01.jpg

The completed power supply.

08.jpg

My workspace (tidied up significantly).

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
BaseOverApex's picture
I've only ever had to use -ve voltages as a Vref anyway. Anyone know if this is reasonably typicaly? Is there stuff that needs to draw real current from a -ve supply?
BaseOverApex's picture
Any idea what the ripple is like?
Casca's picture
It's pretty small - I measured a pc supply on the scope several years ago just for giggles, and the ripple was suprisingly small. The formua I seem to rember using as Vr=I/CF where Vr is ripple voltage, I is circuit current, C is your filter cap (or caps) and F is Frequency (at the rectifier). You can measure the freq on the scope, or just figure it will be about 2X the mains.
BaseOverApex's picture
I don't imagine the +5V is desperately stable at 38A. Anyone have a 200W 0.2 ohm resistor handy?!?!?!?
TheCowGod's picture

Not a clue. I don't even know how ripple voltage would affect my life, so I won't know how to tell if I'm seeing it or not :)

Dan

TheCowGod's picture

Haha, I got that dining room table for free when my friends moved and couldn't fit it in the moving van :)

Yeah, this PSU is relatively heavyweight to be sitting in a closet -- I had it in my computer when I built it, but when I added the 5th hard drive last year, I found that the 400 watt PSU just wasn't up to the task anymore, so I upgraded to a 700W one (four separate 18A +12v rails, arr arr arr). But I'm sure even a bargain 150W PSU from an old Pentium would be plenty for the average amateur roboticist's needs.

From what I've read, as long as there's some sort of load on it (provided by that 10 ohm resistor), the PSU will be fine. Again, there's enough walkthroughs on this conversion out there that it sounds like plenty of people are doing it, so they must not be running into too much trouble. Well see how it goes, of course. I just finished building it, so I haven't actually used it to power anything yet. I'm looking around the house trying to think of a circuit I need to power :) I thought my motorcycle-powered garage door opener circuit needed troubleshooting, but I tested it again and it seems to be working just fine. Dammit.

Dan

fritsl's picture
Neat!! Thanks!
Is that a Jameco Valuepro breadboard? If so I have the same one :)
TheCowGod's picture

It sure is :) I just picked it up for use with this power supply, so I don't have any experience with it yet, but I'm sure it will be much nicer than the little business-card-sized breadboards from Radio Shack I've been using so far. I'd like to get two more power rails for the outsides though, especially now that I've got all these different voltages so easily accessible.

Dan

Casca's picture

Great idea! I think I'll start working on one as well -