djsfantasi
- Joined Apr 11, 2010
- 9,163
But he wants to fit this into an electrical wall box. See post #1.Designing and building a tiny power supply is a giant Pain In the Butt compared to buying one at a Thrift Store for $1. DIY makes about as much sense as starting with a sugar beet when you want a jelly bean. Go buy a pound of either product and you will get better results than anything you can make at home.
OP, how much space do you have? There is not much space left after you account for the outlet. Second, I believe that code requires that that space be available for the wires and heat dispersal.
Also, mixing low voltage wiring (power, Arduino and its outputs) with mains wiring is dangerous. I believe they must be physically isolated, as in a separate box.
Have you checked with an electrician?