
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.
| Pulses | 20/30 per rev |
|---|---|
| Switch | push, SPST |
| Shaft | 15/20 mm, D or plum |
| Pins | 5 |
| LaskaKit | €0.74 | CZK 18 | single, 15 mm shaft, incl. VAT· from search results |
| AliExpress | €1.57 | 2/5/10 pcs variant· from search results | |
| Botland | €4.90 | 5 pcs, incl. VAT· from search results |
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