KY-040 rotary encoder module
Input· Rotary encoders & pots

KY-040 rotary encoder module

generic released 2014 current buy budget

EC11 encoder on a small board with pull-ups and 5-pin header; plug-in encoder for breadboards.

Verdict. Fine for breadboarding; add 100 nF to ground on CLK/DT and a pull-up for SW. Use a bare EC11 on final PCBs.

Specs

EncoderEC11, 20 detents
Pull-ups10k on CLK/DT (not SW)
Supply3.3-5 V

Prices

LaskaKit€1.05CZK 25.8Keyes KY-040, incl. VAT· from search results
Botland€1.90Okystar KY-040, incl. VAT· from search results
AliExpress€1.99single module· from search results
  • Breadboard-ready
  • Pull-ups included
  • Knob often included
  • No RC filtering
  • SW pin lacks pull-up on many boards

What people say mixed

Ubiquitous in tutorials; most forum threads are about bounce and skipped steps.

“I would also add a 0.1uF ceramic capacitor from clock to ground, and another from step to ground.” — Arduino Forum, 2026-03