I'm looking for more information on how to connect a panel mount switch to a PCB.
I've read that it's generally bad to connect this kind of mechanical device directly to the PCB (since it's a more likely part to fail).
Since there won't be a panel for the device I'm trying to make, how can I attach it to the PCB in a sane way? This is just a hobby project that I want to have some switches for easier testing. It's not a critical component.
I've tried searching but I can't find something that fits this. Perhaps I'm using the wrong terminology.
- Should I use a "terminal block" for this purpose?
- If so, what specifications should I look for? I think it's 3 pin, 7.1mm pitch, but I don't know what to do with the tab width of 4.8mm.
- Am I just missing some alternative method that would be better for my purpose?