Overview
The Yahboom 4-Channel Encoder Motor Drive Module is a motor drive module (motor driver expansion board) designed for DIY robot cars and robotics projects. It supports simultaneous control of 4-channel DC motors and includes an on-board encoder interface to read 4-channel encoder data for real-time speed feedback and precise motion control. A built-in STM32F103RCT6 coprocessor handles motor drive and encoder data acquisition, and communicates with an external master controller via IIC or serial communication.
Key Features
- 4-channel independent motor drive: controls 4 motors simultaneously.
- On-board encoder interface: reads 4-channel encoder data for speed feedback.
- Built-in coprocessor: STM32F103RCT6 for motor control and encoder data acquisition; reduces master controller pin usage.
- Motor driver chips: AT8236 ×4; includes short-circuit protection, over-current protection, and over-heating protection.
- Communication: supports serial port and IIC communication; supports configuring motor type, controlling motor speed and PWM, obtaining encoder data, setting motor dead zone, and magnetic loop parameters.
- Type-C interface: supports serial communication via Type-C; can connect to an embedded master controller USB port or directly to a computer for debugging/testing with serial software.
- Power and protection: supports 5–12V voltage power input; on-board power reverse-connection protection circuit; voltage regulator protection.
- Voltage measurement: built-in voltage detection circuit; ADC can read the power supply voltage (battery voltage).
- Connector design: anti-reverse connection interface/pin header; clear interface layout and markings for easier wiring.
- Driver routines provided (as stated in the product materials).
Specifications
| Product | 4-Channel Encoder Motor Drive Module |
| Board size | 65mm * 56mm |
| Number of drive motors | 4 |
| On-board coprocessor | STM32 (STM32F103RCT6) |
| Motor drive chip | AT8236 * 4 |
| Motor encoder | On-board encoder interface |
| Power input | 5–12V |
| Communication | IIC or serial communication |
| MCU pins occupied | 4 |
| Pin header motor interface | 4 |
| XH2.54-2pin motor interface | 4 |
| PH2.0-6pin encoder motor interface | 4 |
| Control method | Control motor and obtain encoder data through serial or IIC communication |
| Drive difficulty | Simple |
Interfaces & Wiring Notes
- Communication interfaces: Serial port communication (PH2.0 interface), IIC communication (PH2.0 interface), Serial port communication (Type-C interface).
- Supported connection methods: PH2.0 cable, XH2.54 cable, DuPont cable (as stated in the product materials).
- Wiring simplification: only four connecting wires are needed to achieve efficient communication with the main control unit (as stated in the product materials).
Motor Compatibility & Power Supply Notes
- Supports most 5–12V DC reduction motors and encoder speed motors on the market (as stated in the product materials).
- Compatible motor examples listed: TT DC reduction motor; TT motor with speed encoder; 520 motor; 310 motor; and most other DC reduction motors and encoder speed motors on the market.
Power supply reminder: select a suitable power supply (battery) according to the rated voltage of the motor to avoid damage to the motor or driver board. The provided notes recommend: 12.6V power supply for a 520 motor, and 7.4V power supply for a 310 motor or TT motor. The module’s stated power input range is 5–12V, so confirm the actual input voltage is within the module’s rated range before use.
Tutorial
Tutorial link: http://www.yahboom.net/study/Quad-MD-Module
Video
For wiring and integration support, contact support@rcdrone.top or visit https://rcdrone.top/.
Details

Drive up to four DC motors with encoder feedback using a dedicated STM32 coprocessor for smoother closed-loop robot car control.

Clear labeling and anti-reverse connector layout make wiring motors, encoders, power, and control ports straightforward.

A quick spec comparison explains why the 4-channel board reduces MCU pin usage while adding encoder readback.




The module works with popular TT motors and common metal gearmotors, including versions equipped with speed encoders.






On-board STM32F103RCT6 handles motor driving and encoder sampling, then sends speed and status data to the master controller.

Choose IIC or UART control, and use the Type‑C serial connection for quick debugging and parameter tuning.

Type‑C supports direct PC serial testing or a single-cable link to an embedded controller USB port.

Power the board from 5–12V sources such as battery packs, then match motor voltage to the selected supply.

The pinout map helps identify motor outputs, PH2.0 encoder interfaces, control headers, and power input at a glance.

Multiple connector options support different motor types, with voltage recommendations for common 2S and 3S battery setups.

An optional PH2.0 cable is available for connecting the Yahboom motor drive module to compatible wiring harnesses.

The 4-channel encoder motor drive module supports stacking with Raspberry Pi mounting holes using copper pillars and screws for a tidy robot car build.

The Yahboom 4-channel encoder motor drive module lists key specs like 5–12V motor power, 3.3V logic, and a 65×56×13.4mm board size for planning your robot car build.

Yahboom provides tutorial folders, open-source driver code, and documentation to help with setup and programming.

The module includes MSPM0G3507-based serial and IIC communication routines with KEIL/CCS documentation, plus a downloadable 3D model file for DIY modeling.

Package options include the 4-channel encoder motor drive module with a PH2.0-4Pin to Dupont cable, USB‑C data cable, and mounting standoffs with screws, with an optional T‑plug power lead.

The Yahboom 4-channel encoder motor drive module uses a compact PCB with labeled JST connectors and a screw terminal for cleaner motor and power wiring.
