LM317 Regulated Power Supply Voltage Select to 1.5V,3V,4.5V,5V,6V,9V 1.5A

Normally begin to learn about electronics power supply from the battery.
For example, 9 volts, 1.5 volts, 6 volts etc.


But there is a disadvantage that when using battery power is discharged. I need to buy a new one. Consume more.

We should the dc power supply have a choice of AC voltage. Which it must provide an output voltage as used often is 1.5 volts, 3 volts, 4.5 volts, 6V, 9V, and the current is about 1 A.

LM317 voltage selector

When we view many circuit ideas, I found that as figure this below (number second the power supply projects in my life) have the best fit.

We use a dc voltage regulator number LM317T is the heart of the circuit. Featured, is the constant voltage.

Low noise. Almost equal to the voltage of the battery. And short-circuit protection as well.

How it works

When we push power switch (S1) on, the AC-line voltage will pass through a fuse F1 and come to transformer T1 to reduce AC volts down to 12 volts.

Then this current flow through the bridge diode model (D1-D4)-1N4001 to full-wave rectifier as DC current.

And through C1 to filter current to smooth up and has C2 filter ripple signal before into LM317.

Learn: How to use LM317 Datasheet pinout and example circuits

LED to display power on the circuit, with R1(2K) currents to reduce it.

1.5V, 3V, 4.5V, 5V, 6V, 9V adjustable power supply instead of a battery
1.5V, 3V, 4.5V, 5V, 6V, 9V adjustable power supply circuit instead of a battery

 

Here is the step-by-step process.

  • The output voltage is determined by rotating a selector switch S2 a level voltage 1.5,3,4.5,5,6,9 volts respectively.
  • C5 (10uF) control impedance and reduce a transient at the output of IC1
  • C3 (10uF)- help to reduce the ripple before it is amplified when the output voltage rises up.
  • C4 (0.1uF) reduces the ripple at the output.
  • D5 and D6(1N4001) for protects IC1 from the discharging of C3 and C5 respectively. In case the input of IC1 is shorted.

The maximum output current about 1.5A depends on the size of the transformer. We should choose the size of the 2A. Or size 1A. For those who want to 1A output current only.

You may also like these:

How to build this project

This project is not used many components so can assemble on the universal PCB board. But can make a PCB as Figure 2.

Then, the wiring for circuit wiring and various components can view of the example in Figure 3.

What to look out carefully for is the polarity of the electrolytic capacitors and Diodes correctly. The pin of the IC is not an error.

pcb-of-lm317-linear-power-supply-regulator-selector-15v3v45v5v6v9v-15a


Figure 2 the PCB of this projects

components-layout-of-lm317-linear-power-supply-regulator-selector-15v3v45v5v6v9v-15a


Figure 3 the components layout and wiring to all parts

Others of LM317 voltage selector

Also, you may like these projects below:

My first Variable DC Power Supply, 1.2V to 30V at 1A using LM317
It’s easy and as cheap as possible.

0-60V/0-30V DC variable power supply using LM317 & LM337
It is high volt and starts voltage at zero! good job.

Best 3A DC power supply, adjustable 1.2V to 20V, 3V-6V-9V-12V
High current for all circuit easy to use. Read more>>

Dual power supply 3V,5V,6V,9V,12,15V with LM317,LM337
There positive and negative voltage output for all circuit easy to use. Read more>>


GET UPDATE VIA EMAIL

I always try to make Electronics Learning Easy.

28 thoughts on “LM317 Regulated Power Supply Voltage Select to 1.5V,3V,4.5V,5V,6V,9V 1.5A”

  1. Sir, its John from the Philippines, What if I want to add 12v and 15v output? What resistor do I need add to work it? Pls. Tell me sir I’d love to do this… Thanks

    Reply
  2. Hi there. I built a very similar supply for my self many years ago. Suggestion for you, make sure the selector switch is a ” make before break” type. If it is the more common break before make, then as you change the voltage selector from one setting to the next there is a brief moment when it is open circuit. This results in the maximum voltage being present on the output for a moment too. I destroyed a low voltage circuit on my unit ( maximum voltage 18v) switching from 3 to 4.5v You might need to shop around to find a make before break type. But I’m sure the bigger suppliers ( RS or Element 14, etc) will have them. Well worth the little extra money.

    Reply
  3. So this is interesting- with electronics, I know enough to be dangerous, so ¿¿ if I want to reduce a ~6.0 -7.4 volt input to 3.6 – 4.2 volt usable output, is a ‘completely’ different story yeah?..but not so complicated, how will I achieve this?…and thanks for the output, duTch

    Reply
  4. Buen dia.
    Tengo una F.A variable con el LM317, de 1,7 a 27 vc., como sabemos nos da un máximo de 1,5,Amperios;como puedo hacer para agregarle más corriente (hasta 3 Amperios), se que se le puede agregar una resistencia y un transistor de potencia.
    Les estaré muy agradecidos por su respuesta.

    Reply
  5. When you are switching a voltage from one to another, the rotary switch will end up in middle position for a short undefined period of time, which might (will) f*ck up the whole thing, and potentionally might burn circuit, since R3 will be floating, and as a result LDO will give out a high voltage spike.

    So, a question: how can I implement a protection for this without redesigning a circuit for having a parallel (to rotary switch) resistor?

    Reply
    • Hi Andrejs,
      Your question is very interesting. You are observant.
      Right now I can’t answer your question perfectly.
      But I have experience. When I twist the switch halfway between the 2 voltages, it causes high voltages at the output. So we have to unload the load first.

      Your point is interesting. I like it a lot. If you can design it then Please don’t forget to share with me.

      Reply
      • It won’t be too hard to change the resistor values around to give me 7.2, 8, 9.1, 10, 12, 15 & 18 volts and add a negative regulator to give the same voltages -7.2, -8, -9.1, -10, -12, -15 & -18 volts on a negative rail. Generally I will be using +9.1 and -9.1 or close to +9.1 & -9.1 volts. For some reason some of the guitar & audio effects I use sound better with (a) dying battery(ies), so I have used 6 to 8.5 volts to feed effects that were designed to run off 9 volt batteries.

        Reply
  6. As for the high voltages on the output that occur in between switching the voltage settings there are some simple tricks with properly selecting rotary switches that work quite well, such as specifying and using a “make before break” switch so the two settings will be shorted together before the other original setting’s circuit will “break” open. With a break before make there is NO resistor in the circuit at all in between settings. There is another unrelated simple trick with circuits that would discharge a capacitor & damage something where a ground is selected and MADE before the next circuit is switched on. This would effectively discharge any caps that might blow up an op amp or other linear chip.

    Reply
    • Yes, when changing the voltage SW2 is open, the output voltage is highest. may destroy the load

      Thanks for sharing your experience about discharging a capacitor & damage something.

      I’ll talk to my daughter again. Shall we try this circuit? It’s very interesting. I like the power supply circuit. LOL

      Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.