Some 5 pin or 3 pin tactile switches have an extra GND pin such as this Omron B3W-1150. What's the purpose of this pin?
-
2[**Data sheet here**](https://www.omron.com/ecb/products/pdf/en-b3w.pdf). They say, as Tony says, that the intention is to act as an ESD shield. However, it would also do as Harry says, with the cinches around the body protrusions taking mechanical force if the body was depressed or moved at an angle. However, in this case having the support on one side only could lead to some interesting angled forces. The 'saving grace' is that TACT switch operating forces are usually low (about 1.5 to 3.5 Newton or about 150 to 350 "gram force) depending on version. Forces exerted tend to be reasonably low. – Russell McMahon Jul 31 '17 at 04:49
2 Answers
ESD from fingers is diverted to shield for 15kV test.
Confirmed in spec
• Ground terminal available to protect against static
electricity.
• Beware path inductance 1nH / mm (typ) and avalanche static discharge rise time can cause ground shift relative to IC unless over PCB ground plane or further protection of signals and Gnd to IC.
Anecdotal
My 3rd employer in early 80's, Burrough's had > 100 factories including a personal computer factory in Flemington NJ using a design from a company Convergent Technologies(CT) which they purchased in San Jose. They performed Design Validation tests (DVT) ( with Corporate EMI Standards which I assisted in improving, well before IEC similar standards were created) including ESD testing on keyboards. The protroding LED lens caused EOS/ESD failures at 5k~15kV by creepage around LED lens to traces under the surface. By analysis they were able to improve the design to withstand 15kV ESD tests no interruption. Air gaps are ~1~3kV/mm can breakdown on a clean surface. This was a 5mm LED with 5mm exposure to conductors under the the plastic case. The gap to increased to signal with impedance analysis, and increased to ground plane by greater recessing and ground plane improvement.

- 1
- 3
- 54
- 182
-
but beware routing must not be shared by other circuits go directly to gnd plane or to Gnd source, to avoid ground shift in other circuits.. Source Gnd is always defined as 0V, wherever you define it and decouple from there. – Tony Stewart EE75 Jul 30 '17 at 16:19
That looks more like a stress relief to me.
Imagine that component without the 5th pin. That would mean that every time someone presses the button, the solder joints would take the force. That's pretty grim, everybody presses buttons differently, some people presses sideways.
To increase the lifespan of the button, and the PCB that it will be soldered onto, there will be some pins that doesn't really go anywhere that will hold the component in a secure location.
I believe that this image will make it more obvious.
It's the rotary encoder for the mouse (The thing you scrolled to get down to this answer). In order to take the forces for years, if not decades, it needs to have some strain relief. Pins that holds the entire component in place.
USB connectors use it as well.

- 8,139
- 3
- 33
- 53
-
5The switch from OP has only 1 extra pin. Are you sure it is for stress relief? If I wanted to make stress relief for a button I would put 2 pins, one on each side to hold that switch firmly (like your examples). How could only a single point/pin remove stress from signal pins? – Chupacabras Jul 30 '17 at 05:35
-
1It appears that it's main goal is **not** stress relief, but as Tony Stewart. EE since '75 answered, it's main goal is protection against static electricity, and some _minor_ stress relief is just a side effect. – Harry Svensson Jul 30 '17 at 05:46
-
1It looks like the OP's switch should be mounted so it sits flush on the PCB. That provides more stress relief than a one of two extra pins. – alephzero Jul 30 '17 at 17:22