EC11 rotary encoder with push switch (generic)
Input· Rotary encoders & pots

EC11 rotary encoder with push switch (generic)

generic released 2000 current buy budget

20-detent incremental encoder with push button, D/knurled shaft; the knob in almost every DIY keyboard and menu.

Verdict. Default choice. Use a state-machine decoder (or the ESP32 PCNT / RP2040 PIO) instead of naive interrupts to avoid double steps.

Specs

Pulses20/30 per rev
Switchpush, SPST
Shaft15/20 mm, D or plum
Pins5

Prices

LaskaKit€0.74CZK 18single, 15 mm shaft, incl. VAT· from search results
AliExpress€1.572/5/10 pcs variant· from search results
Botland€4.905 pcs, incl. VAT· from search results
  • Endless rotation + push
  • QMK/ZMK/ESPHome support
  • Cents each
  • Contact bounce
  • Some are 2 or 4 pulses per detent

What people say liked

Ubiquitous; forum threads are mostly about bounce and steps-per-detent, solved with RC filters or proper decoding.

“Almost all keyboards use standard EC11 rotary encoders. The only difference is the shaft length and shape (smooth, has teeth, etc.).” — Reddit, 2025-08
“Are you sure your rotary' encoder does not give 2 or 4 ticks per click - always ?” — Arduino Forum, 2026-03