Mechanical key switch (MX style, hot-swap)
MX-style mechanical key switch (Cherry MX and the many compatible switches: Gateron, Kailh, Akko …) for keyboards. On a hot-swap board the PCB carries a Kailh socket on its back (put the part on the bottom side; the key matrix does) and the switch is plugged in from the front through a 14 × 14 mm plate cut-out; "solder" puts the switch pins straight into the board. Keys of 2 u and wider get the holes of a PCB-mount (screw-in) stabilizer. In a keyboard each switch sits in a row / column matrix with one diode (1N4148W) per key. While the simulation runs, the keyboard key named in "Key" presses it.
Key data
- Category
- Switches
- Simulation model
- Built-in circuit element
- Reference prefix
- SW
- Pins
- 2
- Land pattern
- SW_MX_Hotswap_1.00u
- Interactive
- Click it while the simulation runs
Simulation model
Switch with on-resistance when closed. Click it while the simulation runs.
- Primitive
- SW
Pins 2
| Pin | Name | Use |
|---|---|---|
| 1 | 1Passive pin | Contact: to the column (COL) net of the key matrix |
| 2 | 2Passive pin | Contact: to the anode of this key's diode (its cathode goes to the row) |
Parameters 6
closedRonsize1 u = 19.05 mm; 2 u and wider (Backspace, Enter, Shift, Space) get stabilizer holes
packagehotswap: Kailh CPG151101S11 socket on the back, switches plug in; solder: switch pins soldered into the board
labelPrinted on the keycap in the 3D view
keyKeyboardEvent code (KeyA, Digit1, Space, ShiftLeft …): holding that key during the simulation presses the switch
PCB
SW_MX_Hotswap_1.00u