Here the schematic diagram of offline switching power supply:
Circuit Diagram:
Parts List:
This switching power supply is using a MOSFET. For 220V AC voltage input, use BUZ80A/IXTP4N8 MOSFET and for 110V AC input voltage, use GE IRF823 MOSFET. The output will be 5 Volt DC with electric current can be reach 10A.