So I’m trying to find a cheap, easy, yet safe way to turn 110V/220V into 5V with enough current to drive an AVR and a couple LEDs
Here’s a schematic of what I’m thinking:
I know it’s inefficient and such, but it’s cheap and easy.
I’m open to/would prefer to use something like this instead though. However, I can’t find a suitable transformer to make it work. A 1.5mH transformer with unusual windings. If someone could find one, I’d owe you and would seriously appreciate it as it would be exactly what I’d like.
Otherwise, if I could get input on the schematic above, that’d be great.
Is there a way to add a soft start or inrush protection to it?