So I'm playing around with an idea, but I'd like a good, compact way to power it.
In the past I've used old wall warts to provide the power. Just find one with the power output I need, solder the AC power to the plug with some heat shrink tubing to insulate it, and then take the power output and put it where I need.
The problem with that is that they are bulky and hard to fit into a project box, and I'm hoping to have something a bit more professional.
So I started to do a little research and found this: AC/DC Converter, and it looks like it would do what I want in a very small package.
To reiterate, I want to be able to run a couple AC leads in, get DC power out to power circuits and stuff.
Some details. I'm looking for a pretty compact solution that provides ~5vdc, ~.2A
The smallest wallwart style adapter I know about is the iphone adapter, and it's a little big. Something small that could be used to power a ESP8266 or Arduino ATMega without having to have a giant enclosure.
I was hoping to find something with a form factor similar to the one in the link, but part of my question is if that's even a possibility.
This is very similar to what I want to do, and they use a HLK-PM01 to turn AC power into 5V DC power, and a LD1117V33 change the 5V to 3.3V.
Besides the size, another problem I have with wallwarts is that they aren't consistent. Out of the dozen wallwarts I have laying around, I don't think I have 2 that are exactly the same.
Having a solution where I can order a handful of components and get consistent results is kind of a big deal.