Benchtop DC Power Supply

14K32519

Intro: Benchtop DC Power Supply

This has been done probably hundreds of times here on Instructables, but I think that this is a great starter project for anyone interested in getting into electronics as a hobby. I am a U.S. Navy Electronics Technician, and even with costly test equipment at my disposal, I still consider this cheap mod among my favorite and most versatile pieces of equipment.

CAUTION: this Instructable requires the use of power tools. Always use eye protection when operating power tools. Electricity is no joke. Most technicians I know, myself included, have been "bitten" before. ALWAYS verify that power has been removed before working on electrical equipment (and properly protect yourself).

The great thing about this project is that it is cheap and nearly anyone can do it. The basic piece is just a regular ATX-style power supply from a junk computer. Check craigslist, someone near you is probably giving one away!

The piece-parts, however, you probably will have to purchase. I bought mine at Radio Shack because it is across the street. Other sources include Mouser, Digikey, and Amazon. I spent about $50 on parts because I wanted multiple outputs. A variable output is possible, but fixed voltages are ideal for my applications.

STEP 1: Parts List

For this project, I wanted +12V and 5V. The ATX supply also provides 3.3V, so I added a jack for that. When I originally built this, I had in my mind that I would be using it a lot to test car stereo equipment and other automotive parts. Since then, I've done much more work with TTL, CMOS, and microcontrollers. Consider your needs and plan accordingly.

I used the following components:

2 black banana jacks for ground and -12V

4 red banana jacks for positive voltages

1 on/off toggle switch

1 red LED to indicate that power is applied

2 banana plugs

1 set of test leads with alligator clips (36") (cut in half to create two leads)

*Note: you can buy test leads that are already terminated with gator clips

**Additional note: If I were to rebuild this today, I would use color-coded jacks, with red for 5V, yellow for 12 volts, and maybe green or blue for 3.3V. This isn't necessary, but I think it improves safety by making it very clear which voltage level you are accessing.

STEP 2: Open the Case!

1. Disconnect power

2. Open your case: There is a bundle of color coded wires inside. Use a meter (or read the board) to determine the voltage transmitted through each. In my case, 12V was yellow, red was 5V, and orange was 3.3V. Black is (nearly) always ground, but always verify.

3. Decide where you want to mount your controls: I had to play around with my case a little bit to figure out where I could mount the banana jacks without interfering with the internal components of the case. Once you work out your positioning, drill your holes to the appropriate size. The packaging often indicates what size mounting hole is required, but you could also measure with calipers if this information isn't provided.

3a:. I cut most of the wires out, keeping a few of each voltage level for redundancy. Cut those remaining wires to length, strip the ends, and solder them to the appropriate terminals.

3b: Most computer power supplies require a signal to turn on, and mine was no different. You can see in the picture that the green and white wires go to the switch. When the switch in closed (ON), this "wakes up" the power supply. The 5V is also tapped for the LED, which serves to indicate that the power supply is working. Be sure to include a current-limiting resistor (220 ohm is often ideal).

STEP 3: Put It All Together!

4: After you drill your mounting holes and mount your components, you can reattach the case cover. This may require some finesse to get everything to fit. Liberal use of heat shrink tubing, electrical tape, or even scotch kote (it's a paint-on rubber sealer) will prevent any potential short-circuits from occurring.

5: I wire brushed the case to give it a clean look (and also erase all of my pencil marks). At this point you should label the output jacks. Mine are as follows:

The leftmost black jack provides -12V while the right is ground. The red jacks, from left to right, are 3.3 (x1), 5 (x1) and 12v (x2). As mentioned above, if I were to redo this project today, I would add more 5V jacks. I would be tempted to omit the 3.3V, but it may be useful if I start working with low voltage controllers in the future.

The +12V is great if you do a lot of tinkering with operational amplifiers. A bipolar power supply simplifies the design process for AC signal gain considerably. In addition, most circuits only realize the difference between two sources. As such, -12V and 12V will provide +24V, -12V and +5V provide +17V, and -12V and +3.3V provide +15.3V.

6: At this point, you can plug in your new power supply and verify the voltage levels using a multimeter. For the leads, I used a set of alligator clip test leads, cut in half and soldered the cut ends to banana plugs. Banana plugs are a great choice because they can also be used in a meter, limiting the number of different tools and attachments required for your tool kit.

STEP 4: Why Would I Do This?

The uses for a cheap, stable power supply are limitless. It can provide power for breadboard projects for engineering or technology students, be used to test automotive or computer components, or power arduino and/or Raspberry Pi projects and peripherals without depending on your computer's USB ports (a risky proposition).

17 Comments

I built my power supply with the similar instructions as yours using only the 12Volt output to power my Car Airpump (12V 14Amp max).I joined all 5 12V wires (Yellow) together and same for the ground connections to get the max current on the 12V rail which is rated for 17A on this supply.

With no load connected, the SMPS turns on and works fine but as soon as i connect the Car Airpump it trips (shuts itself down) not sure why ?

Now if i connect the same Power supply with a Digital Ampere meter connected in series, the Air Pump works perfectly. Could you help me understand the possible cause for this behaviour and how could i go about fixing or diagnosing it.

Sorry for the REALLY long delay, but the reason is likely the starting current of the pump motor. What is the amperage reading with the meter in series?

Better late than never :)

I ended up swapping the SMPS with a new one and everything worked fine as expected.

Welcome to the club: Just a note to let you know I have added this instructable to the collection: Encyclopedia of ATX to Bench Power Supply Conversion

>> https://www.instructables.com/id/Encyclopedia-of-A...

Take a look at about 70 different approaches to this project. This topic is very popular on instructables.

Thats great.
I need an 18v power supply for my wireless cingular saw. Is it possible to make from pc power supply? Pls advice. Thanks.
Yes. If you only need that voltage, i would use a potentiometer and hook the load (your saw) up to the output. Adjust the potentiometer until you are delivering 18v under load. Then measure the pot and replace it with resistors totaling the same (within 5%) resistance level. The current demands might be higher with that device, so don't be surprised if you smoke the supply.

followed the instructions worked first time brilliant

Is it possible to add a variable voltage control to this instead of having dedicated voltage output?
Yes. Theres a little math and science involved that i dont have memorized, but the bare minimum would be a cheap ebay DMM chip (an LCD that reads voltage) tied in parallel with the output of a potentiometer. I would use the -12 as your low potential and +12 as your high, giving you adjustability up to 24v. Hope that helps!
i made one as well. i would suggest using more than 1 cable to go to each terminal. this way you can get more amps out of it. in my case i was able to use all cables
The wires all tap off of one landing on the board, making the board, not the wires, the bottleneck for amperage. I intended to use 3 wires per jack until I discovered that. This just makes it a cleaner install, less junk inside the case now.

Same here, but on one supply, had to sacrifice 1 GND & 1 +5V to keep it active. (for those odd-ball older supplies, a 33-Ohm5W wire-wound placed inside, in direct line with air flow, bridging +5 to GND, works good.) Nothing say Tim 'Tool Time' Taylor, like a hulking 450W ATX supply, to power an arduino project! ARRR! ARRR! ARRR!!! (Sorry, just being silly.) Great job!!!

On the chances You're lucky, White will be -5V (Not available on newer supplies.. Never understood why?) and blue will be -12V. Which can come in handy, if you're using op-amps that require the bi-polarity voltage. Hmm.. Odd... Check the output of that White wire to GND, You might have -5V, and simply connect an extra GND wire in its place on the switch.. (Green, Pwr_On, to GND)

One more tip/trick, but it doesn't always work, connect across +V to -V... (Connecting the -V to the GND of the meter).. Sometimes, you can pull off 8.3V (+3.3 to -5V), 10V (+5V to -5V), 15.3V (+3.3 to -12), 17V (+5V to -12, or even +12V to -5), or even 24V (+12V to -12V), BUT.... NEVER connect same polarity (try to get anything below 3.3V by +3.3 to +5, etc.) (Most supplies will shut down anyways. The ones that didn't.. Well.. *BOOM!* there went either a Capacitor, resistor, or regulator chip.)

The only negative voltage on my board was -12, but I kept it for the same reasons as you suggest: 24, 17, 15.3 and 8.