1. Introduction
A rotary encoder, also known as a shaft encoder, is an electro-mechanical device that converts the angular position or motion of a shaft or axle into digital output signals. EC11 incremental rotary encoders are widely used in applications requiring precise monitoring or control of mechanical systems, such as industrial controls, robotics, and user input devices.
2. Setup and Installation
2.1 Package Contents
- EC11 Rotary Encoder Module (5 pieces per lot)
- Mounting Nut
- Washer
2.2 Physical Mounting
The EC11 encoder can be mounted to a panel using the provided M7x0.75 nut and washer. Ensure the encoder is securely fastened to prevent rotation during operation.

Figure 1: EC11 Rotary Encoder with Mounting Hardware
2.3 Pinout and Wiring
The EC11 encoder features 5 functional pins for connection to your circuit. Refer to the diagram below for pin identification and dimensions.

Figure 2: EC11 Rotary Encoder Dimensions and PCB Mounting Details
Pin Descriptions:
- Pin A: Encoder Channel A Output
- Pin B: Encoder Channel B Output
- Pin C: Common Ground (GND)
- Pin D: Switch Terminal 1 (for push-button functionality)
- Pin E: Switch Terminal 2 (for push-button functionality)
Connect Pin C to your circuit's ground. Pins A and B provide quadrature signals for rotational sensing. Pins D and E act as a simple momentary switch when the encoder shaft is pressed.
2.4 Knob Attachment
The encoder supports various knob types, including Half Handle and Plum Handle designs. Ensure the chosen knob matches the shaft type (e.g., 15mm or 20mm shaft height) and is securely fitted.

Figure 3: Knob Types and Dimensions
3. Operating Instructions
3.1 Rotational Sensing
The EC11 is an incremental rotary encoder with 20 digits (pulses) per full rotation. It offers 360-degree continuous rotation. As the shaft is rotated, Pins A and B will output quadrature signals (two square waves 90 degrees out of phase). By monitoring the phase relationship between these signals, your microcontroller can determine the direction of rotation and the number of steps.
3.2 Push-Button Functionality
The encoder shaft also functions as a momentary push-button switch. When the shaft is pressed down, the internal switch closes, creating continuity between Pins D and E. This can be used for selection, confirmation, or other input commands.
4. Maintenance
To ensure optimal performance and longevity of your EC11 rotary encoder, follow these guidelines:
- Storage: Avoid storing the product in environments with high temperatures, high humidity, or corrosive gases.
- Moisture: Do not allow the product to come into contact with water or other liquids, as this may cause abnormal output waveforms or permanent damage.
- Cleaning: If cleaning is necessary, use a dry, soft cloth. Do not use solvents or abrasive cleaners.
5. Troubleshooting
- No Output/Erratic Output:
- Check all wiring connections for proper contact and polarity.
- Ensure the encoder is receiving the correct operating voltage (5 VDC).
- Inspect for any signs of physical damage or moisture ingress.
- Verify your code is correctly interpreting the quadrature signals from Pins A and B.
- Switch Not Responding:
- Check the connections to Pins D and E.
- Ensure the switch is being pressed firmly.
6. Specifications
| Feature | Specification |
|---|---|
| Model Number | EC11 |
| Brand Name | YIDI |
| Item Type | SWITCHES |
| Switch Type | Push Button Switch (integrated) |
| Adjustment Method | 360 Degree Continuous Rotation |
| Number of Digits | 20 Digits (Pulses per Rotation) |
| Rated Voltage | 5 VDC |
| Number of Pins | 5 (A, B, C for encoder; D, E for switch) |
| Shaft Height Options | 15mm / 20mm |
| Material | Alloy |
| Certification | RoHS, CE, CCC |
| Is Smart Device | No |
| Origin | Mainland China |
| EU LVD Voltage | Low voltage: Below 50Vac or 75Vdc |
| Approx. Dimensions (L x W x H) | 10cm x 7cm x 4cm (Package) |
| Approx. Weight | 0.035 kg (per piece) |
Note: An external PDF user manual may be available for additional details.
7. User Tips
- Solid Build: Users have noted the solid build quality of these encoders, making them reliable for various projects.
- Verify Connections: Always double-check your wiring connections to ensure proper functionality and avoid unexpected behavior.
- Test Thoroughly: Before final integration, test the encoder's rotational and push-button functions with a simple test sketch or circuit.
8. Warranty and Support
8.1 Warranty
This YIDI EC11 Rotary Encoder Module comes with a 6-month warranty from the date of purchase, covering manufacturing defects. Please retain your proof of purchase for warranty claims.
8.2 Technical Support
For technical assistance or warranty inquiries, please contact the seller or retailer from whom you purchased this product. Provide your order details and a clear description of the issue for prompt support.