5V SUPPLY

I am doing a project to generate a 5v ,1A power supply.But its not working,when i give then input 230v ac supply then the circui going to break with sound..here i am attaching the circuit, please check it and help me if you feel any problem in the circuit.. thank you....

Why is it so complicated? Why not use a transformer into a diode bridge and 3 pin regulator?

Weedpharma

weedpharma:
Why is it so complicated? Why not use a transformer into a diode bridge and 3 pin regulator?

Weedpharma

HELLO SIR, THANKS FOR YOUR REPLY..I need a power supply its more stable and small in size..for charging mobile phone,etc.so i selected this circuit sir

Then just buy one... Switch mode supplies are not easy to build. Cheaper and easier to buy one.

septillion:
Then just buy one... Switch mode supplies are not easy to build. Cheaper and easier to buy one.

What septillion said!! Switching supplies are cheap and unless you are experienced in building them and doing board layout, they often result in letting the magic smoke out until you get it right. Also, you are working with the 230v mains in your case (I am used to 110 here). That is very dangerous to work with if you don't know what you are doing (and errors in wiring not only lets the magic smoke out, but the magic sparks as well!!)

Hello friends,

THANKS FOR YOUR REPLY.......

i need the power supply in my board itself, so i bought a 5v mobile charger and copy the circuit to my pcb and take the same components from the charger, but don't know why it smoked and broken in my PCB.

Most likely thing (assuming you wired it correctly on the board) is you got a component backwards that should not be backwards (diode, electrolytic capacitor etc.)

ecworks:
i need the power supply in my board itself,

Why? Just place it next to it. Or, measure where the wires go, make a nice footprint for KiCad/Eagle/WhatEver and just stack it on the board. Less work, better result and safer. Because I don't think you're really up for the task of designing your own mains switch mode power supply board. Let's say your schematic isn't really up to standards for that...