Go Down

Topic: Converting 220 AC to 5 DC (Read 2222 times) previous topic - next topic

amrit94

hello,

I'm trying to convert the voltage from 220 to 5 v to give to Arduino.
This circuit can work?

allanhurst

#1
Oct 31, 2016, 10:44 am Last Edit: Oct 31, 2016, 10:50 am by allanhurst
Good grief!

         -  well it might - I haven't flogged through the sums.. and it would be terribly inefficient even if it did.  If ( a quick glance ) it needed to supply 300mA, your resistors would be dissipating 80 + watts to deliver only 1.5 watts into the 5v load!

BUT it means there's live mains all over the place, with serious safety issues.


Please buy for a couple of quid/euros etc  a  standard plug-mounted device from ebay or any hobby shop.

Be sure to get a regulated one.

regards

Allan

amrit94

I thank you for the advice
Please give an example of these devices.
as you can mount these devices?
Thanks again

Budvar10

#3
Oct 31, 2016, 11:15 am Last Edit: Oct 31, 2016, 11:37 am by Budvar10
Nowadays, each mobile phone has 220VAC/5VDC charger with USB socket. Just plug the cable.
Arduino clone with ATmega1284P   http://forum.arduino.cc/index.php?topic=277260.0

Zapro

NO - JUST NO!

Buy a simple USB-"charger" that you use to power your phone. They are safer and delivers a nice 5V 1-2A

Warning: Don't buy the absolute cheapest ones (ones for a $) since they are dangerous, too. Get a brand-made one.

// Per.

amrit94

the problem that I have to attack from the wires not from the electric socket

Grumpy_Mike

Agreed that is a death trap and will probably go up in smoke.
Get something like this:-
5V power supply

But surely have you not got an old power supply from some defunct electronic equipment? Or do you throw away the power supply when you throw away the device?

Quote
the problem that I have to attack from the wires not from the electric socket
What does that mean?

amrit94

I found this device but do not know how to mount it

http://www.ebay.com/itm/1PCS-AC-220V-to-DC-5V-500mA-Step-Down-Isolated-Switching-Power-Supply-Module-CA-/142058971090



Grumpy_Mike

Quote
the problem that I have to attack from the wires not from the electric socket
If attack is actually the word attach, then your best bet would be to use a cable mounted socket and attach the wires to that. Consumer products that attach to the mains must have a fitted mains plug. Modules that allow connection to the mains with wires are commercial products and will tend to be a higher wattage than you need.

Even breaking into the plug and attaching wires to it is a safer option than your original circuit.

Grumpy_Mike

Quote
I found this device but do not know how to mount it
Then don't buy it.

amrit94

ok thanks for his availability.
but where can I buy a cable mounted socket and a plug-mounted device.
Thank again

Grumpy_Mike

Quote
but where can I buy a cable mounted socket
Any electrical shop should have these. If not:-
https://www.rapidonline.com/rvfm-free-mains-socket-13a-black-23-0153

Quote
and a plug-mounted device.
Already given you a link to one of these but here is another from the same supplier:-
https://www.rapidonline.com/stontronics-t4108st-5w-plugtop-smpsu-5v-1a-uk-85-2928

amrit94

do you think i can use these two components together?

http://www.banggood.com/AC-DC-5V-500mA-0_5A-USB-Switching-Power-Supply-USEU-Plug-p-937135.html


http://uk.rs-online.com/web/p/iec-connectors/7769122/

Grumpy_Mike

Quote
do you think i can use these two components together?
No.

amrit94

thank you very much
I did not see the post.
you know if there is even plug-mounted device that is 0.5 A
Thanks again

Go Up