Running TWO VNH5019 Motor Driver Shields

Hi,

I have reviewed the sample code at https://github.com/photodude/DualVNH5019MotorShieldMod3

My question relates to the required PIN changes to support the use of the two shields concurrently. Can I please get some information of which PINs need to be remapped on each of the VNH5019 Motor Driver Shield boards?

Thanks!

-Philip

Hello, Philip.

It appears that lines 6 through 32 of the DualVNH5019MotorShieldMod3.cpp file in that library list the default pins used by the motor shields for the library, but it also seems like it is possible to use your own mappings as well.

By the way, the Dual VNH5019 Motor Driver Shield User’s Guide discusses how to remap the physical connections on the board, though you may also need to make use of the logic connections on the left side of the board if you are using the default pins for motor shield 2 in that library.

-Nathan

Hi,

Thanks for the reply! I missed the pin assignment in the cpp file!

Best,

-Philip