|
Re: Make my motor turn!
Do you have the motor connected to the M+/M- side of a Victor speed controller?
The same Victor that your PWM cable goes to?
Is the PWM cable plugged all the way into the Victor speed controller ... sometimes they are hard to get in due to the plastic of the PWM cable connector being a bit large.
Are you supplying 12 volts from the battery, through a circuit breaker, to the V+/V- side of the Victor speed controller?
Are the wires all in good contact?
Did you test the motor first (direct-connect to a 12 volt battery)?
Make sure you are not outputting a "neutral" value to the pwm13 variable in your code ... neutral (no voltage to motor) is in the range of 127 +/- 14 (114 through 141). If you are just testing and the motor isn't connected to any gears or the robot, just set pwm13 to something like 10, or 230.
|