I am trying to drive 4 motors (pololu.com/product/1445/specs) with the Commotion Motor Driver (https://sites.google.com/site/daguproducts/system/app/pages/search?scope=search-site&q=commotion).
For starters I plugged in one motor, then used the code available here:
https://github.com/Blueglide/ComMotion
And was able to drive the motor two/three times, but could not do that any longer. I am not sure what changed.
But I have tried to reset (procedure given here: https://drive.google.com/file/d/0B__O096vyVYqRG9id3BnOWNWQ00/edit?pli=1) the board to resolve this (I used this Commotion code: https://sites.google.com/site/daguproducts/home/Software/ComMotion_V2.zip). Also flashed the bootloader. Now the blue light (LT) that was blinking continously on the board is gone, the green light next to it is still blinking.
When I plug in a 12V power source (Wall adapter) the two red lights and the yellow light keeps blinking in sync. When I plug the board on arduino the red light
Also with the Vin pin shorted the board does not seem to power the arduino. So I am not sure if somehow I damaged the board :(?
Can somebody please guide me on how to resolve this?
The attached link points to a stripped down version of the BlueGlide.ino. Requires the I2C wire library but not the ComMotion. I have only tested with 3 motors using SparkFun RedBoard as the main Arduino. Have noticed that motors 3 & 4 (second controller chip) behave very randomly when the power drops. I typically supply about 7.2V.
I have not flashed my ComMotion. All of my failures have been power or jumper related. I think there is a “default behavior” where the device will do some motor activity if it does not detect I2C activity.