I bought the Dual VNH5019 motor driver shield for Arduino and I’m currently trying to use it on the Arduino Mega.
I did the recommended hardware modifications (Modified VNH5019 shield library for 20kHz PWM with Mega) and use the modified library.
The shield works so far and I also get correct values for setSpeed(0) and setSpeed(400). However, the curve between these points is not linear at all. I took some measures and it looks like a log function.
The Arduino outputs are fine, but it seems that the shield does not work in a proportional way when translating the input into the output voltage.
Is that the correct behaviour? Or do I miss something there?
Thanks very much for your help!