Logic & Relay

Rotary Encoders Compared: Alps, KY-040, and EC11 for Your Control Panel or Maker Project

Need a rotary encoder with a momentary push switch? Compare four ready-to-order options from PCB-mount EC11 to Alps 2-packs and a KY-040 module for Arduino and Raspberry Pi.

Last updated Aug 17, 2026

Quick Take

For a machine-safety or HMI panel, the encoder choice often comes down to how much wiring you want to do. A bare EC11 with a D shaft and push switch is the direct route for PCB mounting. The KY-040 module is the easiest for Arduino and Raspberry Pi breadboard projects because the pull-up resistors are already on the board. The two Alps 2-packs give you 30-detent rotation, a momentary press switch, and PC board mounting in a component format. Listed prices run from USD 2.50 to USD 9.95, so you can choose based on packaging and interface rather than a large budget commitment.

Listed Price Comparison

ProductListed PricePrice Bar
2 X Alps Rotary Encoder w/ Momentary Switch - 30 Detent / 360 Degrees - PC BoardUSD 9.95
Alps Rotary Encoder Momentary Switch 30 Detents 360 Degrees 2 PackUSD 6.50
2X KY-040 Rotary Encoder Module with Pushbutton Switch for Arduino Raspberry PiUSD 7.69
1 Pc - EC11 360 Degree Rotary Encoder PCB Mount Push Switch D ShaftUSD 2.50

Decision Matrix

ProductPick it forWatch out for
Alps 2-Pack with Momentary Switch (PC Board)PCB-mounted projects where you want two encoders with PC pin leadsYou will wire the bare leads yourself
Alps 2-Pack (Japan)Front-panel or upright builds that need vertical orientationIt is a component, not a breakout module
KY-040 Module 2-PackArduino and Raspberry Pi breadboard input with pull-up resistors onboardStandard module footprint with pin interface
EC11 PCB Mount EncoderA single through-hole encoder with D shaft and push switchSwitch contacts are rated for 5V @ 10mA signal-level use

Product Notes

2 X Alps Rotary Encoder with Momentary Switch (PC Board)

2 X Alps Rotary Encoder w/ Momentary Switch - 30 Detent / 360 Degrees - PC Board

Need two Alps encoders with a press-to-select feel? The 2 X Alps Rotary Encoder with Momentary Switch is packaged for PC board mounting and includes PC pin termination. The description lists a 360-degree endless shaft with 30 detent points and a momentary push switch, so you can rotate continuously and still click to confirm a menu item. The switch action is momentary, which means it returns after you release it; that's ideal for temporary selections rather than latching settings. You are getting two components in one listing, which makes it easy to keep a spare or build a two-channel control.

Alps Rotary Encoder 2-Pack (Japan)

Alps Rotary Encoder Momentary Switch 30 Detents 360 Degrees 2 Pack

This Alps Rotary Encoder 2-Pack is listed with the same 30 detents, 360-degree movement, and momentary switch as the other Alps pair, but its attributes add Japan origin, 2-phase output, and vertical orientation. If you need the encoder to mount upright on a board and report direction with quadrature-style signals, the 2-phase detail is useful. The momentary operation method is on/off, so pressing the shaft gives you a non-latching select signal. It's a component with PC board mount leads and support tabs, so you'll be soldering it into your own layout rather than plugging it into a breadboard.

KY-040 Rotary Encoder Module 2-Pack

2X KY-040 Rotary Encoder Module with Pushbutton Switch for Arduino Raspberry Pi

The KY-040 Rotary Encoder Module 2-Pack is the only option here that arrives as a module with onboard 10kΩ pull-up resistors. That removes a common wiring step for Arduino and Raspberry Pi projects. The listing describes digital quadrature outputs, continuous 360-degree rotation, 20 detents per revolution, and a built-in pushbutton switch. The two modules are compatible with 5V and 3.3V systems, which suits both 5V Arduinos and 3.3V Raspberry Pi GPIO. The module has a standard pin interface, so the pushbutton and quadrature outputs are the main features rather than an exposed shaft.

EC11 360 Degree Rotary Encoder PCB Mount Push Switch D Shaft

1 Pc - EC11 360 Degree Rotary Encoder PCB Mount Push Switch D Shaft

The EC11 360 Degree Rotary Encoder PCB Mount Push Switch D Shaft gives you a single through-hole component with a D-shaped shaft, 15 mm shaft length, and seven pins for PCB mounting. The description lists a push-to-actuate momentary switch and directional mechanical switching that provides 20 pulses per revolution. The switch contacts are rated at 5 volts and 10 mA, so you can plan signal-level switching rather than power loads. Because it is a single encoder sold on its own, it fits when you only need one channel for a prototype or a repair. It is a bare-bones option in this group and requires your own mounting and wiring approach.

Final Recommendation

For a panel build where you want two identical Alps encoders with a momentary push switch, the 2 X Alps Rotary Encoder with Momentary Switch (PC Board) covers the PC board mounting and PC pin termination in one listing. If you prefer an Alps 2-pack with Japan origin and vertical orientation, the other Alps 2-pack is the matching alternative. For a breadboard-friendly input block on Arduino or Raspberry Pi, go with the KY-040 module. For a solo through-hole EC11 with D shaft and push switch, the EC11 listing is the direct route.

Products in this article
2 X Alps Rotary Encoder w/ Momentary SwitchUSD 9.95View on eBayAlps Rotary Encoder Momentary Switch 30 Detents 360 Degrees 2 PackUSD 6.50View on eBay2X KY-040 Rotary Encoder ModuleUSD 7.69View on eBay1 Pc - EC11 360 Degree Rotary Encoder PCB Mount Push Switch D ShaftUSD 2.50View on eBay
2 X Alps Rotary Encoder w/ Momentary SwitchUSD 9.95View on eBayAlps Rotary Encoder Momentary Switch 30 Detents 360 Degrees 2 PackUSD 6.50View on eBay2X KY-040 Rotary Encoder ModuleUSD 7.69View on eBay1 Pc - EC11 360 Degree Rotary Encoder PCB Mount Push Switch D ShaftUSD 2.50View on eBay

You may also like

Finding more guides for you…