I'm working on a design for a remote power control application involving a wireless embedded computer tied to a relay. The device will be mounted inside of a NEMA-rated outdoor enclosure and AC main power will be available within the box. What is the best way to provide regulated, 5V DC current to my embedded device in this scenario? I am currently prototyping using a standard wall wart power supply, but space may be tight in my enclosure, and is a wall wart transformer really the best in this case?
I will be designing my own PCB for the embedded device. Should I design a complete AC-DC power supply on this same PCB? Or should AC power be more isolated from my embedded system?
Thanks for any help you can provide! Jon