I plan to use a small 220v to 5v buck converter I bought, to power a Wemos D1 mini from 220v mains power. I am not sure how to safely hook it up to the mains power.
It seems that because the system will not draw a lot of current I could use a relatively thin wire, but somehow it feels unsafe to use thin wires for 220v. The power converter I have has small holes in the PCB for the input, so I can not solder 'normal' 220v wires directly to them.
The project is a power monitor which will be installed into a box with a 220v socket. So I can easily branch off the 220v from there. This also means there will not be a lot of strain on the wire as it is all contained in the same enclosure. Another concern however is that I want to keep it small so all can fit into the existing enclosure. To summarize, my question breaks down to:
- What type of wire is safe for the 220v input side of the converter
- Can I solder the wires directly to the converter or should I use some sort of screw terminals (which will take up more space)
- Should I use a fuse between the mains power and the converter?
- Should I be concerned about heat beeing generated by the converter in a small enclosure