Use a Centre-Off Toggle as a Three-State Selector: Mapping, Transitions and Fault Checks
A three-position toggle can make a small control panel easy to understand: select source A, select neither, or select source B. The mechanical simplicity hides several design decisions. What happens while the lever is moving? Does a disconnected wire look like the centre position? Are the contacts suitable for the small current used by a logic input?
This guide develops a low-voltage selector for a demonstration controller. The PMD Way heavy-duty DPDT toggle switch is listed with screw terminals and centre-off operation. It illustrates the physical format; its published description does not establish every detail needed for the example interface. Compare alternatives in the toggle switch collection against the complete specification below.
Define the three positions before drawing the circuit
Write the intended behaviour as a small truth table. For a sensor demonstration, A might select the left sensor, centre might suspend logging, and B might select the right sensor. The selector requests a mode; the program still decides whether that mode is available and whether changing immediately would corrupt a measurement.
| Lever position | Requested mode | Controller action |
|---|---|---|
| A | Left sensor | Finish or discard the current reading, then select A |
| Centre | Neither sensor | Stop accepting new readings |
| B | Right sensor | Finish or discard the current reading, then select B |
Label the panel with meaningful names rather than assuming up always means A. Install the switch in its final orientation before deciding which way the lettering should face.
Confirm the exact switching function
DPDT means two poles with two possible throws per pole. It does not, by itself, specify a centre-off position, spring return or contact timing. A maintained ON–OFF–ON device stays where placed. Parentheses commonly mark momentary positions, but always use the manufacturer's notation for the particular series.
The NKK M2 toggle datasheet is a useful example of explicit documentation: it distinguishes switching functions, momentary positions and nonshorting contact timing. Those details describe that NKK series, not the PMD Way example.
With the switch disconnected, draw its terminals as seen from the wiring side. Identify each common and its alternative contacts using continuity measurements in all three positions. Label your drawing with the viewing direction. Do not infer that the visually central terminals are the commons or that the lever points towards the connected terminals.
Static continuity does not prove transition timing
A meter can establish the stable contact map. It cannot reliably certify the brief contact sequence during movement. If momentary overlap would join two supplies or create an unsafe output, obtain the manufacturer's timing specification and choose an architecture that remains safe through the transition.
For this educational selector, use contacts to request modes through a suitable interface. Do not use an undocumented toggle to transfer power between independent sources. A centre-off detent alone does not establish a transfer-switch rating.
Match the contacts to the input circuit
A large current marking is not a guarantee of dependable switching at tiny signal currents. Contact material and minimum applicable load matter. The NKK example separately specifies power and logic contact options, illustrating why the contact system belongs on the selection checklist.
The PMD Way listing advertises 15 A at 250 V AC/DC, but provides no supporting manufacturer's load curve, minimum switching load or endurance conditions. Obtain those details before relying on that headline for a real load. This article does not establish a 15 A DC design rating or a suitable GPIO wetting current for that switch.
Carling's switch learning reference explains that ratings depend on voltage and load characteristics. Motors, capacitive loads and resistive loads are not interchangeable cases. For a logic selector, choose documented signal contacts or a properly designed interface that meets both the contact and controller specifications.
Decode two inputs deliberately
One possible interface uses a verified isolated pole to connect a common reference to either of two separately biased inputs. The bias components and protection must suit the controller's supply, input thresholds, permitted current and cable environment. This is a circuit concept, not a terminal-by-terminal wiring instruction for the example product.
Define four logical combinations: A asserted alone, B asserted alone, neither asserted, and both asserted. The first three can represent the intended modes. Treat the fourth as invalid rather than choosing whichever input the program happens to read first.
Read the two inputs together as closely as practical and validate the pair. If you debounce each independently, intermediate combinations can appear when one state changes before the other. Debouncing the combined state makes that behaviour easier to reason about.
Separate requested mode from active mode
Keep a requested-mode variable and an active-mode variable. Change the active mode only when the input combination has satisfied your chosen stability rule and the application can switch cleanly. A short dwell time is a design choice to test, not a universal property of toggle switches.
For example, a data logger can stop recording immediately when the selector becomes ambiguous, then resume only after A or B is stable. A simulator might tolerate a brief neutral state without changing its displayed mode. Choose the behaviour according to the application, and avoid hiding a genuinely invalid state indefinitely.
Understand what the circuit cannot detect
In the simple two-input arrangement, a disconnected common wire can produce the same reading as centre-off. Software cannot distinguish two physical conditions that create the same electrical evidence. Likewise, a stuck input can look like a valid selected mode.
If the distinction matters, redesign the sensing arrangement with appropriate diagnostics rather than adding a reassuring label. The second pole may provide additional information in a carefully designed circuit, but it is not automatically an independent safety channel. Shared mechanics and wiring introduce common failure possibilities.
Test a sequence, not just three positions
- Verify A, centre and B with the enclosure assembled.
- Move quickly and slowly between the extremes, observing raw inputs and accepted modes.
- Pause near transitions without forcing the mechanism.
- Disconnect each signal wire and the common wire in a controlled bench test.
- Simulate the invalid input combination through the test interface.
- Restore power in each lever position and confirm the documented startup behaviour.
Record any transient combinations and decide whether they are expected, rejected or reported. Keep the contact map, input schematic and state table together. A reliable three-state selector comes from agreement between the physical switch, electrical interface and program behaviour, including the situations where the program cannot know the lever's true position.