Rotary Encoder Wiring - turnracing/turnracing-diy GitHub Wiki

EC11 Type Encoder

The most commonly used rotary encoder is the "EC11" type - usually with 16 detents. These tend to also have an optional press switch.

To wire these up directly to a microcontroller is pretty straightforward, they have 3 pins, plus another 2 pins if they have a press switch function. These pins are often called CLK, DT and SW, and require a GND or VCC connection. However in our case, they can be wired as follows, (Note, this is set up for an Arduino Pro Micro and SimHub).

EC11 Pinout

  • A = CLK
  • C = GND
  • B = DT
  • D = SW
  • E = GND

SimHub Rotary Encoder Wiring