SKU:U232


























Unit EncoderMotor Driver is a single-channel encoder DC motor driver unit featuring an STM32G031G8U6 main controller. It uses an I2C communication interface and provides one DC 5V motor output with a corresponding A/B encoder input, 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.
An onboard programmable RGB LED indicates the device operating status. The unit accepts an external DC 6 ~ 12V input and provides a DC 5V motor output through an onboard DC-DC buck converter. It is suitable for robot drive mechanisms, joint modules, smart cars, and similar applications.
| Specification | Parameter |
|---|---|
| MCU | STM32G031G8U6 |
| Communication Interface | I2C @ 0x2F, software-configurable (0x08 ~ 0x77) |
| Motor Driver | Single-channel DRV8837DSGR H-bridge motor driver |
| Motor Load | Maximum 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 | Single-channel AB encoder input, supports 3 ~ 15 PPR |
| Encoder Motor Interface | PH2.0-6P, compatible with 6-wire encoder geared motors / TT geared motors (M+ / M- / GND / 5V / EN_B / EN_A) |
| Power Supply | 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 | 32.1 x 24.0 x 8.0mm |
| Product Weight | 4.8g |
| Package Size | 138.0 x 93.0 x 11.0mm |
| Gross Weight | 13.4g |


| HY2.0-4P | Black | Red | Yellow | White |
|---|---|---|---|---|
| PORT.A | GND | 5V | SDA | SCL |
| Product Compare | Unit EncoderMotor Driver ![]() | Unit 4EncoderMotor Driver ![]() |
|---|---|---|
| Communication Interface | I2C | I2C |
| Channel Count | 1-channel encoder motor | 4-channel encoder motor |
| Motor Driver | DRV8837DSGR | 4x DRV8837DSGR |
| Main Controller | STM32G031G8U6 | STM32F030C8T6 |
| Encoder Motor Interface | 1x PH2.0-6P | 4x PH2.0-6P |
| Power Input | DC 6 ~ 12V (1x PH2.0-2P) | DC 6 ~ 12V (2x PH2.0-2P) |
| Load Capacity | DC 5V@1.2A | Single-channel DC 5V@1.2A |
| Current Detection | INA199 | INA199 |
| Grove Interface | 1x HY2.0-4P | 2x HY2.0-4P |
| Product Positioning | Single-motor control | Multi-motor control |