I'm designing a project that controls 110VAC (plug in, socket out), and also has a microprocessor inside. I'd really like this project to not need a wall wart to get it's 5V, so I want to include a small DC power supply inside.
Apple's USB power adapter looks like a great small design that I can fit inside my case. I'm guessing this is a switching power supply but I can't find any teardowns or schematics anywhere.
Does anyone know how this thing works? I know I could make my own 110V->5VDC supply from a bridge rectifier and some caps, but I'd like to also be super safe. What's in the Apple brick?
Best Answer
You're in luck: I just posted a detailed teardown and schematic of the iPhone charger. Internally it's a complex flyback quasi-resonant switching power supply controlled by a L6565.
Building your own switching power supply is probably more complexity and danger than you want to include in a project. I'd recommend going with the wall wart - there's a reason most products use one. If you really want a built-in power supply, I'd recommend getting a pre-built OEM one rather than building your own. And if you really want to build your own, I'd recommend a simple linear power supply instead of a switcher.