Technology Woodworking Workshop
How-To: Variable DC Power Supply


Hobbyist electronics projects need robust, reliable power supplies for prototyping and testing. I learned how to build this circuit from the Basic Analog Circuits class at ITP taught by Eric Rosenthal, but took it several steps further in building a solid enclosure and integrating a voltage meter. Now it lives on my desk, ready to power most small projects I’m working on, ranging from 0 – 24 volts and up to two amps. You can learn all about how to make one yourself using this Make: Projects tutorial.

The mini volt meter from Adafruit is what brought this project to the next level. All of the components on this three-digit, seven-segment display are packaged into a small size. All you need to do to integrate it into any project is attach a positive and negative lead to whatever you wish to measure.

More:

34 thoughts on “How-To: Variable DC Power Supply

  1. Nice little power supply project, Michael! Incorporating the voltmeter was a good move.

    A couple of notes:
    The minimum output will be 1.2V, not 0, as that’s the preset output of the LM317.
    The pot in the Adj return leg let’s you increase the regulated output, but not decrease it.

    For 2 Amps (really only 1.5, per spec), I would recommend a much bigger heat sink, and better ventilation; maybe even a mini fan.

    Whenever the LM317 is regulating the output to a value below the raw supply voltage, say 5 volts out, it has to drop the difference across the regulator. If your bulk supply is around 30 volts as this appears to be, that’s 25 volts dropped across the LM317, at 1.5 amps, or 37.5 Watts dissipated.

    This case (TO-220, or LM317-T) has a thermal resistance from the junction inside to the case of 4°C/Watt. If you could hold the case to 25°C (an *infinite* heat sink), the junction would be at (37.5*4 + 25) = 175°C. It’s rated for a maximum of 125°C…

    The poor device will get smoking hot!

    Dave

    1. Thanks Dave! I’ll certainly be careful when using it, and that should go for anyone else who attempts this project. I wasn’t planning on drawing too much current from it, but am now considering adding a larger heat sink and ventilation fan in a future iteration. Thanks again for a great comment.

  2. I see the bridge rectifier in the circuit diagram and in some of the photos, but it’s not included in the parts list. Does it come with one of the other parts, like the step-down transformer or voltage regulator?

  3. Hello,

    Can you guys help me out. I Just made my power supply with a rating of 1.25-30v and I was wondering if how can I connect my 3 wire mini voltmeter (DC 4.5-30v). My power supply reaches a max voltage of 32v and I don’t know if the voltmeter can handle that voltage.

    thanks for your help! :D

  4. I can’t seem to find the actual project steps. I’d love to create one of these for myself, please help me find steps.

  5. Hey guys. I’ve got some problems in making my power supply. Hope anyone can help me.
    Okay, I’ve got my circuit all done, but what I don’t understand is that the output voltage is fixed at approximately 30V. I’ve checked almost everything, from the condition of the LM317, the potentiometer, the connections (open or short circuits), and everything seems fine. Can anybody share a solution or suggestion to solve the problem? Thanks.

    1. A fuse on the AC input line will provide protection against an internal short circuit. You could fuse the DC output too, but chances are if you try to power something that needs more current than the power supply can provide you will see the voltage dropping before you cause any real damage to your circuit.

Comments are closed.

Tagged

In addition to being an online editor for MAKE Magazine, Michael Colombo works in fabrication, electronics, sound design, music production and performance (Yes. All that.) In the past he has also been a childrens' educator and entertainer, and holds a Masters degree from NYU's Interactive Telecommunications Program.

View more articles by Michael Colombo