M5Stack Unit Step16 is a high-performance 16-position rotary encoder control unit powered by the STM32G031G8U6 microcontroller. It is designed to acquire the BCD value of the rotary encoder in real time and visually present the 0–F hexadecimal value on an integrated 7-segment display.
This device supports a standard I2C interface, with configurable options for rotation direction, display mode, RGB LED color, and I2C address. Multiple units can operate smoothly on a single I2C bus.
With its clean and efficient design, Unit Step16 provides responsive physical interaction and real-time visual feedback. It’s well-suited for:
- Smart interactive devices (e.g., smart home control panels)
- Control interfaces (e.g., volume adjustment, RGB lighting control, motor speed regulation)
- STEAM educational prototyping and teaching
M5Stack Unit Step16 offers excellent expandability, seamless configuration, and intuitive display, making it an ideal solution for smart device development and educational projects.
Tips: To ensure the longevity of the encoder, please operate it using moderate force and avoid excessive or forceful repeated rotations.
Key Features
- 16-bit Rotary Encoder: Allows precise control and feedback for various smart devices and control panels.
- STM32 Microcontroller: Ensures stable performance and efficient data processing.
- Integrated 7-Segment Display: Instantly shows hexadecimal values from 0 to F for quick and convenient visual feedback.
- I2C Communication: Standard I2C interface enables easy integration with M5Stack and other development boards. Easily configure multiple Step16 units on the same I2C bus by setting unique addresses.
- Customizable Parameters: Adjust rotation increment direction, display mode, RGB LED color, and I2C address to fit your project needs.
- Plug-and-Play: Ready to use with the M5Stack ecosystem; supports rapid prototyping and development.
- Compact and Durable Design: Ideal for space-constrained embedded systems and educational applications.
Typical Applications
- Smart Home Control Panels: As intuitive and tactile input devices for home automation systems.
- Volume and Brightness Adjustments: Ideal for multimedia consoles and lighting setups requiring precise control.
- Robotics and Motor Speed Regulation: Use as a user-friendly interface in robotics or automation projects.
- STEAM Education Kits: A perfect choice for classroom demonstrations, STEM kits, and hardware prototyping.
Specifications
Specification | Parameter |
---|---|
MCU | STM32G031G8U6, 32-bit ARM Cortex-M0+, 64 MHz |
Step Encoder | 16 positions, 8421 BCD code |
Encoder Display | 7-segment LED |
Programmable RGB LED | 1 x WS2812 |
Encoder Update Cycle | 100 ms |
Communication Interface | I2C @0x48, Address Range: 0x08 ~ 0x77, non-volatile after power-down |
Standby Power | DC 5V @ 5.85 mA |
Operating Power | Display LED 60%: DC 5V @ 14.76 mA Display LED 100%: DC 5V @ 24.13 mA RGB LED 100%: DC 5V @ 18.9 mA Display LED / RGB full on: DC 5V @ 29.91 mA |
Product Size | 32.0 × 24.0 × 16.9 mm |
Product Weight | 5.5 g |
Package Size | 138.0 × 93.0 × 13.0 mm |
Gross Weight | 10.9 g |
Includes
- 1 x Unit Step16
- 1 x HY2.0-4P Grove Cable (20cm)
Schematics
PinMap
HY2.0-4P Pin | Color | PORT.A | Function |
---|---|---|---|
1 | Black | GND | Ground |
2 | Red | 5V | Power Supply |
3 | Yellow | SDA | I2C Data |
4 | White | SCL | I2C Clock |
Datasheets
Model Size