I'm reverse engineering the schematic of a very simple 5V switching power supply (probably a phone charger) and describing how does it work. It's a super simple single transistor design, but it has a proper fusible resistor, EMI filter and a very good isolation, so it looks safe and compliant.
You can support me on Patreon: