Electrical – Should I solder stranded wires when connecting them to a plug

electricalsolderingwiring

I'm about to perform a few electrical changes in my house in order to be able to control lighting fixtures (230V, 30 to 200 mA) from a PC. I have some doubts about the way stranded wires should be connected to the plugs.

For instance, I suppose the way of connecting the wires shown on the next photo is dangerous, because the connection can easily become loose, is it? It seems that pulling the plug a few times by the wire instead of the plug itself would have disastrous effects on the connection.

Stranded wires are loosely twisted around the connectors of the plug, the screws being relatively useless

If yes, should I solder stranded wire to make it solid? If so, what should I take care of, aside using a rosin-core solder? Once I solder it, how am I supposed to connect it to the metallic parts of the plug?

Best Answer

It's a given that any wires in cordage will be stranded. Being designed for a different kind of service is what makes cordage different from in-wall wiring, and why you should not use one for the other.

So it's a given that any plug whose primary use is cordage is designed to work with stranded wire. Here, you should follow the instructions and labeling on the plugs, because following those instructions are the basis for the testing and certification which the plug received from your NRTL. (Nationally Recognized Testing Laboratory) such as UL, CSA, TUV etc.

Not following the instructions is an "off-label use" (to put it kindly) and can result in an illegal install and non-payout of fire insurance.

Speaking of non-payout, you need to be careful what you are sticking on mains power, and in particular, built into walls. Random electronic components out of the Digi-Key catalog are unfit for use in mains power. Equipment made for use in mains wiring can get its cert/listing faster if it is built with listed components, that is all a component listing means, it does not mean you can use components directly.

So for instance "random relay" is not listed for use in mains, but an "RIB" unit containing that same relay can be used. (RIB ~= Relay In Box).

If your aim is smart appliance control, you may be better off using existing, listed/certified smart devices (i.e. Not Sonoff), and having your electronics communicate with them. Generally, the rules are greatly relaxed for homebrew equipment when it is entirely low voltage and fed by a listed/certified wall wart.