Rotary Encoder with Push Switch: When and How to Use One
A rotary encoder with a push switch is a single control that both turns and presses: rotate it to scroll or adjust, push the shaft down to select or confirm. The push switch is a separate momentary contact inside the same body, on its own pins, so one part gives you a dial and a button without a second component or a second cutout.
The reason it exists is interface density. A volume knob that also clicks to mute, a menu dial that presses to enter, a setting wheel that pushes to confirm, all collapse two actions into one control the user already has a hand on. In a small product that is board space and one less part to place. Mechanically it is two independent switches sharing a shaft: the incremental encoder reports rotation on its A and B channels, and the push switch closes a plain momentary contact when the shaft is pressed. They do not interfere, so firmware reads rotation and press separately. Swiclick’s GE series offers the push switch on the models that support it, from the 4.8 x 3.8 mm size up through the 11 and 12 mm bodies, so the turn-and-press control can be as small as the board needs.
How the extra pins work
A plain incremental encoder has the two channel pins plus a common. Add a push switch and you get two more pins for that separate contact, which is why a rotary encoder with a switch is often a 5-pin part. The channel pins carry the quadrature signal that tells direction and step count; the switch pins are just an open contact that closes on press, wired like any momentary button with its own pull-up and debounce. Reading them is two independent tasks in firmware, not one combined signal.
When to use one
Use the push switch when the same control naturally wants a select or confirm: a menu dial that presses to enter, a volume knob that mutes, a parameter wheel that pushes to lock a value. Skip it when press and turn belong to different controls, or when the press needs a longer travel or a firmer feel than an encoder shaft gives, in which case a separate button is the better call. On a small board, a miniature rotary encoder with the switch keeps the turn and the press in one footprint, which is where the space saving matters most. The integrated switch is a convenience and a space saving, not a replacement for a button that has to feel like a button.
Wiring and firmware notes
Treat the two functions as two circuits. The A and B channels need the usual pull-ups and either hardware or firmware debounce on the quadrature edges. The push switch is a separate momentary contact: give it its own pull-up and debounce, and read it on its own input, not multiplexed with the channels. A common mistake is assuming the press shares the encoder common in a way that changes the channel reading; keep the switch input independent and the two never fight.
FAQ
No. The push switch is an option. Many encoders are turn-only; the turn-and-press versions add a separate contact and usually two extra pins, so a switched part is often 5-pin.
Yes. They are independent contacts, so firmware reads the A and B channels for rotation and the switch input for press separately, with no interference.
Momentary. It closes while pressed and opens on release, like a standard push button. If you need a state that stays after one press, that is latched in firmware or handled by a self-locking push button instead.
On the models that support it, yes. Swiclick’s GE series offers the switch from the 4.8 x 3.8 mm size upward; whether a specific part includes it is confirmed per model.
Talk to an engineer
Tell us your application and the specs you need, and our engineers will match a Swiclick switch and share its datasheet and pinout. Free samples ship 1 to 50 for validation before volume.
Written by Eric Chen, Application Engineer, Swiclick.