- New
Product description: RollerCAN Unit - brushless motor with STM32 controller - Unit expansion module - M5Stack U188
RollerCAN Unit is a compact module designed for precise motion control in robotic and industrial applications. Based on the STM32G431 microcontroller, the module controls a 3504 type (200 kV) brushless DC motor , using advanced FOC (Field-Oriented Control) technology with three-loop control (current, speed, position). The integrated TLI5012 magnetic encoder provides precise position feedback. Thanks to the use of a slip ring , 360-degree rotation is possible while maintaining communication and power supply via the Grove port, which allows for the installation of additional modules. Additionally, RollerCAN offers an interactive user interface: a 0.66-inch OLED screen, a button and an RGB diode informing about the operating status. The module can be powered via CAN (XT30, from 6 V to 16 V) or the Grove port (5 V). The whole thing is enclosed in a 40 x 40 x 40 mm housing, with LEGO mounts and M3 holes, which makes it easy to mount in various structures. RollerCAN is an open source solution, supporting CAN and I2C communication , as well as debugging via SWD/SWO.
Also check out the user guide prepared by the manufacturer!
Main Features of RollerCAN Unit
- Brushless motor - BLDC type with closed control loop FOC
- Control via CAN or I2C - versatile integration with systems
- Slip Ring - Allows continuous rotation and communication through the Grove port
- Built-in 0.66'' OLED display - monitoring operating parameters
- User interface - function button and RGB diode
- LEGO mount and M3 holes - quick assembly for DIY and industrial projects
- Precise control - three-loop control system: current, speed, position
- Power supply from 6 V to 16 V (CAN) or 5 V (Grove) - adjustment in the selection of the power source
- Fully open source - access to firmware and CAN/I2C protocols
Compatibility and programming
RollerCAN Unit is compatible with the M5Stack ecosystem - it can be easily integrated with Core , Stick , Atom series modules and external systems. It supports CAN and I2C communication, allowing control from Arduino, PlatformIO or ESP-IDF . Configuration of parameters such as operating mode (RPM, position, current, encoder), PID or I2C / CAN addresses is done via the configuration menu available from the button and OLED, as well as via communication protocols. The module also provides SWD / SWO interfaces for advanced debugging.
Connection and power supply
The module offers two independent power supply methods:
- Via XT30 connector (CAN) - voltage from 6 V to 16 V DC
- Through Grove port - 5V DC voltage
Communication takes place via:
- CAN (XT30, two data lines + power supply)
- I2C (Grove)
Thanks to the slip ring, data and power can also be transmitted during full shaft rotation , which makes RollerCAN ideal as a drive for robotic arms or manipulators.
Technical Specifications of the RollerCAN Unit
- Microcontroller: STM32G431CBU6, Cortex M4
- Memory: 128kB Flash, 32kB SRAM
- Motor type: Brushless BLDC D3504, 200 kV, diameter 41 mm
- Driver: DRV8311HRRWR
- Encoder: TLI5012BE1000 (magnetic)
- Display: OLED 0.66'', resolution 64 x 48 px, SPI communication
- Communication interfaces:
- 2x CAN (XT30 connector, 2 + 2 PW-M configuration)
- 2x I2C (address: 0x64)
- LED indicators: 2x WS2812-2020 RGB diodes
- Engine power supply:
- via CAN connector (XT30): 6 V to 16 V DC
- via Grove port: 5V DC
- Slip Ring Power Supply (Grove Port): 5V DC
- Current consumption depending on load (at 16 V DC):
- 50g load: 2100rpm, 225mA
- 200g load: 1400rpm, 601mA
- 500g load (max): 560rpm, 918mA
- No load: 78 mA
- Power consumption in standby mode:
- via Grove port (5V): 70mA
- via CAN (16V): 32mA
- Output torque:
- with Grove power supply (5V): 0.021 N m / 0.2 kgf cm at 350 mA
- with CAN power supply (16 V): 0.065 N m / 0.66 kgf cm at 927 mA
- Slip Ring Current Capacity (Grove Port): 5V/300mA
- Noise level: 48 dB
- Operating temperature: from 0°C to 40°C
- Dimensions: 40 x 40 x 40 mm
- Weight: 84.4 g
Contents of the set
- 1x RollerCAN Unit
- 1x PwrCAN power and communication cable (10 cm)
- 2x Grove cables 4-pin, 2 mm pitch (5 cm)
- 6x pin
- 1x mounting flange
- 1x mounting bracket
- 1x Allen key 2.5mm
- 1x 2mm Allen key
- 6x M3 nuts
- 2x Allen screws M3 x 14 mm
- 4x Allen screws M3 x 14mm conical
- 4x Allen screws M3 x 12 mm conical
- 1x 5-pin debugging cable, single-sided, pitch 1.25 mm (10 cm)