Sale!

M5Stack Encoder Unit Knob Sensor with I2C Interface 30-bit Pulse Encoding Knob + 2 x SK6812 Programmable RGB LEDs

Original price was: $82,01.Current price is: $30,88.

2000 in stock

SKU: BANG Category:

Description

Description:
Unit Encoder is a rotary encoder expansion unit with I2C interface, integrated with 30-bit pulse encoding knob (with button function) + 2 x SK6812 programmable RGB LEDs. The built-in STM32F030 flashed with the encoder pulse acquisition firmware, allowing users to obtain the encoded value directly via I2C. Suitable for scale value control/volume adjustment and other control scenarios.
Product Features:
30-bit pulse encoding knob (30 pulses per rotation)2 x SK6812 programmable RGB LEDs1 x Button input
Specification:
Pulse encoder knob: 30-bit pulse encoder knob (with key input)Programmable RGB LEDs: 2x SK6812Working current: Encoder working (DC-5V@17mA)Net weight: 7.4gGross weight: 12.3gProduct size: 32 x 24 x 22mmPacking size: 93x138mm
Package included:
1 x Unit Encoder1 x HY2.0-4P cable (20cm)
Application:
Human Machine Interaction (HMI)Volume knob
PinMap
M5Core(PORT A)GPIO22GPIO215VGNDUnit EncoderSCLSDA5VGND
Schematic

Protocol
Protocol type I2CI2C Address: 0x40
ENCODER_REG 0x10
REGlendescriptionvaluesR/W0x102Read encoder value[0] VALUE_L
[1] VALUE_HR
BUTTON_REG 0x20
REGlendescriptionvaluesR/W0x202Read Button status[0] BTN STATUSR
RGB_LED_REG 0x30
REGlendescriptionvaluesR/W0x304Control RGB LED Color[0]LED Index?1/2?
[1] RED
[2] GREEN
[2] BLUEW
Example
Arduin0Unit Encoder LibraryUnit Encoder Test With M5StickC