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


Does it come with a warranty?

Add your collapsible row content here. If it's set to open one row at a time, consider keeping the content in each row about the same length.

What happens if I don't like it?

Add your collapsible row content here. If it's set to open one row at a time, consider keeping the content in each row about the same length.

How fast is shipping?

Add your collapsible row content here. If it's set to open one row at a time, consider keeping the content in each row about the same length.

What's the returns policy?

Add your collapsible row content here. If it's set to open one row at a time, consider keeping the content in each row about the same length.

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