DIY Variable Power Supply Using LM317

Introduction: DIY Variable Power Supply Using LM317

About: Hi i'm a fellow maker and 3D print enthusiast. Studying in mapua uni follow me here and on facebook to see more awesome content in the future

Power Supply one of the most important tools a tinker can have. It allows us to easily test prototype circuits without having to make a permanent supply for it. it allows us to test circuits in a safe way as some power supplies have features such as over current protection, short circuit protection and many more! But a power supply can get expensive really quick and for beginners investing in something so expensive is not an option. Fear not i'm here today to teach you on how to make an easy lab bench power supply that is easy and beginner friendly to make. Using the LM317T linear voltage transistor!

Step 1: Gather the Supplies!

As this is a beginners project most people will have the materials we need already at home! This materials can easily be salvageable from old computer power supply such as the transformer

Here is the list of the materials

> Transformer (any transformer can be used but mine is a 24V 3 amp one)

> PCB (its the white one in the pic which has a Photoresist layer but you can use ordinary pcb's)

> LM317T (1pcs)

> 5k ohm potentiometer.

> Potentiometer knob

> wires

> ac plug (I salvaged mine)

> electrolytic Capacitor (any value I used 47μF)

> Diodes (1N4001) (4pcs)

> Switch

> 220v led (depends on your region's mains voltage) (optional)

Step 2: PCB Time!

We are going to make 2 pcb's for this project 1 is the FULL BRIDGE RECTIFIER!!!! and the LM317T circuit.

The full bridge rectifier is the one that will turn our ac voltage from the transformer to usable DC voltage to power our circuits.

The LM317T circuit on the other hand is the one that will be regulating and adjusting the voltage going to the circuit.

(In the pictures I showed an example PCB design that you can use)

Step 3: Etch Your Sketch!

Whether you etched your PCB or printed unto it its time to etch!

Using the Ferric Chloride place it into a plastic container where you can dip your PCB and etch away the excess copper (Warning: Be careful Ferric Chloride stains clothes and trust me once its stains it stays there forever!)

Step 4: Solder Time

Follow the schematic Diagram above to place your parts in the correct order!

TIP: Remember to always double check before soldering it will make your life a whole lot easier!

(If you followed my PCB just follow the parts placement above)

Step 5: Wire It Up

Wiring it up is as easy as connecting positive to positive and negative to negative!

Tip: take your time in wire management it's easier to debug if there are problems in the wiring.

In the transformer be careful to wire it up to the correct voltage like for example 0-220V for my region it changes on what country you live in

Step 6: Finished!!

Great Job!

You can improve upon this project by adding voltage and current monitors, Heat sinks, and Many more!

I hope this project will serve and aid you for years as a thinker!

PCB Design Challenge

Participated in the
PCB Design Challenge

Be the First to Share


    • Game Design: Student Design Challenge

      Game Design: Student Design Challenge
    • Big and Small Contest

      Big and Small Contest
    • For the Home Contest

      For the Home Contest



    2 years ago

    I... LOVE..

    A... and your project... ;)