SKU:U135












Unit Encoder is an I2C communication interface rotary encoder expansion unit. It integrates a 30-position pulse encoding knob (with button input) + 2x SK6812 programmable RGB LEDs. The built-in STM32F030 main control integrates encoder pulse signal acquisition firmware, allowing users to directly obtain the encoding value through I2C read operations, simplifying the process. It is suitable for scenarios such as scale value control/volume adjustment.
| Specification | Parameter |
|---|---|
| MCU | STM32F030F4P6 |
| Communication Interface | I2C @0x40 |
| Pulse Encoder Knob | 30-position pulse encoder knob (with button input) |
| Programmable RGB LED | 2x SK6812 |
| Operating Current | Encoder operation (DC 5V@17mA) |
| Product Size | 32.0 x 24.0 x 25.4mm |
| Product Weight | 7.4g |
| Package Size | 93.0 x 138.0mm |
| Gross Weight | 12.3g |
| HY2.0-4P | Black | Red | Yellow | White |
|---|---|---|---|---|
| PORT.A | GND | 5V | SDA | SCL |
ENCODER_REG 0x10
| REG | len | Description | Values | R/W |
|---|---|---|---|---|
| 0x10 | 2 | Read encoder value | [0] VALUE_L [1] VALUE_H | R |
BUTTON_REG 0x20
| REG | len | Description | Values | R/W |
|---|---|---|---|---|
| 0x20 | 2 | Read button status | [0] BTN STATUS | R |
RGB_LED_REG 0x30
| REG | len | Description | Values | R/W |
|---|---|---|---|---|
| 0x30 | 4 | Write control RGB LED color | [0] LED index (1/2) [1] RED [2] GREEN [2] BLUE | W |