










Login / Signup
Cart
Your cart is empty
The M5Stack Unit 4-Encoder Motor Driver is a four-channel 5V DC motor driver with A/B encoder feedback, I2C communication, PWM speed control and closed-loop speed and position control. It features real-time current and voltage monitoring, a 6-12V power input and a total output capacity of 5V at 8A.
The M5Stack Unit 4-Encoder Motor Driver is a 4-channel encoder DC motor driver unit featuring an STM32F030C8T6 main controller. It uses an I2C communication interface and provides four DC 5V motor outputs with corresponding A/B encoder inputs, making it suitable for 6-wire encoder geared motors and TT geared motors.
The driver supports PWM speed control, forward/reverse control, and closed-loop speed and position control. It integrates an INA199A current-sensing circuit and motor operating voltage detection, enabling real-time monitoring of motor current and voltage.
Two onboard HY2.0-4P Grove ports share the same I2C bus, making it easy to connect additional I2C devices. The I2C address is software-configurable, allowing multiple driver units to be connected to the same bus and expand the number of motor drive channels.
The unit accepts an external DC 6 ~ 12V input and, through its onboard DC-DC buck converter, provides a total output capacity of up to DC 5V@8A. This output can power motors and also supply power to a host device through the Grove interface. An onboard programmable RGB LED indicates the device operating status. The unit is suitable for multi-joint robots, wheeled chassis, robotic arms, and similar applications.
This four-channel version supports up to four encoder DC motors. If your project only requires control of a single motor, we also stock the more compact Encoder Motor Driver Unit, which offers the same motor control functions in a single-channel format.
| MCU | STM32F030C8T6 |
| Communication Interface | I2C @ 0x24, software-configurable (0x08 ~ 0x77) |
| Motor Driver | 4-channel DRV8837DSGR H-bridge motor driver |
| Motor Load | Maximum single-channel load: DC 5V@1.2A (external input supply DC 6 ~ 12V) |
| Motor Operating Modes | PWM speed control, forward/reverse, soft start / soft stop, speed loop, position loop, sleep |
| Encoder | 4-channel AB encoder input, supports 3 ~ 15 PPR |
| Encoder Motor Interface | 4x PH2.0-6P, compatible with 6-wire encoder geared motors / TT geared motors (M+ / M- / GND / 5V / EN_B / EN_A) |
| Power Supply | 2x PH2.0-2P external DC power input: DC 6 ~ 12V HY2.0-4P Grove power input: DC 5V |
| Current Detection | INA199A |
| RGB LED | 1x WS2812C-2020 |
| Product Size | 56.5 x 24.0 x 12.8mm |
| Product Weight | 10.0g |





















