2018-06-06, 06:09 PM
(This post was last modified: 2018-06-06, 06:33 PM by seandepagnier.)
The controller is completely opensourced free software. See arduino/motor/motor.ino
I do not have the VNH2SP30, but I ordered some. I should have soon. This is why it is not supported by the code.
You would need to modify motor.ino, and change the way pwm works to drive this controller rather than a standard speed controller which uses the pwm as a speed signal rather than to actually switch the mosfets.
I also always optically isolate the arduino from the raspberry, so keep this in mind.
I do not have the VNH2SP30, but I ordered some. I should have soon. This is why it is not supported by the code.
You would need to modify motor.ino, and change the way pwm works to drive this controller rather than a standard speed controller which uses the pwm as a speed signal rather than to actually switch the mosfets.
I also always optically isolate the arduino from the raspberry, so keep this in mind.