Simple 3V DC Power Supply Circuit Using LM317 Voltage Regulator

A 2xAA sized battery can give exact 3V DC output in series connection, But in microcontroller projects and other sensor based projects this batteries can not be use for long time, because its charge will drain quick. So we need a dedicated 3V DC power supply circuit for continuous working without any problems. The circuit consist of a 230V AC to 6V DC steps down transformer, GBU406 bridge rectifier and LM317 adjustable voltage regulator IC. The circuit configuration will gives a stable 3V DC volt at output. This circuit is very useful for powering the small electronics device like LEDs, sensors, and microcontrollers.

Advertisements

Components Required

ComponentSpecification/ValueQuantity
Transformer230V AC to 6V AC1
Bridge RectifierGBU406 or 2A Bridge rectifier1
Voltage RegulatorLM3171
Capacitor (Electrolytic) (C1, C3)100µF / 16V2
Capacitor (Ceramic) (C2)0.01µF1
Resistor (R3)1kΩ1
Resistor (R2)470Ω1
Resistor (R1, R4)330Ω2
LED (Red) (LED1)Standard 5mm1
LED (Green) (LED2)Standard 5mm1
Output Terminal2 pin1

Circuit Diagram

3V DC Power supply circuit
3V DC power supply circuit diagram

Tools and Equipment Needed to Build the Circuit

Tool/EquipmentPurpose
Soldering IronTo solder components onto the PCB or veroboard
Solder WireFor making electrical connections
Wire Cutter/StripperTo cut and strip wires for connections
MultimeterTo test voltage, continuity, and connections
ScrewdriverFor tightening terminal blocks and mounting
Needle-Nose PliersTo bend leads and hold small components
PCB or VeroboardBase for assembling the circuit
Heat Sink CompoundImproves heat transfer between LM317 and heatsink
Heat SinkHelps cool down LM317 voltage regulator
AC Power CordTo connect the transformer to 230V mains
Insulation Tape/Heat ShrinkFor insulating exposed wires or joints

Connection Explained

  • The above given circuit a 20V Ac to 6V AC stepdown transformer is using to step down the high voltage AC current to low voltage.
  • The Output connection of transformer is connected to the 4A bridge rectifier of GBU406, you can use 1N4007 based bridge rectifier incase of budget friendly circuit.
  • This bridge rectifier circuit converting the pulsating 6V Ac to a pulsating 6V Dc output.
  • 100µF/16V electrolytic capacitor is connected in the output pin of the bridge rectifier. This will smooths the pulsating DC from the rectifier and giving a steady DC voltage.
  • Then the 6V DC is connected to the LM317 adjustable voltage regulator IC. This IC is delivering the 3V steady voltage in output. The output voltage is controlled by the Resistor R1 and R2 of 330Ω and 470Ω which is connected in the adjust pin of the IC.
  • The Red LED (LED1) shows the input power is active and Green LED (LED2) shows the regulated 3V output is available.
  • Capacitors C2 of 0.01µF and C3 of 100µF using as the high frequency filtering and provides a smoother output. At last From the 2 pin screw terminal we can take output volt of 3V DC.

Working Principle

  • The 230V AC supply is connected to the primary side of the step down transformer. The transformer steps down the 230V AC voltage to 6V AC volt at the secondary.
  • The bridge rectifier converting the 6V AC voltage into corresponding DC voltage with ripples.
  • The Capacitor C1 smooths the rectified DC as a steady non pulsating voltage.
  • The LM317 regulator connected with R1 and R2 which will sets the output to 3V DC at the out section.
  • Capacitors C2 and C3 clean up any remaining noise or ripples and the LEDs show power status. Red = Input is on and Green = 3V DC Output is ready
  • The output terminal delivers stable 3V DC for your electronics projects.

Voltage Calculation for 3V DC Output Using LM317

To calculates the output voltage of the LM317, this following formula is used,

Vout = 1.25V (1+R2/R1)

in the circuit diagram R1 = 330Ω and R2 = 470Ω, Then the output voltage will be calculated,

Advertisements

Vout = 1.25 (1+470/330)

Vout = 3.03V

Applications of the 3V DC Power Supply Circuit

  • Powering 3V Electronic Devices like sensors, microcontrollers, and small modules.
  • Ideal for driving red, green, or yellow LEDs that operate around 2-3V
  • DIY Electronics Projects
  • Embedded Systems Development
  • The circuit is acts as a temporary replacement for 2xAA batteries

Tips for Building the 3V DC Power Supply Safely

  • Use a Proper Heat Sink on the LM317 voltage regulator IC o prevent overheating and extends the regulator’s life.
  • Double check the connection polarity of the capacitor, LEDs, and power connections is correct to avoid damage.
  • Always test the circuit with a Multimeter to see output voltage with and input voltage.
  • The input side is connected to the mains electricity. So Be very careful or use an isolation transformer while testing.
  • Add a small fuse on the primary side of the transformer to protect against short circuits.
  • For a stable and durable build, assemble the components on a proper board instead of a breadboard.
Akhil Satheesh

Akhil Satheesh

Akhil Satheesh is an electronics expert and the Founder and CEO of Soldering Mind. He specializes in designing innovative electronic circuits and custom, high-performance PCB layouts. Every project he shares on solderingmind.com is rigorously bench-tested to ensure accuracy for makers and hobbyists alike.

Leave a Reply