I would like to solder a wire to these 2 pins. I was wondering whether I should protect the solder joints, as the cables may shift over time (and tension). Should I put glue on the around it to make sure it won't move (and of course keep the solder)?
Electrical – Use potting compound to secure solder joint
gluesoldering
Related Topic
- Electronic – Specific solder wire/flux questions
- Electronic – Best way to hand solder pads with castelations to wires
- Use aluminum tape or naked two paralleled striped cables to connect parallel LED strips
- Electronic – To blow or not to blow on the joint, that is the question
- Electronic – Possible to Solder top of through-hole header
- Electronic – this glue
Best Answer
This is a PCB-mount switch. Its contacts aren't intended for soldering discrete wires directly to them. If you actually wan to achieve long term robustness, you should make a small PCB with: a footprint for the switch, a wire-to-board connector of your choice, and maybe mounting holes too.
Such is the proper solution to your technical issue.