Miniature slide switch
Find the common pin of a small SPDT slide switch and wire a defined logic state for each position.

Contact arrangement
With an SPDT switch, a moving common contact selects one of two throws. On a small board switch, case-mounting tabs may also look like electrical pins.
Wiring a logic input
Connect the common terminal to a digital input and establish valid logic levels at the throws, or use a pull-up and switch one throw to ground. Check continuity in each position because physical terminal arrangements vary.
Selecting a part
Many small slide switches are meant for signal currents. Check the switching rating and case fit when choosing one for power. A maintained slide switch does not return by itself like a momentary pushbutton.
Specifications
| Parameter | Value or condition | Source |
|---|---|---|
| Representative topology | Single pole, double throw for SparkFun product 14330 | SparkFun |
| Behavior | Maintained mechanical positions | SparkFun |
Compatibility and practice
Use continuity mode with the circuit unpowered to identify the contacts before connecting rails.
Related components
Sources and datasheets
- Mountable Slide Switch · SparkFun