I am trying to build a circuit with a transformer to put in 220v to get 12v and if possible get 5v out to
Be sure to click 'more' and select 'suggest as answer'!
If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!
I am trying to build a circuit with a transformer to put in 220v to get 12v and if possible get 5v out to
The most used method is to use a capacitive dropper. It can reduce the mains to a manageable voltage with little loss, You need to know the impedance of your load to calculate the capacitive dropper's value.
You didn't specify if it's 12 V DC or AC. If it's AC, you can just have that dropper. If it's DC, you will have to additionally rectify that voltage. You can then further try to stabilise that voltage if you need.
Your project will not be isolated from the mains voltage. This is all very dangerous. Only to be done if you know what you are doing, and if there is no way for anyone to touch anything.
The most used method is to use a capacitive dropper. It can reduce the mains to a manageable voltage with little loss, You need to know the impedance of your load to calculate the capacitive dropper's value.
You didn't specify if it's 12 V DC or AC. If it's AC, you can just have that dropper. If it's DC, you will have to additionally rectify that voltage. You can then further try to stabilise that voltage if you need.
Your project will not be isolated from the mains voltage. This is all very dangerous. Only to be done if you know what you are doing, and if there is no way for anyone to touch anything.