5v DC from 220v AC circuit

leoncorleone:
Sorry, do you have any circuit for it?
thanks again.

I just described it to you, lol :smiley: . You just have to make it.

See attached schematic.

Power_Broker:
I just described it to you, lol :smiley: . You just have to make it.

See attached schematic.

You have to be joking! The rectified 240 V mains will be directly connected across the 5V zener. This will put very high current through the bridge rectifier and the zener and either the zener or the bridge will fail; probably with a loud bang. If the zener fails then the capacitor and resistor will see the rectified mains and something else will give once again probably with a load bang.

This whole circuit is so silly and dangerous that I have to question your sanity and qualifications.

stowite:
You have to be joking! The rectified 240 V mains will be directly connected across the 5V zener. This will put very high current through the bridge rectifier and the zener and either the zener or the bridge will fail; probably with a loud bang. If the zener fails then the capacitor and resistor will see the rectified mains and something else will give once again probably with a load bang.

This whole circuit is so silly and dangerous that I have to question your sanity and qualifications.

Ahhh, yes. It should be isolated with a step down transformer. Forgive me for the mistake, you are right, sir.

If budget allows then why not use this tiny little AC 220v to DC 5v module? it cost me about 4$ and it easily fits on my PCB and breadboard. :slight_smile:

module name Hi-Link HLK-5M05

It has a built in transformer and capacitors, in case you're wondering if it's just a cheap 4 rectifier diode inside that tiny box.

MarkT:
A USB mobile phone charger?

lot cheaper

Noobian:
If budget allows then why not use this tiny little AC 220v to DC 5v module? it cost me about 4$ and it easily fits on my PCB and breadboard. :slight_smile:

module name Hi-Link HLK-5M05

I think that module can run at 5V, 0.6 Amp continuously. The OP reckons they need 1 Amp.

You can take the circuit out of one of these, it's pretty small

Input Voltage 100V-240VAC
Frequency 50-60Hz
Output Voltage 5V
Output Current 2A

Switching DC Wall Power Adapter 5V / 1A - dipmicro electronics 1A
Switching DC Wall Power Adapter 5V / 2A - dipmicro electronics 2A

Thanks everyone.
I have another question.
What kind of Transformer is used in below converter?
This is a 220v AC to 5v DC converter.

tnx

Power_Broker:
Ahhh, yes. It should be isolated with a step down transformer. Forgive me for the mistake, you are right, sir.

It will still go BANG. Even if the AC source in your diagram is the secondary of a step-down transformer, you have no current-limiting resistor for the Zener diode, so it will die, then the full rectified voltage will be available at the output, probably murdering anything attached.
And even with a series resistor, this circuit is nowhere near suitable for an output current of 1A.

leoncorleone:
Thanks everyone.
I have another question.
What kind of Transformer is used in below converter?
This is a 220v AC to 5v DC converter.

tnx

Judging by the size of the transformer, that would be a switching converter, and the transformer would be a high-frequency step-down transformer.

I agree with CrossRoads, pulling the guts out of a commercial 240VAC to 5VDC 2A switching converter is probably the best way to go.

leoncorleone:
Thanks everyone.
I have another question.
What kind of Transformer is used in below converter?
This is a 220v AC to 5v DC converter.

It's just a 2 coil transformer.

Does somebody have any circuit for a switching converter like that?I want to make one of this.
tnx

leoncorleone:
Does somebody have any circuit for a switching converter like that?I want to make one of this.
tnx

You clearly do not have the knowledge to safely design or build a circuit that connects to the mains.

It will be easier, cheaper and safer to do as CrossRoads suggested.

OldSteve:
You clearly do not have the knowledge to safely design or build a circuit that connects to the mains.

You're right.But I want to know more about it.

leoncorleone:
You're right.But I want to know more about it.

Look up switch mode power supply, or switching regulator power supply, buck converter.

But be really careful. Even with that particular module you showed before, one side is potentially dangerous level of voltage (and power). So that's potentially dangerous in itself. But then, if the module isn't designed properly, or bad quality....then even the low voltage side can turn dangerous.

Southpark:
I think that module can run at 5V, 0.6 Amp continuously. The OP reckons they need 1 Amp.

its a 1amp module

Another vote for phone/device charger. Why risk killing yourself in making a $1-2 item.

I also, highly recommend you to not kill yourself with that and just gut a phone charger (or even better, do NOT gut it und keep it in the casing). Your questions suggest that you lack basic electro technical knowledge. Get that with 5V first.

For completeness there is already a thread about that HLK transformer module:
https://forum.arduino.cc/index.php?topic=399990.0 though I am not particularly happy with the safety discussion there. I suggest reading this (really long) thread at the mysensors forum:
Safe In-Wall AC to DC Transformers?? | MySensors Forum

Phone charger is by far the easy way to go and there cheap even at 2 amps the iPad ones supper small and can be found for $1,00 at the dollar tree

Power_Broker:
Ahhh, yes. It should be isolated with a step down transformer. Forgive me for the mistake, you are right, sir.

NO.

For the love of all that is decent and good, DO. NOT. EVER. BUILD. THAT. CIRCUIT.

Do not pass Go, do not collect $200, put your hands in the air where I can see them, and back away from the breadboard slowly. Don't make any sudden movements.