pdf-icon

Unit-Scroll

SKU:U186

Description

Scroll unit is a rotary encoder expansion unit in the form of a scroll wheel. It integrates a 12-pulse through-shaft encoder + button input + WS2812C programmable RGB LED. The built-in STM32F030 microcontroller integrates encoder pulse signal acquisition firmware, allowing users to directly obtain encoder values through I2C reading operations, simplifying complex processes. It is suitable for control scenarios such as scale value control and volume adjustment.

Product Features

  • Based on STM32 microcontroller
  • AB phase output (12 pulses per revolution)
  • Built-in button
  • Multi-color WS2812C RGB LED indicator
  • I2C communication interface

Includes

  • 1x Scroll Unit
  • 1x HY2.0-4P Grove cable (20cm)

Applications

  • Industrial Automation
  • Smart Home
  • Robotics
  • Human-Computer Interaction

Specifications

Specification Parameter
MCU STM32F030F4P6@32-bit ARM Cortex-M0 processor
Rotary Encoder EC10E
Rotary Encoder Output AB two-phase quadrature output
Rotary Encoder Pulses 12 pulses/revolution
RGB LED 1x WS2812C
Button 1x Button
I2C Communication Address 0x40
Operating Temperature 0-40°C
Product Size 32*24*18.9mm
Package Size 136*92*20mm
Product Weight 7.3g
Package Weight 12.7g

Schematic

schematics

PinMap

  • Default I2C (PORT A) interface pin definitions for different M5 hosts
PORT A SCL SDA VCC GND
Core(Basic) G22 G21 5V GND
Core2 G33 G32 5V GND
CoreS3 G1 G2 5V GND
Atom Lite/Atom Matrix G32 G26 5V GND
AtomS3/AtomS3 Lite G1 G2 5V GND
StickC PLUS/PLUS2 G33 G32 5V GND
  • Internal peripheral connection pins for STM32F030F4P6
STM32F030F4P6 PA6 PA7 PA9 PA10 PA0 PA5
Encoder A1 B1
I2C SCL SDA
WS2812C RGB LED RGB
Button BTN1

Dimensions

module size

Protocol

detail

Example

Arduino

Video

  • Scroll Unit Feature Introduction

  • UIFlow2.0 Scroll Unit

Product Comparison

Specification