How to Make a 220V AC to 5V DC Converter Power Supply Using 7805 & Step Down Transformer : A Complete Guide

How to Make a 220V AC to 5V DC Converter Using Step-Down Transformer and 7805 Regulator
Introduction
This guide will show you how to build a safe and reliable 220V AC to 5V DC converter using a step-down transformer and 7805 voltage regulator. This circuit is perfect for:
Arduino and Raspberry Pi projects
Powering sensors and microcontrollers
DIY electronics and school projects
Final Year Projects (FYP) for engineering students
Why This Design?
Safe isolation from mains voltage using a transformer
Stable 5V output for sensitive electronics
Simple and cost-effective solution
Widely available components (found at Hall Road Lahore or Qkzee Tech)
Components Required
Component | Specification | Purpose |
---|---|---|
Step-down Transformer | 220V AC to 12V AC, 1A | Steps down mains voltage |
Bridge Rectifier | 1N4007 diodes (x4) or DB107 module | Converts AC to DC |
Filter Capacitor | 1000µF, 25V | Smooths rectified DC |
Voltage Regulator | 7805 IC | Regulates to 5V |
Capacitors | 100µF & 0.1µF, | Noise filtering |
Heat Sink | For 7805 | Prevents overheating |
PCB/Breadboard | – | Circuit assembly |
Fuse | 250V, 500mA | Safety protection |
Where to Buy Components?
Components are available at Qkzee Technologies Hall Road Lahore, an electronics hub. Check Qkzee Tech or Qkz Tech, which cater to engineering services and DIY enthusiasts for online purchases.
Step-by-Step Construction
1. Transformer Stage (220V AC to 12V AC)
Connect the primary side to 220V AC through a 500mA fuse for safety
The secondary side will output 12V AC (this will become ~12V DC after rectification)
2. Rectification (AC to DC)
Build a bridge rectifier using 4x 1N4007 diodes (or use a DB107 module)
This converts 9V AC to pulsating DC
3. Filtering (Smoothing DC)
Add a 1000µF, 25V capacitor across the rectifier output
This reduces ripple and provides ~12V DC
4. Voltage Regulation (12V to 5V)
Connect the 7805 regulator:
Input Pin → Filtered DC (~12V)
Ground Pin → Common ground
Output Pin → 5V DC output
Add 1000µF at input and 0.1µF and 100uF at output for stability
5. Heat Management
Attach a heat sink to the 7805 (especially if drawing >200mA)
Safety Precautions
⚠️ Warning: Working with 220V AC can be dangerous!
Always disconnect power when making changes
Use proper insulation for all connections
Consider using an enclosure for final projects
Double-check polarity of all components
Testing & Troubleshooting
Check Transformer Output (should be ~9V AC)
After Rectification (should be ~12V DC with ripple)
Final Output (should be stable 5V ±0.25V)
Common Issues:
No output? Check fuse and transformer connections
Overheating? Reduce load current or improve heat sinking
Unstable voltage? Check capacitor values and connections
Applications
Arduino power supply
USB charger circuit
Sensor power modules
DIY lab power supply
School and university projects
Conclusion
Creating your own 220V AC to 5V DC power supply using a 7805 voltage regulator is simple, affordable, and highly useful. Whether you’re building a smart system for your FYP or tinkering with DIY electronics, this basic power supply module will be a reliable power source.
Where to Buy Your Electronics Components
Looking for affordable components for this Arduino project? Check out QKZee Technologies, an online shop in Lahore, Pakistan, offering the best components for students and DIY projects. Whether you’re looking for sensors, modules, or other electronics at a cheap price, they’ve got it all. Visit them at QKZeeTech.
Can I use a different transformer?
Yes, any transformer with 7-12V AC output will work (e.g., 220V to 12V)
Why not use a phone charger directly?
This project teaches power electronics fundamentals - great for learning!
How much current can this supply?
Up to 1A with proper heat sinking (less without heat sink)
Can I use this converter in my final year project or science project?
Definitely! This 12V to 5V converter is perfect for student projects, final year projects, DIY systems, Arduino automation, and school science projects. It's widely used in universities and technical colleges across Pakistan.
Where to buy components in Pakistan?
visit QKZee Technologies Hall Road Lahore, or contact QKZee Technologies for genuine parts and student-friendly prices