Using Interlocking Piano Buttons for a Reliable Mode Selector
A row of piano-style pushbuttons gives a control panel a useful physical memory: selecting a new button releases the previous choice. This can make a mode selector easy to understand without a menu or touchscreen. The mechanical action, however, is only one part of the design.
PMD Way's interlock-button collection includes interlocking piano buttons with different numbers of buttons and switched poles. This guide develops a low-voltage mode-selector example, showing how to map the contacts, interpret transitions and read the selected state reliably.
Separate buttons, poles and throws
The number of buttons tells you how many physical selections are available. A pole is an independently switched circuit, and a throw is one of the alternative connections that pole can make. These quantities describe different features.
For example, DPDT means two poles, each with two throws. It does not mean two buttons. On the store listing, “rows” describes the number of physical buttons; single-button versions have a different selection behaviour from a bank of mutually releasing buttons. Check the chosen option rather than treating every item in the range as the same mechanism.
Use one pole for a controller input only if its contact specification suits that low-level signal. Additional poles could serve other documented circuits, but they are not automatically isolated to any required safety standard or guaranteed to change at precisely the same instant.
Confirm the mechanical action you need
Momentary buttons return when released. Alternate-action buttons change their retained state with successive presses. Interlocking banks coordinate several buttons so a new selection releases the old one. Central-release and lockout arrangements are further options in some manufacturers' ranges.
The C&K F Series datasheet lists these mechanical functions separately from contact arrangement and electrical switching sequence. It is a useful example of how to read a switch specification, not evidence that an unmarked store assembly is a C&K part.
Before designing the panel, establish what happens when the selected button is pressed again, whether an all-released state is possible, and how the mechanism behaves during an incomplete press. Document the intended user interaction, including how the system should start after power returns.
Map the contacts with the assembly disconnected
Obtain the exact terminal drawing where available. Photograph the underside and assign temporary labels to the terminals before measuring. Keep the viewing direction fixed so a drawing from the front is not mistaken for the solder-side layout.
Use suitable continuity measurements on the completely disconnected assembly to identify the common and switched terminals for each pole. Record both released and selected states. Do not assume the middle physical pin is common without confirming the drawing or measurement.
Make a small connection table for each button. Repeat the check after selecting every other button, because that verifies the relationship between the mechanical latch and the measured contacts. A damaged or misassembled mechanism may look selected while its electrical state is incorrect.
A continuity meter is useful for steady states. Its response is usually insufficient to establish brief overlap or bounce during a transition. If switching sequence matters, obtain the specification and use suitable low-voltage timing measurements.
Do not infer transition timing from the latch
Break-before-make describes a changeover that opens the old contact before closing the new one. Make-before-break allows an overlap. The C&K example specifies this separately from mechanical interlock, illustrating why the terms are not interchangeable.
Nor does the electrical sequence of one pole automatically prove the timing between two buttons in a bank. Avoid using an unspecified assembly to join alternative power sources or to enforce a critical exclusion function. A momentary overlap, gap or contact bounce may matter even when only one button remains down afterwards.
For a classroom mode selector, a controller can interpret the contacts and decide when a stable new choice is valid. That makes the intended transition explicit rather than relying on a mechanical assumption.
Read a three-mode selector as a complete state
Consider three demonstration modes named A, B and C. Give each selected-state contact its own digital input. Where supported by the controller, a suitable pull-up keeps an open input HIGH, while the verified closed contact connects it to the controller's ground and reads LOW. Follow the board's voltage and input specifications.
Arduino's digital input pull-up example explains this active-low arrangement. It is a signal-reading circuit, not a way to switch the controlled load directly through the input pin.
| Stable contact pattern | Meaning | Application response |
|---|---|---|
| Only A selected | Mode A requested | Display A and apply its demonstration settings |
| Only B selected | Mode B requested | Display B and apply its demonstration settings |
| Only C selected | Mode C requested | Display C and apply its demonstration settings |
| None selected | No valid selection | Show a neutral state and wait |
| More than one selected | Transition or fault | Reject the ambiguous request and indicate it if persistent |
Read the complete input pattern together and accept it only after it has remained stable for the chosen debounce interval. Validating the whole pattern avoids treating separately filtered inputs as an immediately valid combination.
Arduino's debounce example explains how mechanical contacts can produce several transitions from one action. Choose and verify the interval for the actual switches and required responsiveness; a sample delay is not a universal specification.
Check both maximum load and minimum signal requirements
A switch's current rating depends on voltage and load type. Resistive, inductive and high-inrush loads impose different stresses, and an AC rating should not be converted into a DC rating by guesswork.
Low current also needs consideration. Omron's pushbutton guidance distinguishes microload use and contact wear under different loads. A contact designed for power switching is not necessarily specified for the tiny current from a weak input pull-up. Confirm minimum applicable load or use a contact version intended for the signal.
Keep a selector's user-interface role separate from load-driving hardware. If a project controls a motor, heater or relay, select the appropriate driver and protection for that load. A mechanically interlocking selector is not, by itself, a certified safety interlock.
Test the panel as a user will operate it
Exercise every mode change, slow and partial presses, power-up with each retained selection, and the all-released state if the mechanism permits it. Log raw inputs and accepted states during development so bounce and application logic can be distinguished.
Check that the mounting does not distort the switch bank or obstruct travel. Label each mode clearly and keep the terminal map with the project. A successful selector provides an understandable physical choice and a consistently interpreted electrical state.