1. Introduction
This manual provides instructions for the WCLDDCH EC11 Rotary Encoder Code Switch. This component is a versatile input device featuring both rotary (incremental) and push-button functionality, commonly used in electronic projects for menu navigation, volume control, and parameter adjustment.
2. Package Contents
- 2 x EC11 Rotary Encoder Code Switch (selected shaft type and length)
3. Product Overview
The EC11 rotary encoder offers 30 detent positions per full rotation and includes an integrated push-button switch. It comes in various shaft configurations to suit different application needs.

Figure 1: EC11 Rotary Encoders (Type A: Half Shaft, Type B: Plum Shaft)
Shaft Types:
- Type A (Half Shaft): Features a shaft with one flat side, often used with knobs that have a corresponding D-shaped hole.
- Type B (Plum Shaft): Features a splined or knurled shaft, providing a secure grip for press-fit knobs.

Figure 2: EC11 Rotary Encoder Type A (Half Shaft)

Figure 3: EC11 Rotary Encoder Type B (Plum Shaft)
Key Features:
- 30 Positions: Provides precise incremental control.
- 5-Pin Configuration: Standard pins for rotary A, rotary B, common, switch, and ground.
- Integrated Push Button: Pressing the shaft activates a momentary switch.
- Shaft Lengths: Available in 15mm and 20mm lengths.
4. Setup
The EC11 rotary encoder is a through-hole component designed for integration into electronic circuits. Proper soldering techniques are essential for reliable operation.
Connection Guide (Typical):
While specific pinouts can vary slightly, a common 5-pin EC11 encoder typically has the following connections:
- CLK (Clock / Rotary A): Outputs a pulse when rotated.
- DT (Data / Rotary B): Outputs a pulse, out of phase with CLK, to determine rotation direction.
- SW (Switch): Connects to ground when the shaft is pressed.
- + (VCC): Power supply (often 3.3V or 5V, depending on your microcontroller).
- GND (Ground): Common ground connection.
Note: It is recommended to use pull-up resistors on the CLK, DT, and SW pins when connecting to a microcontroller to ensure stable readings.
5. Operating Instructions
Rotary Function:
Rotate the shaft clockwise or counter-clockwise. Each detent (click) corresponds to a change in the output signals (CLK and DT). Your microcontroller or circuit will interpret these changes to determine the direction and amount of rotation, allowing for incremental adjustments (e.g., increasing/decreasing values, navigating menus).
Push-Button Function:
Press the shaft downwards. This action activates the integrated momentary switch (SW pin). This can be used for selection, confirmation, reset, or other binary input functions within your application.
6. Maintenance
The EC11 rotary encoder is a robust component designed for long-term use with minimal maintenance.
- Cleaning: If dust or debris accumulates, gently clean the exterior with a soft, dry cloth. Avoid using liquid cleaners directly on the component.
- Handling: Avoid applying excessive force to the shaft during rotation or pressing, as this can damage the internal mechanism.
- Storage: Store in a dry, dust-free environment when not in use.
7. Troubleshooting
No Response or Erratic Readings:
- Check Connections: Ensure all 5 pins are correctly soldered and connected to your circuit. Verify there are no cold solder joints or short circuits.
- Power Supply: Confirm the encoder is receiving the correct voltage (VCC) and has a solid ground connection.
- Pull-up Resistors: Ensure pull-up resistors are correctly implemented on the CLK, DT, and SW lines, especially when interfacing with microcontrollers.
- Code/Logic: Review your microcontroller code or circuit logic to ensure it correctly interprets the encoder's output signals.
Push Button Not Working:
- SW Pin Connection: Verify the SW pin is correctly wired and has a pull-up resistor if needed.
- Physical Check: Ensure the shaft depresses fully and smoothly.
8. Specifications
| Feature | Specification |
|---|---|
| Model | EC11 |
| Brand | WCLDDCH |
| Positions per Rotation | 30 |
| Number of Pins | 5 |
| Shaft Types | Plum Shaft, Half Shaft |
| Shaft Lengths | 15mm, 20mm |
| Voltage Rating | Low voltage (Below 50Vac or 75Vdc) |
| Origin | Mainland China |
9. User Tips
- Compatibility: Before integrating into a specific project (e.g., Malachite DSP2 SDR), always verify the electrical and mechanical compatibility with your target device or microcontroller.
- Debouncing: Rotary encoders can sometimes produce noisy signals. Implement software debouncing in your microcontroller code to ensure accurate and stable readings.
- Knob Selection: Choose a knob that matches the shaft type (half-flat for Type A, press-fit for Type B) and provides comfortable operation for your application.
10. Warranty and Support
For any questions, technical assistance, or issues regarding your EC11 Rotary Encoder Code Switch, please contact the seller directly through the platform where the purchase was made. Provide your order details for faster service. Source · https://manuals.plus/ae/1005003048623069