Pololu Robotics & Electronics
My account Comments or questions? About Pololu Contact Ordering information Distributors

Pololu Dual VNH5019 Motor Driver Shield proper controller for wild thumber 4wd chassis


Hi, I have a 4wd robot chassis (http://www.dagurobot.com/goods.php?id=292) and I would need a suitable motor controller for it. The Pololu Dual VNH5019 Motor Driver Shield (https://www.pololu.com/product/2507) looks like a potential option, but I would like to hear a more experienced opinion. The motor-controller will be driven by Texas-instruments TM4C123G LaunchPad which provides the pwm-signal + direction for two motors, i.e., in total 4 connection? The VNH5019 is shown here https://www.pololu.com/product/2507#lightbox-picture0J5210 . Do I connect the power supply from my battery to the GND, V_in slots in the right side of the controller? The two pwm signals are likely to be connected to M1PWM and M2PVM slots on the left, but what about the two direction control connections? Are they connected to M1INA/M2INA or M1INB/M2INB and what is the difference between A and B. Do I need any other connections or any other components (electric shielding to protect motors etc.) to drive the motor properly? Is only one VNH5019 driver required to drive both sides of the chassis?


Hello, Vili.

The VNH5019 requires four digital and two PWM signals, and is compatible with 3.3V and 5V signal, so as long as your TM4C123G LaunchPad controller can supply those signals the VNH5019 shield should be fine.

You can wire both of the motors for a side in parallel to control each side from one motor output.

You can see the connections needed for use as a general purpose driver (including the motor power connections), in the “Dual VNH5019 motor driver shield connected to a microcontroller” diagram in the “Overview” section of the VNH5019 shield’s product page. The “Board Connections” section of the “Pololu Dual VNH5019 Motor Driver Shield User’s Guide” has a pinout chart describing how the MxINA and MxINB signals control the motors direction.

We do not have any example code for the TM4C123G LaunchPad, but you might take a look at the link to the library labeled “library’s github page” in the “Programming Your Arduino” section of the same user’s guide to see how you might go about controlling the driver.