中文English
51 Single chip microcomputer connecting two DC gear motors can use L298N motor drive module. The steps are as follows: Connect the VCC pin of the L298N to the 5V power supply and t...

51 MCU two DC gear motor how to wire?

51 Single chip microcomputer connecting two DC gear motors can use L298N motor drive module. The steps are as follows: Connect the VCC pin of the L298N to the 5V power supply and the GND pin to the ground cable.

Connect the output pins of 51 microcontroller to the IN1, IN2, IN3 and IN4 pins of L298N module.

Connect the positive electrode of the DC gear motor to the OUT1 and OUT2 pins of the L298N module, and connect the negative electrode to the ground wire. Add a suitable current limiting resistor between the L298N module and the motor to protect the motor from overcurrent damage.

After the connection is completed, the input pin of the L298N module can be controlled through the 51 MCU, so as to control the rotation direction and speed of the two DC gear motors.


To connect the DC gear motor, it is necessary to drive the indirect motor chip, such as l298.