- New
Product description: Chain Encoder - UART rotary encoder module with RGB LED and button - M5Stack U207
The M5Stack Chain Encoder is a compact input module from the Chain series, equipped with a precision AB rotary encoder, a pushbutton, and a programmable RGB LED . The module can detect rotation direction, count pulses, and support the functions of a pushbutton integrated with a knob , making it ideal for control systems, user interfaces, and smart home projects. The device uses an STM32G031G8U6 microcontroller and communicates via a UART bus with support for daisy-chain connections. Two HY2.0-4P connectors allow for easy expansion of the system with additional Chain series modules, creating more advanced interactive applications.
The M5Stack Chain Encoder is a compact input module from the Chain series equipped with a precision AB type rotary encoder.Special features
- AB rotary encoder: Supports rotation direction detection and pulse counting
- Built-in button: possibility of implementing additional control functions
- Programmable RGB LED: WS2812B LED for signaling and lighting effects
- UART communication: stable data transmission with daisy-chain support
- Chain system expansion: possibility of connecting additional M5Stack Chain modules
- STM32 microcontroller: a powerful STM32G031G8U6 chip for user interaction
- LEGO compatible: easy integration with educational and mechanical designs
- Compact design: small dimensions make it easy to install in DIY projects
- Wide range of applications: ideal for Smart Home, control panels and HMIs
- HY2.0-4P connectors: quick and convenient connection of expansion modules
Practical applications
- Series: M5Stack Chain
- Microcontroller: STM32G031G8U6
- Encoder type: AB rotary encoder
- Button function: yes
- RGB diode: 1 x WS2812B
- Communication: UART
- Interfaces: 2 x HY2.0-4P
- Daisy-chain support: yes
- Supply voltage: 5 V DC
- RGB current consumption: 22.51 mA
- Operating temperature: 0 to 40°C
- LEGO compatible design: yes
- Weight: 10 g
- Dimensions: 23.9 x 23.9 x 29.8 mm
Contents of the set
- M5Stack Chain Encoder Module
- Chain Bridge Module
Useful links |

The module enables detection of the direction of rotation, counting pulses and operation of the button function integrated with the knob.