Hello all. I'm looking to design my own esp8266 powered smart switch. I have the capability to order and design every single part, except for two. I don't want to do some hack job where I buy a power cord/power brick and fit it into my casing, I want the actual prongs to be built into the casing and soldered to wires inside the box, which lead to a power converter circuit. Does anyone know where I can buy the actual prongs that plug into the wall, or at least know the proper, technical name of them? Also, does anyone know where I could buy a pcb for converting mains to 5v? Or at least have a schematic for one? Or should I just give in and buy a cheap usb adapter and re-solder the prongs to accommodate the casing I design?
![prongs.jpg prongs.jpg](https://makerv2.webteractive.co/forums/data/attachments/40/40138-dd34d946e4d57ca2ded61c72e423c2f4.jpg)
![prongs.jpg prongs.jpg](https://makerv2.webteractive.co/forums/data/attachments/40/40138-dd34d946e4d57ca2ded61c72e423c2f4.jpg)