Skip to product information
1 of 11

M5Stack Scroll Hollow-Shaft Encoder Unit (EC10E1220501)

M5Stack Scroll Hollow-Shaft Encoder Unit (EC10E1220501)

LB-M5-U186

20 in stock
Regular price $6.90 USD
Sale price $6.90 USD Regular price $3.95 USD

Key Features

  • EC10E hollow-shaft rotary encoder with 12 pulses per rotation
  • AB quadrature sensing for direction and relative movement
  • Integrated push button for selection and confirmation
  • WS2812C RGB LED for programmable status feedback
  • STM32F030F4P6 controller with I2C address 0x40

The M5Stack Scroll Hollow-Shaft Encoder Unit gives embedded interfaces a compact wheel-style control for scrolling, value adjustment, and push-to-select actions. An EC10E hollow-shaft encoder produces AB quadrature movement, an STM32F030 controller exposes the input over I2C, and a WS2812C RGB LED provides immediate mode or status feedback. It is suited to menu controllers, smart-home panels, robot settings, media devices, and compact industrial prototypes where front-panel space is limited.

What You Can Build

  • Scroll wheels for menus, lists, and compact graphical interfaces.
  • Volume, brightness, speed, temperature, or timer controls.
  • Push-to-confirm selectors for smart-home and media panels.
  • Mode and setpoint controls for robots and test equipment.
  • Compact human-machine interfaces with color-coded feedback.

Key Capabilities

  • EC10E hollow-shaft encoder with 12 pulses per rotation.
  • AB quadrature sensing for rotation direction and relative movement.
  • Integrated push button for select, confirm, or mode switching.
  • WS2812C RGB LED for state, alert, or selection indication.
  • I2C control through the STM32F030F4P6 at address 0x40.

Setup and Integration

  1. Connect the Grove cable to an I2C port and confirm that address 0x40 is available.
  2. Read the encoder count, push-button state, and RGB control registers through the supported library or protocol.
  3. Define the direction, step size, acceleration, and value limits required by the interface.
  4. Add button debounce and save important settings only after a deliberate confirmation action.

Example Workflow

  1. Poll the encoder and button at a consistent interval.
  2. Convert the relative movement into a bounded menu index or parameter value.
  3. Use slow rotation for fine changes and optional software acceleration for rapid scrolling.
  4. Change the RGB LED to show editing, confirmed, disabled, or fault state.

Deployment Notes

  • The encoder reports relative motion, not an absolute mechanical position.
  • Fast rotation can feel unresponsive when the host polls too slowly or performs long blocking tasks.
  • Mechanical contacts require debounce handling for stable button and rotation events.
  • Confirm panel thickness, shaft clearance, and wheel or cap fit before enclosure production.
  • Resolve I2C address conflicts before adding another device that also uses 0x40.

Development Resources

M5Stack Scroll Hollow-Shaft Encoder Unit (EC10E1220501)

$6.90 USD


How can I confirm product compatibility?

Check the product specifications, operating voltage, communication interface, dimensions, connector type, and software requirements before ordering. Compatibility may also depend on your controller, operating system, development framework, library version, and project wiring.

If you are unsure, contact us before purchasing and include your controller model, intended application, power source, and any other hardware you plan to use. We will help you identify the most suitable option, but we cannot guarantee that every product will work with every platform or project.

Does the product come with a warranty?

Warranty coverage may vary by product and manufacturer. If your order arrives damaged, incomplete, or appears to have a manufacturing defect, contact us as soon as possible with your order number, product model, and clear photos or videos of the issue.

Our team will review the information and provide the appropriate next step according to the applicable product and after-sales policy. Damage caused by incorrect wiring, unsuitable voltage, unauthorized modification, soldering, misuse, or operation outside the documented specifications may not be covered.

How long does shipping take?

LogicBoundless provides worldwide shipping, with primary service coverage across the United States, Europe, and Asia. Orders are generally fulfilled from Shenzhen, China, and tracking information is provided after dispatch.

Processing and delivery times depend on product availability, destination, customs clearance, and the selected shipping service. Please review the Shipping Information page for the latest estimated delivery times and shipping conditions.

What is your return policy?

Eligible products may be returned within 30 days of delivery. Returned items must be unused, unsoldered, unmodified, and kept in their original condition with all packaging, cables, accessories, manuals, and included components.

Please contact support@logicboundless.com before sending anything back. Returns made without prior approval may not be accepted. Original shipping charges are generally non-refundable unless the return is caused by a verified product defect or fulfillment error.

Can you help if I have a technical problem?

Yes. LogicBoundless provides practical technical guidance for product setup, wiring, power, communication, code, and configuration issues.

To help us understand the problem efficiently, please provide your controller model, wiring photos, power source, code, library or firmware versions, expected behavior, and complete error messages. We cannot promise that every component will work in every system, but we will help you identify the likely cause and the next practical troubleshooting step.

Can I change or cancel my order?

Contact us as soon as possible if you need to change or cancel an order. We will try to assist before the order enters processing or is handed to the shipping carrier.

Once an order has been packed or dispatched, it may no longer be possible to change the products, delivery address, or shipping method. In that case, the standard return process may apply after delivery.

Don’t Just Take Our Word for It

  • A Clearer Way to Get Started

    LogicBoundless made it much easier to understand which components worked together. The product information was clear, and I could move from an idea to a working prototype without wasting time on incompatible hardware.


    Verified Maker
    First-Time IoT Builder
  • Practical Support Beyond the Product

    What stood out was the practical guidance. The specifications, compatibility notes, and troubleshooting resources helped us choose the right hardware and solve development issues more efficiently.


    Verified Customer
    Embedded Systems Engineer
  • Making Hardware Easier to Learn

    The clear explanations and project-focused resources made complex hardware easier to understand. Instead of simply following instructions, learners could see how each component contributed to the complete system.


    Education Partner
    STEM Instructor
1 of 3