Component guide · Beginner · 3 min read
Toggle, Rocker and Slide Switches
Poles, Throws and Ratings
By Geekobot Learning Team · Updated 24 Oct 2026
On this page
Toggle, rocker and slide switches stay in the position you set, unlike push buttons. Their type is described by poles and throws: SPST is a simple on/off, SPDT selects between two circuits, and DPDT switches two circuits at once, which can reverse a DC motor. Check the current and voltage rating, especially the lower DC rating, and use a switch rated above your load's current.
Key specs at a glance
- SPST
- 1 pole, 1 throw: on/off, 2 terminals
- SPDT
- 1 pole, 2 throws: select A or B, 3 terminals
- DPDT
- 2 poles, 2 throws: two SPDTs linked, 6 terminals
- ON-OFF-ON
- Centre-off position on some toggles
- Ratings
- E.g. 6 A 250 VAC, often much lower for DC
- Illuminated rockers
- Built-in lamp; extra terminal for neutral or ground
Poles, throws and types
A pole is a separate circuit the switch controls; a throw is a position that connects it. Middle terminals are usually common.
small, for selecting modes or turning on battery-powered gadgets at low current.
a lever, sturdy and panel-mounted, often in ON-OFF-ON versions with a centre-off.
large, easy to see, common as power switches on extension boards and devices; illuminated versions glow when on.
Common wiring
put an SPST switch in the positive lead from the battery, before the regulator or board.
connect the common to GND and one throw to a pin with INPUT_PULLUP; debounce in software like a push button.
connect the motor to the two common terminals, the supply to one pair of outer terminals and crossed wires to the other pair. Flipping the switch reverses polarity. An ON-OFF-ON DPDT adds a stop position.
the lamp needs its own terminal to ground or neutral; check the diagram on the side.
Ratings and safety
DC current is harder to switch than AC because the arc does not extinguish at zero crossings, so a switch rated 6 A at 250 VAC may be rated only a few amps at 12 VDC. For motors, choose a rating well above the running current, because start-up current is much higher. For mains, use switches with a mains rating, insulated terminals or boots, and an enclosure. For large loads, let the switch control a relay or MOSFET instead.
Common mistakes to avoid
- Using the AC rating for a DC motor load.
- Wiring a DPDT reversing switch so it shorts the supply.
- Leaving a switch input floating without a pull-up.
- Exposed mains terminals on a rocker switch.
- Using a tiny slide switch for a high-current load.
Frequently asked questions
What does SPDT mean?
Single pole, double throw: one circuit that can connect to either of two outputs.
How do I reverse a motor with a switch?
Use a DPDT switch wired as a crossover, with the motor on the common terminals.
Why does my rocker switch light not work?
The lamp terminal needs a connection to ground or neutral. Check the wiring diagram.
Can a slide switch turn on my robot?
Yes for small robots, if its current rating covers the load; use a toggle or rocker for higher currents.
What is ON-OFF-ON?
A switch with a centre-off position and an on position either side.
Parts for this guide
Terms in this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.




