Skip to main content
RK
Rojony Khatun
Last updated: Jun 12, 2026

Convert AC to DC Power Supply

Convert AC mains voltage to stable DC with this DIY power supply circuit. Ideal for hobby electronics, microcontrollers, and small devices requiring a regulated DC output.

Advertisement
Advertisement
1000ยตF Capacitor

1000ยตF Capacitor

Large electrolytic capacitor with 1000 microfarads

1K Fixed Resistor 1/4W

1K Fixed Resistor 1/4W

A 1,000-ohm resistor rated for 0.25 watts

3V LED 5mm

3V LED 5mm

3V, 5mm round light-emitting diode

1N4007 Diode

1N4007 Diode

General-purpose 1000V, 1A diode

12V Transformer

12V Transformer

Step-down transformer converting 220V AC to 12V AC

LM7812 Voltage Regulator

LM7812 Voltage Regulator

Fixed positive voltage regulator (commonly 5V, 12V, 15V)

*Please note: These are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!

Advertisement

Convert AC to DC Power Supply

Convert AC mains voltage to stable DC with this DIY power supply circuit. Ideal for hobby electronics, microcontrollers, and small devices requiring a regulated DC output.

Advertisement

AC to DC power supply DIY

A DIY power supply circuit is an AC to DC power supply circuit that converts high voltage AC mains to low voltage DC that can be used in electronics projects. It has a smooth and safe DC output with the help of a transformer, rectifier, and capacitor.

bridge rectifier power supply

The DIY AC to DC Power Supply Circuit is a project aimed at converting the alternating current (AC) on the mains into a stable direct current (DC) voltage, which can then be used on electronic projects. The simple circuit comprises a step-down transformer, a bridge rectifier (diodes), a filter capacitor, and a voltage regulator, which is optional, so as to provide a smooth DC output. The high AC voltage is lowered by the transformer to a lower value. The bridge rectifier makes AC into pulsating DC and the capacitor filter eliminates ripples. To get an accurate voltage output, an adjustable LM317 or a regulator IC (such as 7805, 7812, or adjustable) may be used. The circuit is suited to introduction to electronics projects, microcontroller projects, battery charging, and battery powering of small devices. When dealing with mains AC voltage, proper fuses, safety measures, and insulation should be in use.

Sponsored

Work / Installation (Inputs โ†’ Outputs)

  • AC Input โ†’ Mains supply (e.g., 220V AC).
  • Step-down Transformer โ†’ Reduces voltage to desired level.
  • Bridge Rectifier โ†’ Converts AC to pulsating DC.
  • Filter Capacitor โ†’ Smooths voltage ripples.
  • Voltage Regulator (Optional) โ†’ Provides stable DC output.
  • Output โ†’ Usable DC voltage for electronic devices.
  • Installation โ†’ Assemble on PCB/enclosure; use fuses and insulation for safety.

Testing & Final Adjustments

Once assembled, be careful when connecting the AC input and measure the DC output using a multimeter. Make sure that the output voltage is within the envisaged range. Raise adjustor (when necessary) to fine voltage. Positioning of check capacitors and connection of diodes to avoid failures. Load test using a small device or resistor to ensure stability and ripple reduction. Make sure that there is no overheating of the transformer, diodes, or regulator. Proper insulation and fuse protection should be used to avoid short circuiting or electric shock. Last testing produces a safe, stable and efficient AC to DC power supply that would be used in a hobby, microcontroller or small electronics project.

Advertisement

Frequently Asked Questions - Convert AC to DC Power Supply:

To convert AC mains voltage to stable DC voltage for electronics projects.
Yes, suitable for 5V, 9V, or 12V DC microcontroller projects.
Yes, to step down AC voltage to a safe level.
Optional, but recommended for stable DC output.
Yes, depending on the voltage and current rating.
Yes, basic knowledge of electronics is sufficient.
Yes, handle AC voltage carefully with fuses and insulation.
Transformer, bridge rectifier, capacitor, and regulator IC.
Yes, within the current rating of transformer and regulator.
Yes, uses readily available and inexpensive components.
Advertisement
Advertisement
Advertisement