I have a circuit and a microcontroller. The circuit take 110 V AC, and I need 5 V DC to power the board. The circuit is plugged to a power outlet where it takes its power. What I need to do is to power the microcontroller from the wall plug. For that reason I need to convert 110 V AC to 5 V DC and since I am doing the PCB for the controller I though I can install the power supply on top of my board with a USB type power supply to power my board.
I wonder if there is existing schematics that I can use for that purpose? Ideally if there are ready to go Eagle files that can be used?