Arduino Mega 1280 + Dual MC33926 Motor Controller doesn’t work.
Hi folks,
maybe you can help at my problem.
If I connect the DC-Motor directly to the Power Source (12V, enough Ampere), the motor runs fine.
But I bought this controller to control the motor with the Arduino Mega. Unfortunately, it doesent work. The Arduino Power LED works normal and also the Motor controller keep cool, but nothing happens
Maybe I messed up the connections or I have a mistake in my code? I paint the scheme for better understanding.
I don’t know why but after i “jumpered” (that means i wired the two ports next to each other, that is jumpering, or?), the motor runs I feel the force to control motors, this is awesome
At the moment, the one motor runs so slowly, i don’t need to change the speed, so on and off is all I need.
Now I have a second motor.
The other motor(motor 2) is unfortunately a little bit too fast. I would appreciate it, if you could get me on the right track, which pin I have now to jumper so that this works.
My Scheme2:
My Code2:
(Motor 1 is off in this configuration,
motor 2 runs from 0 to 200 and back to 0. Then it waits 2 seconds.)
Are you saying it is changing speed to fast, or that it is going too fast at the top speed? To fix the first, increase the delay to something more than 5; to fix the second, decrease the top speed to something less than 200.