Hi all, i have been using two tyoes of motor driver, the l298N and l298P. I have had the same problem with both. I am using these to control two dc motors. When i have both moving forwards or backwards it veers left for example. I have tried editing the duty cycle of the pwm to counter this with no results. Also inhave changed out both motors ? This is happeing on both drivers
Are you aware that almost all DC motors are designed with the brushes have directional bias in the position of the holders in relation to the armature segments. This is to ensure the motor will always start moving, no matter how the brushes contact the armature segments. This means a simple motor will ALWAYS move better in one direction.
The complicated solution is to monitor the RPM of each motor and adjust the PWM to make the rotations match.
Your "problem" is common and by motor design.
Hi,
Are you using those cheap motors with yellow gearboxes?
If so then, that problem is not new.
Also the 298 drivers are out of date BJT technology, and you are using most of your energy in the motor driver.
Did you swap motors over and see if the problem was motor or driver?
Measure the voltage across your motor when it is going full speed, then compare it to what your motor supply is actually supplying.
Tom...
![]()
Tom i appricate your reply. Yes using those for my prototype. I have had the same problem with two motor drivers now with different motors. Any recommendations forvmotor drivers? My new motors are 12V 21 Watts so i would want somthing decent to drive them
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
