yahboom
HomeTutorialsProduct
Solution
Blog
Online Store
About Us
EN/中文
Store
L-Type Motor📖
1.About motor
  • About motor
2.ROS robot control board drive
  • 0. Notes (Must read!!)
  • 1. Control motor
  • 2. Timer captures encoder data
  • 3. PID control robot car
  • 4. Kinematic Analysis-Mecanum wheel structure
  • 5. Kinematic Analysis-Ackerman structure
  • 6. Kinematic Analysis-4WD structure
3.STM32 board car tutorials
0. Notes (Must read!!)
  • Notes
1. Get started quickly
  • 0. Installation Instructions
  • 1. Version configuration
  • 2. Smart car installation video
  • 3. Precautions for use
2. Introduction to STM32 development board
  • 0. Notes (must read)
  • 1. Learn about STM32
  • 2. Introduction to STM32 development board
  • 3. Development board pin assignment
  • 4. Introduction to HAL library and LL library
3. Setting up and using the development environment
  • 1. Common development tools
  • 2. STM32CubeMX Install - Use
  • 3. STM32CubeIDE Install - Use
  • 4. Common Driver Installation
  • 5. Program download and simulation
  • 6. Engineering experience and migration
4. Car expansion tutorial
  • 1. Servo control
  • 2. Basic use of ultrasonic steering gear gimbal
  • 3. Motor control
  • 4. OLED display light sensitivity value
  • 5. Infrared sensor
  • 6. Four-way tracking module
  • 7. Infrared remote control
  • 8. Ultrasonic ranging
  • 9. PS2 controller test
  • 10. Car line patrol
  • 11. Ultrasonic follow
  • 12. Ultrasonic obstacle avoidance
  • 13. Ultrasonic obstacle avoidance (servo gimbal version)
  • 14. Infrared sensor obstacle avoidance
  • 15. Infrared remote control
  • 16. PS2 handle remote control
4. 2-channel motor drive module
For MSPM0G3507
  • 1.AT8236 drive tutorials
  • 2.TB6612 drive tutorials
For MSPM0G3519
  • 1.AT8236 drive tutorialsnew
  • 2.TB6612 drive tutorialsnew
5. 4-channel motor drive module
IIC communication
  • For MSPM0G3507
  • For MSPM0G3519new
  • For STM32
  • For ESP32
  • For Arduino
  • For PICO2
  • For Jetson NANO
  • For RPi5
  • For RDK X5
Introduction and Debug
  • 1.Introduction to 4-channel motor drive board
  • 2. Control command
  • 3. 520 motor introduction and usage
  • 4. PC host
USART communication
  • For MSPM0G3507
  • For MSPM0G3519new
  • For STM32
  • For ESP32
  • For Arduino
  • For PICO2
  • For Jetson NANO
  • For RPi5
  • For RDK X5
Download
  • 3D-Model-File
  • Code
Download ZIP

Welcome to L-Type Motor repository

3. 520 motor introduction and usage

520 Motor Introduction and Usage

This article is used to explain the motor parameters, recommended supply voltage, and the recommended wiring method for this motor to be connected to the four-way motor driver board.

520 motor

ParametersMD520Z19_12VMD520Z30_12VMD520Z56_12VL-type 520 motor
Rated voltage12V12V12V12V
Motor typePermanent magnet brushPermanent magnet brushPermanent magnet brushPermanent magnet brush
Output shaft6mm diameter D-type eccentric shaft6mm diameter D-type eccentric shaft6mm diameter D-type eccentric shaft6mm diameter D-type eccentric shaft
Stall torque3.1kg·cm4.8kg·cm8.3kg·cm10kg·cm
Rated torque2.2kg·cm3.3kg·cm6.5kg·cm4.4kg·cm
Speed ​​before deceleration11000rpm11000rpm12000rpm12000rpm
Speed ​​after deceleration550±10rpm333±10rpm205±10rpm300±5%
Rated power≤4W≤4W≤4W≤6W
Stall current3A3A4A4A
Rated current0.3A0.3A0.3A0.5A
Gear reduction ratio1:191:301:561:40
Encoder typeAB phase incremental Hall encoderAB phase incremental Hall encoderAB phase incremental Hall encoderAB phase incremental Hall encoder
Encoder supply voltage3.3-5V3.3-5V3.3-5V3.3-5V
Number of magnetic ring lines11 lines11 lines11 lines11 lines
Interface typePH2.0 6PinPH2.0 6PinPH2.0 6PinPH2.0 6Pin
FunctionWith pull-up shaping, the microcontroller can directly read the signal pulseWith pull-up shaping, the microcontroller can directly read the signal pulseWith pull-up shaping, the microcontroller can directly read the signal pulseWith built-in pull-up shaping, the microcontroller can directly read the signal pulse
Weight of single motor150g±1g150g±1g150g±1g161g±1g

Recommended power supply: 12V. There are four types of 520 motors, and their rated voltage is 12V. When we drive the 520 motor, we can connect a voltage between 11 and 16V, and it is recommended to use a 12V voltage supply.

If you want to distinguish the model of the 520 motor you bought, you can directly look at the label printed on the 520 motor. There is a text of RPM printed on it, and the number in front of RPM corresponds to the number of speed after deceleration in the parameter table.

For example, the label of the 520 motor in my hand says 333RPM, so I should pay attention to the parameters in the MD520Z30_12V column. Especially the two parameters of reduction ratio and number of magnetic ring lines, which may be modified when using the four-way motor driver board.

Recommended wiring: The purchased 520 motor will come with two types of wires. Here we recommend that you choose the black PH2.0-6PIN double-head reverse cable, one end connected to the motor, and the other end directly connected to the PH2.0-6PIN encoder motor interface on the four-way motor driver board. This wiring is the most convenient, but it can be found that the A on the motor corresponds to the B phase of the four-way motor driver board. Therefore, when configuring the motor type on the four-way motor driver board, you should choose $mtype:1#, the model of the 520 motor.

520 motor wiring instructions:

If you use PH2.0-6PIN to Dupont line connection, you can connect according to the picture below. With this connection, the motor phase A will be connected to the four-way motor driver board phase A, and phase B will be connected to phase B. However, when configuring the motor type, you should select $mtype:2#, the model of the 310 motor.

Control command
PC host

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文