Circuit Bytes · Episode 73 · Electronics · Power and safety
"Three-way switches"
A three-way switch has no off position; it always connects its common terminal to one of two travelers. With two of them, the light is on when both pick the same traveler and off when they pick different ones, so either switch can change the light.
A normal switch: one path, on or off
An ordinary light switch is a single-pole, single-throw switch. It has one path through it, and it either closes that path (current flows, the light is on) or opens it (the path is broken, the light is off). That works for one switch in one place, but it can't let you turn the light off from the other end of a staircase or hallway.
A three-way switch has no off
A three-way switch is a single-pole, double-throw (SPDT) switch. It has a common terminal and two other terminals. Inside, the common is always connected to one of the other two, and flipping the lever moves it from one to the other. There is no middle "off" position. It is called "three-way" because of its three current-carrying terminals (it also has a ground screw). In the UK and many other countries the same idea is called two-way switching.
Travelers: two wires between the switches
Put one three-way switch at the bottom of the stairs and one at the top. Between them run two wires called travelers. In the usual layout, power (the hot wire) comes in to the common of the first switch, the travelers join the two switches' other terminals, and the common of the second switch feeds the light. The neutral goes straight to the light.
- If both switches point to the same traveler, there is a complete path from the supply, through both switches, to the light. The light is on.
- If they point to different travelers, each one leads to a dead end at the other switch. The path is broken and the light is off.
Flip either switch, the light changes
Flipping either switch moves it to the other traveler. If they matched, now they don't (off); if they didn't match, now they do (on). So each switch always changes the light, upstairs or down, no matter where the other one is. In logic terms the light behaves like an XOR of the two switch positions.
Try it yourself
Find a stairway or hallway light at home that has a switch at each end, and just use the switches; don't take anything apart. Turn the light on from one end, walk to the other end and turn it off, then go back and turn it on again. Notice that a three-way switch's "up" doesn't always mean on: which way is on depends on the other switch. Want to see the circuit itself? Build it in a free online circuit simulator with a battery, a small bulb and two SPDT switches, which keeps everything at a safe low voltage on screen.
Good to know
- A North American "three-way" switch is a single-pole, double-throw (SPDT) switch: its common terminal connects to one of two traveler terminals, and it has no off position.
- It is named for its three current-carrying terminals (plus a ground screw). In the UK and much of the world the same circuit is called two-way switching.
- In the usual layout, the hot (line) feed goes to the common of the first switch, two travelers run between the switches, the common of the second switch feeds the light, and the neutral goes straight to the light.
- The light is on when both switches select the same traveler, which is in effect an XOR of the two switch positions.
- Real wiring layouts vary (power can come in at the light fixture instead), which is one more reason this lesson shows only the schematic.
- To control a light from three or more places, electricians add four-way switches (double-pole, double-throw) between the two three-ways. That isn't covered here.
- Wall wiring is 120 V AC in North America and 230 V in much of the world, and it can kill. Mains wiring is for licensed electricians; never open a live switch box. Home wiring (hot, neutral and ground) was episode 62.
Answer to the comment question
Each switch has two positions. With two three-way switches, how many different combinations are there? 4 combinations. Each switch has 2 positions, so 2 × 2 = 4: both on traveler A, both on traveler B, bottom on A with top on B, and bottom on B with top on A. The light is on in 2 of them (the two where the switches match) and off in the other 2.
Test your knowledge
Quick quiz: "Three-way switches"
4 multiple-choice questions. Pick one answer for each, then check how you did.
Sources
- SparkFun, "Switch Basics": poles and throws, and how a single-pole, double-throw switch connects its common terminal to one of two others
- All About Circuits, "Switch Types," Lessons in Electric Circuits, Volume IV: switch contacts and SPDT switches
- Electrical Safety Foundation International, "ESFI": home electrical safety, and why wall wiring is a job for a licensed electrician
Video transcript
How can two switches, one at each end of the stairs, control the same light?
A normal switch opens or closes one path. On, or off.
A three-way switch has no off. It always connects its common terminal to one of two others.
Between the two switches run two wires, called travelers.
If both switches point to the same traveler, the path is complete, and the light turns on.
If they point to different travelers, the path is broken, and the light goes off.
So flipping either switch always changes the light, upstairs or down.
These run on wall power, so leave the wiring to a licensed electrician.
Each switch has two positions. With two switches, how many different combinations are there? Comment your answer below!
That's your byte.
More from Circuit Bytes
- EP71c"How a speaker makes sound"
- EP72c"Pull-up and pull-down resistors"
- EP74c"Surge protectors"
- EP75c"USB power: why one cable charges everything"