Overview
This 520 DC gear motor with encoder is designed for balance cars and 4-wheel trolley / smart car chassis. It uses a high-precision magnetic (Hall) encoder for speed measurement and direction detection, and features carbon brushes plus an all-metal gear reducer for reliable drive performance.
Key Features
- AB-phase incremental Hall encoder for speed measurement and direction detection
- Encoder includes built-in shaping function and pull-up resistor; directly outputs square wave for MCU I/O reading
- High-precision 11-line magnetic ring; strong magnetic anti-interference
- All-metal gears and carbon brush motor construction
- Multiple reduction ratios available: 1:19 / 1:30 / 1:56
- Reference tutorials mentioned for balance cars / Mecanum wheel / Ackerman car applications
Specifications
| Parameter | MD520Z19_12V | MD520Z30_12V | MD520Z56_12V |
|---|---|---|---|
| Rated motor voltage | 12V | 12V | 12V |
| Motor type | Permanent magnet brush | ||
| Output shaft | Diameter 6mm D-type eccentric shaft | ||
| Stall torque | 3.1 kg*cm | 4.8 kg*cm | 8.3 kg*cm |
| Rated torque | 2.2 kg*cm | 3.3 kg*cm | 6.5 kg*cm |
| Speed before deceleration | 11000 rpm | 11000 rpm | 12000 rpm |
| Speed after deceleration | 550 +/- 10 rpm | 333 +/- 10 rpm | 205 +/- 10 rpm |
| Power rating | <= 4W | <= 4W | <= 4W |
| Rated power (shown) | 3.6W | ||
| Stall current | 3A | 3A | 4A |
| Rated current | 0.3A | 0.3A | 0.3A |
| Gear reduction ratio | 1:19 | 1:30 | 1:56 |
| Encoder type | AB phase incremental Hall encoder | ||
| Encoder supply voltage | 3.3-5V | ||
| Number of magnetic loops | 11 | ||
| Interface type | PH2.0 6Pin | ||
| Function | With its own pull-up shaping, the single-chip microcomputer can directly read the signal pulse | ||
| Motor installation width | 76mm | ||
| Applicable chassis width scenario (shown) | Chassis width greater than 15cm | ||
| Single motor weight | 150 g +/- 1 g | 150 g +/- 1 g | 150 g +/- 1 g |
Power supply note (shown): For a motor with a rated voltage of 12V, the recommended power supply range is between 11V and 16V, and 12V is recommended.
Encoder Output Notes (Shown)
- Phase difference between the two signals: 100 degrees
- Hall encoder: 11 ppr, magnetic induction, power supply 3.3-5V
- Example given for 1:30 reduction ratio: single-phase output is 11 pulses per motor revolution; maximum output shaft counts per revolution: (30 * 11 * 4) = 1320 counts
- Encoder protection note (shown): bare magnetic encoder is relatively stable, no need for back cover
- Adapt to the microcontroller (shown): almost all micro-controllers
Applications
- Balance car
- 4-wheel trolley / smart car chassis
- Mecanum wheel car
- Ackerman steering car
- Navigation and positioning car
For product selection and integration support, contact https://rcdrone.top/ or email support@rcdrone.top.
Details

Get reliable speed and direction feedback on smart car and balance car builds with an encoder-ready 520 gear motor.

Choose 1:19, 1:30, or 1:56 reduction to balance speed and torque for your chassis and wheel setup.




A high-precision Hall encoder pairs with an all‑metal gearbox to keep control loops stable under load.


Full parameter table lists stall/rated torque, output RPM, current, and the 3.3–5V encoder supply range.

Use the ratio curves to pick higher speed (1:19) or higher torque and finer control (1:56) for your vehicle.


Mechanical drawings help confirm fitment, including the 6mm D‑shaft output and mounting dimensions.


AB-phase square-wave output makes it easy for most microcontrollers to read direction and speed.




Mounting bracket dimensions are provided for easier chassis layout, with matching fasteners available.

Common platform examples include Ackerman steering, 4WD, Mecanum drive, self-balancing robots, and tracked builds.


The 4-channel encoder motor driver module provides a compact way to connect and control multiple encoder-equipped DC motors.

A dual-channel motor driver module with screw terminals and pin headers helps simplify wiring for two DC motors.

The ROS robot control board includes a compact PCB layout with heatsink and multiple connectors for straightforward integration into robotic builds.

The STM32 self-balancing car driver board provides a compact control PCB with multiple connectors for wiring a balance car setup.

A 12V battery feeds a motor driver and encoder motors, with a regulator supplying 5V/3.3V power to the MCU for PID speed control and pulse feedback.

MD520 DC gear motor details include an all-metal gearbox, D-shaped output shaft, carbon brushes, and a 6-pin connector with motor power and sensor signal lines.

The Fever Bluetooth app provides button, gravity-sensing, and joystick control options with on-screen motor speed and battery voltage readouts.

PID tuning screens provide angle and speed loop parameter controls along with multi‑channel waveform viewing and Bluetooth connection.

An open-source developer app with Bluetooth controls and accompanying documentation supports smart car development and tuning.

MD520 support files include driver and tutorial folders for ROS robot control, STM32 self-balancing car projects, and a 4-channel motor driver board.

MSPM0G3507-based routines support AT8236 and TB6612 motor drive modules, with KEIL and CCS code documentation for motor control projects.

The MD520 encoder geared motor package includes 20cm PH2.0 6-pin single and double head cables plus a matching 6-pin socket for wiring.

The MD520 encoder gear motor kit includes a metal mounting bracket plus PH2.0 6‑pin cable options and a matching socket for cleaner wiring.

The encoder geared motor kit includes a motor fixing bracket, 6mm hex coupling, and PH2.0 6-pin cables and socket for wiring.

The MD520 12V DC gear motor kit includes a Hall encoder motor, motor fixing bracket, 6mm hex coupling, PH2.0 encoder cables, socket, and a high-friction rubber tire for chassis builds.
