Types of switches
A switch opens or closes a circuit. Switches are named by their poles, the separate circuits they switch, and their throws, the positions each pole can connect to, so an SPDT switch has one pole, two throws and 1 × (2 + 1) = 3 terminals.
terminals = poles × (throws + 1)
so an SPDT has 3 terminals and a DPDT 6.
They are also either momentary, on only while held, or latching, staying where you leave them.
What is a switch?
A switch is a component that opens or closes a circuit, connecting or breaking the path current takes, usually with metal contacts moved by hand.
Closed, it lets current through with almost no resistance; open, it leaves a gap current can’t cross, like an open circuit. Figure 1 shows the lab’s push button doing both to a lamp. Every type below is a variation on that one job.
Pressed: the button’s contacts close, completing the green lamp’s path: (3 V − 2.2 V) ÷ 470 Ω ≈ 1.7 mA flows and it lights.
What do SPST, SPDT and DPDT mean?
SPST, SPDT and DPDT name a switch by poles and throws: S or D for single or double pole, then S or D for single or double throw, so SPDT is single pole, double throw.
An SPST is a plain on-off switch. An SPDT is a changeover, connecting its common to one of two terminals, as in stairway lights switched from two places. A DPDT switches two circuits together, which can reverse a motor. Figure 2 shows all four.
SPDT, single pole, double throw: one circuit, each with two places to go. In position 1, each pole connects to throw 1.
What is the difference between momentary and latching switches?
A momentary switch acts only while you hold it and springs back when released; a latching, or maintained, switch stays in whichever position you leave it.
Momentary switches come normally open, closing when pressed, or normally closed, opening when pressed. Keyboard keys and doorbells are momentary; light switches are latching. Figure 3 compares them over two presses. A microcontroller reading a momentary button usually needs a pull-up resistor.
Latching, push-on push-off: the first press closes it and it stays closed after release; the second press opens it, like many lamp switches.
What are the common kinds of switches?
The common kinds of switches are toggle, rocker, slide, push-button, tactile, rotary and DIP switches, each named for how you move it.
Toggle switches flip a lever, rockers tip a see-saw panel, and slide switches move a knob along a track. Tactile switches are the small clicky push buttons on circuit boards. Rotary switches select one of many positions, and DIP switches are rows of tiny slides for setting options once.
What are limit, reed and tilt switches?
Limit, reed and tilt switches are worked by the world rather than a hand: a limit switch by a moving part, a reed switch by a magnet, and a tilt switch by gravity.
Limit and micro switches stop 3D printers and garage doors at the end of their travel. A reed switch seals two contacts in glass that close near a magnet, the simple cousin of a Hall sensor. Float switches sense water level, and thermostats switch at a temperature.
What is an electronic switch?
An electronic switch opens and closes a circuit with no moving parts, under the control of a signal, so a microcontroller can switch things far bigger than its pins could.
A transistor or MOSFET switches DC loads; a relay uses an electromagnet to move real contacts, isolating the two sides; and a triac switches AC. They switch faster and last longer than mechanical contacts.
How do you read a switch’s type and rating?
To read a switch’s type, count its poles and throws; for its rating, divide the load’s power by its voltage: a 60 W lamp draws 0.5 A on 120 V, or about 0.261 A on 230 V.
Example 1: naming a switch and counting its terminals
A switch has 2 poles and 2 throws. What is it called, and how many terminals does it have?
- Given
- a switch with 2 poles and 2 throws
- Find
- its name and how many terminals it has
- Solution
- Each pole has a common terminal plus one per throw: 2 × (2 + 1) = 6
- Answer
- DPDT, 6 terminals
Example 2: checking a switch’s rating
A toggle switch is rated 3 A at 12 V DC. Can it switch a 24 W 12 V load?
- Given
- a 24 W load on 12 V DC and a switch rated 3 A at 12 V DC
- Find
- whether the switch can carry it
- Solution
- I = P ÷ V = 24 W ÷ 12 V = 2 A2 A is within the 3 A rating
- Answer
- Yes, 2 A
Summary
Key equations
- terminals = poles × (throws + 1) a switch’s pins
- I = P ÷ V the current it must carry
Key terms
- Pole
- A separate circuit switched.
- Throw
- A position a pole connects to.
- NO, NC
- Normally open, normally closed.
- Latching
- Stays where it is left.
Practice problems
-
What does SPDT stand for?
One circuit, switched between two positions: a changeover switch.
-
How many terminals does a DPDT switch have?
2 poles × (2 throws + 1 common) = 6.
-
A doorbell button rings only while you hold it. What kind is it?
Its contacts close while pressed and spring open on release.
-
Which switch is closed until you press it?
Its contacts rest closed and open while pressed, which suits stop buttons.
-
A switch is rated 3 A at 12 V DC. Can it switch a 60 W 12 V load?
I = 60 W ÷ 12 V = 5 A, more than the 3 A rating.
FAQ
What are the four basic types of switches?
SPST, SPDT, DPST and DPDT: single or double pole, each with single or double throw.
What is the difference between NO and NC?
Normally open contacts are open at rest and close when worked; normally closed contacts are closed at rest and open when worked.
What is a 3-way switch?
The North American name for an SPDT switch used in pairs, so one light can be switched from two places, such as the top and bottom of stairs.
Why are DC switch ratings lower than AC?
DC never passes through zero, so the arc as contacts open lasts longer and wears them faster.
What is switch bounce?
Metal contacts rebound for a few milliseconds as they close, so a microcontroller can see several presses. Software delays or a capacitor smooth it out.
What is a tactile switch?
A small momentary push button with a click you can feel, usually with four legs joined in pairs, made for circuit boards and breadboards.
Can a small switch control a big load?
Through a relay or a transistor, yes: the small switch handles only the control current, and the relay or transistor carries the load.