Find all your DIY electronics in the MakerShed. 3D Printing, Kits, Arduino, Raspberry Pi, Books & more!
0 – 24 Volt, 2 Amp Bench Top 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.

You’ll see example shots of point-to-point wiring of components to perfboard while following a schematic for this power supply. A wood enclosure is built, and Adafruit’s Mini Volt Meter, Vout posts, and a potentiometer are mounted in the final product.

Parts List:

  • One 3×5" perfboard
  • LM317 variable voltage regulator
  • BR805D Bridge Rectifier
  • Heat Sink
  • 120 VAC to 24 VDC transformer (mine is part number LP-575)
  • Power cable
  • Two 1000 microfarad capacitors
  • One 0.1 microfarad capacitor
  • One 1 microfarad capacitor
  • One 100 ohm resistor
  • One 5k ohm variable resistor
  • One 1N4002 diode
  • 1/2" plywood
  • 1/8" wood or MDF
  • six half inch wood screws
  • 8 1/2" long x 1/8" wide nuts and bolts
  • Plastic knob
  • Mini volt meter from Adafruit Industries


Step #1:

0 – 24 Volt, 2 Amp Bench Top Power Supply0 – 24 Volt, 2 Amp Bench Top Power Supply0 – 24 Volt, 2 Amp Bench Top Power Supply0 – 24 Volt, 2 Amp Bench Top Power Supply
  • Solder the positive and negative (red and black) leads from the transformer to the power cable. Twist the threaded wires together and use a liberal amount of solder, completely covering all connections. Finish with heat shrink tubing or electrical tape.
  • Apply thermal compound to LM317 and screw into heat sink.
  • Wire all components to the perfboard. There are a couple of ways to go about this: some find it's easier to put all the components into the holes first and bend the wires so they stay in place, then solder everything together. I like to go step by step, following each part of the schematic individually to verify that I have every connection correct.
  • You'll be using point-to-point wiring on the back of the perfboard. Make sure that all your connections are separated, and use insulated wires if you have to cross over any connections you've already made.
  • Make sure to solder leads onto your potentiometer for easy mounting to the enclosure later on. Also be sure to short out the middle pin to an adjacent pin on the pot, so it functions as a variable resistor and not a voltage divider.
  • Solder long leads to two header pins on your positive and negative output for easy mounting to the enclosure later on.

Step #2:

0 – 24 Volt, 2 Amp Bench Top Power Supply
  • Solder the mini volt meter directly to the output leads.
  • Now you should be ready to test your power supply. Remember that you are working with high voltage from the mains. Use all proper precautions when testing, and if you don't know what those are, find someone who does and can help you!
  • Be ready to unplug quickly if you see smoke or smell something funny. Usually this might happen because a component is shorted and burned out. It can generally be diagnosed and fixed relatively quickly.

Step #3:

0 – 24 Volt, 2 Amp Bench Top Power Supply0 – 24 Volt, 2 Amp Bench Top Power Supply0 – 24 Volt, 2 Amp Bench Top Power Supply
  • There are many different ways to build wooden boxes for project enclosures. Briefly, I used the thick plywood as a base to drill into, and attached the thinner sidewalls with machine screws after drilling pilot holes. I then hot-glued the sides and top together.
  • I used a 1" hole saw to snake the power cable through. This leaves room for the plug to fit through and also aids in ventilation.
  • Attach the perfboard and transformer to the bottom of the enclosure using nuts and bolts.

Step #4:

0 – 24 Volt, 2 Amp Bench Top Power Supply0 – 24 Volt, 2 Amp Bench Top Power Supply0 – 24 Volt, 2 Amp Bench Top Power Supply0 – 24 Volt, 2 Amp Bench Top Power Supply
  • Drill holes for your potentiometer and power terminals, and cut a space for your volt meter. I used a laser cutter to do this step, but it can also be done with a drill and a coping saw or scroll saw.
  • Twist the positive and negative leads to two separate screws. These will serve as your power terminals.
  • Attach power terminals and potentiometer to the face of the enclosure using nuts.
  • The mini volt meter comes with mounting holes, but I opted to hot glue it into place. This seemed to secure it well.

Step #5:

0 – 24 Volt, 2 Amp Bench Top Power Supply0 – 24 Volt, 2 Amp Bench Top Power Supply0 – 24 Volt, 2 Amp Bench Top Power Supply
  • Carefully tuck all your wires into the enclosure and hot glue the control panel to the rest of the enclosure.
  • Attach a knob to your potentiometer.
  • Make sure you've clearly labelled your positive and negative terminals. Now you can easily attach alligator clips to them and use this adjustable power supply for many different types of electronics projects.

Michael Colombo

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.


  1. Colombo says:

    It was supplied by my institution, probably bought in bulk. But you can use any transformer that has similar specs – judging from a recent user comment you’d probably want to go with one that’s lower amperage so you don’t accidentally burn out the LM317.

  2. Colombo says:

    Sorry I’m not exactly sure what you mean…did you find different part numbers from JameCo? What do you wish to edit?

  3. Colombo says:

    I think you could test it with a 9 volt to see if the LM317 is doing its job – though someone may need to verify this for me…

  4. Joseph says:

    I mean just adding links to Jameco products
    (Note I am not affiliated with Jameco. I just opened their catalog first.)

  5. Joseph says:

    This should be fine, BUT you will not be able to get a full 24v.
    Just 1.5v-9v about.

  6. Colombo says:

    Great to hear you’ve improved upon the original design! Once you’re finished please post links to photos, or put them in the Makezine flickr pool.

    - The best place for a fuse is probably right after the bridge rectifier on the positive lead, before it goes through the rest of the circuit.

  7. Eric Marcoullier says:

    Did you ever find the Jameco part numbers? I can’t find a suitable transformer but I’m not sure if I’m looking correctly :)

  8. pranker225 says:

    go here:

  9. Doug Strickland says:

    @John – You can still use the transformer mentioned in the project (Jameco Part no. 112513) because it is rated for both primary voltages. Here’s from the datasheet:

    Primary Voltage: 115/230VAC @ 50-60Hz
    Secondary Voltage: 24VAC @ 2A

  10. Andrew wiles says:

    Used these schematics but changed lm317 for lm338 and now i have a 1.5 to 35v 0-3.5a power supply great just finished it and very chuffed with it

    1. Alberto says:

      If I read it right you have current and voltage regulation? can you post pictures or schematics?

  11. Jasonc says:

    I didn’t see the bridge rectifier used in any of the steps…

  12. Aman Singhal says:

    CAN i really rely on this i mean does it really work

  13. Aman Singhal says:

    bro it does not work this power supply is rubbish

In the Maker Shed