DIYables Rotary Encoder EC11 with Push Switch and Knob 20mm Shaft 20 Pulse, 5 Sets
Click to zoom





Quick Overview
The DIYables EC11 Rotary Encoder with Push Switch and Knob is an incremental control that turns endlessly in either direction and outputs 20 pulses per full revolution. A microcontroller can track each step and the direction of rotation, making it a precise digital alternative to a potentiometer for Arduino, ESP32, ESP8266, and Raspberry Pi projects.
A built-in push switch activates when the shaft is pressed, so one control can scroll through values and confirm a selection. The A and B quadrature outputs and the switch pins connect to digital inputs, with internal or external pull-up resistors. The 20mm plum blossom knurled shaft accepts the included knob, and each encoder is rated for 80,000 operations at up to 10mA and 5V DC.
Ideal for menu navigation on LCD and OLED displays, volume and brightness control, 3D printer and CNC controllers, audio equipment, and any project that needs step-by-step adjustment with a select button.
Key Features
- EC11 Incremental Encoder — 20 pulses per revolution for precise step counting and direction sensing
- Endless 360 Degree Rotation — No end stops, turn continuously in either direction
- Built-In Push Switch — Press the shaft to select, combining scroll and click in one control
- Quadrature A and B Outputs — Direction is detected from the phase of the two output signals
- 20mm Plum Blossom Shaft — Knurled shaft holds the included knob securely
- Knob Included — One knob for each encoder for a firm, comfortable grip
- 80,000 Cycle Operating Life — Durable for frequent everyday adjustment
- Rated 10mA at 5V DC — Works directly with 3.3V and 5V microcontroller digital inputs
- Tutorial Support — Step-by-step rotary encoder tutorials for Arduino, ESP32, ESP8266, and Raspberry Pi
- 5 Sets Value Pack — Five encoders and knobs for multi-control panels or spares
SPECIFICATION
| Specification | Value |
|---|---|
| Product Type | Incremental Rotary Encoder with Push Switch |
| Model | EC11 |
| Pulses per Revolution | 20 |
| Push Switch | Yes |
| Shaft | 20mm, plum blossom knurled |
| Rated Load | 10mA at 5V DC (max) |
| Operating Life | 80,000 cycles |
| Operating Temperature | -10°C to +70°C |
| Storage Temperature | -40°C to +85°C |
| Relative Humidity | 25% to 85% |
| Air Pressure | 86kPa to 106kPa |
| Output | Quadrature A/B digital signals |
| Package Quantity | 5 encoders and 5 knobs |
| Compatibility | Arduino, ESP32, ESP8266, Raspberry Pi, Raspberry Pi Pico, STM32 |
| Applications | Menu navigation, volume and brightness control, 3D printer and CNC controllers, audio equipment |
PACKAGE
A package includes:
| Qty | Items |
|---|---|
| 5 | EC11 Rotary Encoder with Push Switch (20mm plum shaft) |
| 5 | Knob |
Tutorials
- Arduino - Rotary Encoder
- Arduino Uno R4 - Rotary Encoder
- Arduino Uno Q - Rotary Encoder
- Arduino Nano - Rotary Encoder
- Arduino Nano ESP32 - Rotary Encoder
- Arduino Nano 33 IoT - Rotary Encoder
- Arduino Mega - Rotary Encoder
- Arduino MKR WiFi 1010 - Rotary Encoder
- ESP32 - Rotary Encoder
- ESP32-C3 Super Mini - Rotary Encoder
- ESP32-S3 - Rotary Encoder
- ESP32-S3 Uno - Rotary Encoder
- ESP8266 - Rotary Encoder
- Raspberry Pi - Rotary Encoder
COMPATIBLE HARDWARE
- Arduino boards (UNO, Mega, Nano) — Digital and interrupt pins for A, B, and switch signals
- ESP32 and ESP8266 boards — GPIO inputs with internal pull-ups
- Raspberry Pi (all models) — GPIO input for menu and media controls
- Raspberry Pi Pico — GPIO or PIO based encoder reading
- LCD1602, LCD2004, and OLED displays — Build scroll and select menu interfaces
- 3D printer and CNC controller boards — Replacement or custom control knob
- Any microcontroller with digital input pins