Motor shield on Arduino constantly driving motor1 problem

Status
Not open for further replies.

Canbo68

New Member
I have a pololu dual mc33926 motor driver shield sitting on top of an arduino mega 2560 driving 2 maxon 363789 motors. The arduino is powered by usb serial and the motor driver is powered by lityum ion battery pack. This works fine on one side of my robot. Additionally the other side has exactly the same setup to drive 2 other maxon motors. However for some reason when power is given to both the driver and arduino on that side , motor1 constantly and at full speed turns. I replaced the arduino with a new one and also the driver with a new one but the problem persists. The shields motor1 led is constantly green. I also uploaded an empty code into the arduino and with power given the motor still constantly turns. (Note: the side that has this problem; there is a nrf24l01 connected to the arduino) when uploading a code that publishes ros topics, the topics are published without problem. This doesnt look like a code problem as the motor still turns with empty code. To verify the motor1 problem i swapped the two motor's cables therefore the other motor connected to motor1 port of the motor driver is now turning.
 
Hi Canbo, Welcome to ETO .. .. .

The MC33926 is quite a complicated bit of kit because it has a series of solder 'jumpers' which will affect the way it behaves significantly; It may be that the jumpers on drive 2 are different to those on drive 1 - worth a check ?

The other thing I'd try is to disconnect the NRF 24l01 and see if that makes a difference .. .. .

MM
 
Did you try swapping the motor and shield between sides to see if the problem follows the electronics?
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…