This motor driver shield and its corresponding Arduino library make it easy to control two bidirectional, high-power, brushed DC motors with an Arduino or Arduino clone. The board features a pair of robust VNH5019 motor drivers from ST, which operate from 5.5 to 24 V and can deliver a continuous 12 A (30 A peak) per channel, and incorporates most of the components of the typical application diagram on page 14 of the VNH5019 datasheet (629k pdf), including pull-up and protection resistors and FETs for reverse battery protection. It ships fully populated with its SMD components, including the two VNH5019 ICs, as shown in the picture to the right; stackable Arduino headers and terminal blocks for connecting motors and motor power are included but are not soldered in (see the Included Hardware section below).
This versatile motor driver is intended for a wide range of users, from beginners who just want a plug-and-play motor control solution for their Arduinos (and are okay with a little soldering) to experts who want to directly interface with ST’s great motor driver ICs. The Arduino pin mappings can all be customized if the defaults are not convenient, and the VNH5019 control lines are broken out along the left side of the board for general-purpose use without an Arduino (see the right connection diagram below). This versatility, along with an option to power the Arduino directly from the shield, sets this board apart from similar competing motor shields.
Dual VNH5019 motor driver shield with an Arduino (shield and Arduino powered separately).
Dual VNH5019 motor driver shield connected to a microcontroller (gray connections are optional).
For a lower-power, lower-cost alternative to this shield, please consider the Dual MC33926 motor driver shield, which has a very similar design and can deliver a continuous 3 A per channel.
- Wide operating voltage range: 5.5 – 24 V1
- High output current: up to 12 A continuous (30 maximum) per motor
- Motor outputs can be combined to deliver up to 24 A continuous (60 A maximum) to a single motor
- Inputs compatible with both 5V and 3.3V systems (logic high threshold is 2.1 V)
- PWM operation up to 20 kHz, which is ultrasonic and allows for quieter motor operation
- Current sense voltage output proportional to motor current (approx. 140 mV/A)
- Motor indicator LEDs show what the outputs are doing even when no motor is connected
- Can be used with an Arduino or Arduino clone (through shield headers) or other microcontroller boards (through 0.1″ header along the left side)
- When used as a shield, the motor power supply can optionally be used to power the Arduino base as well
- Arduino pin mappings can be customized if the default mappings are not convenient
- Arduino library makes it easy to get started using this board as a motor driver shield
- Detailed user’s guide
- Reverse-voltage protection
- Robust drivers:
- Can survive input voltages up to 41 V
- Undervoltage and overvoltage shutdown
- High-side and low-side thermal shutdown
- Short-to-ground and short-to-Vcc protection
1 While the overvoltage protection typically kicks in at 27 V, it can trigger at voltages as low as 24 V, so we do not recommend using this motor driver with 24 V batteries, which significantly exceed 24 V when fully charged. If the shield is configured to power an Arduino or Arduino clone, the supply voltage must conform to that Arduino’s input voltage requirements.
This motor driver board ships with all of the surface-mount parts populated. However, soldering is required for assembly of the included through-hole parts. The following through-hole parts are included:
- two extended/stackable 1×8 female headers (for Arduino shields)
- two extended/stackable 1×6 female headers (for Arduino shields)
- three 2-pin 5mm terminal blocks (for board power and motor outputs)
- 40-pin 0.1″ straight breakaway male header (may ship in several pieces, such as two 20-pin strips)
A 0.1″ shorting block (for optionally supplying shield power to Arduino) is also included.
You can solder the terminal blocks to the six large through-holes to make your motor and motor power connections, or you can break off a 12×1 section of the 0.1″ header strip and solder it into the smaller through-holes that border these larger holes. Note, however, that the terminal blocks are only rated for 16 A, and each header pin pair is only rated for a combined 6 A, so for higher-power applications, thick wires should be soldered directly to the board.
When not using this board as an Arduino shield, you can solder the 0.1″ headers to the logic connections along the left side of the board to enable use with custom cables or solderless breadboards, or you can solder wires directly to the board for more compact installations. Note that motor and motor power connections should not be made through a breadboard.
The motor driver includes three 47 uF electrolytic power capacitors, and there is room to add additional capacitors (e.g. to compensate for long power wires or increase stability of the power supply). Additional power capacitors are usually not necessary, and no additional capacitors are included with this motor driver.
The two mounting holes are intended for use with #4 screws (not included). They have a horizontal separation of 0.30″ and a vertical separation of 1.70″.
An Arduino is not included.
Schematic diagram of the Dual VNH5019 motor driver shield for Arduino.
This schematic is also available as a downloadable pdf: dual VNH5019 motor driver shield schematic (87k pdf)
Real-world power dissipation consideration:
Each motor driver IC has a maximum continuous current rating of 30 A. However, the chips by themselves will overheat at lower currents (see the table above for typical values). The actual current you can deliver will depend on how well you can keep the motor drivers cool. The shield’s printed circuit board is designed to draw heat out of the motor driver chips, but performance can be improved by adding heat sinks. In our tests, we were able to deliver short durations (on the order of milliseconds) of 30 A and several seconds of 20 A without overheating. At 6 A, the chip gets just barely noticeably warm to the touch. For high-current installations, the motor and power supply wires should also be soldered directly instead of going through the supplied terminal blocks, which are rated for up to 16 A.
This product can get hot enough to burn you long before the chip overheats. Take care when handling this product and other components connected to it.
Many motor controllers or speed controllers can have peak current ratings that are substantially higher than the continuous current rating; this is not the case with these motor drivers, which have a 30 A continuous rating and over-current protection that can kick in as low as 30 A (50 A typical). Therefore, the stall current of your motor should not be more than 30 A. (Even if you expect to run at a much lower average current, the motor can still draw short bursts of high currents, such as when it is starting, if special steps are not taken.)
Note: The datasheet refers to the motor driver IC by the full part number VNH5019A-E, but the “A” seems to simply indicate that it was packaged in tubes. It mentions VNH5019TR-E as another valid part number for this IC (indicating tape-and-reel packaging).
||2.56″ × 2.02″ × 0.38″ (See Note 1)
||18 g (See Note 1)
|Minimum operating voltage:
|Maximum operating voltage:
||24 V (See Note 2)
|Continuous output current per channel:
|Peak output current per channel:
|Maximum PWM frequency:
|Reverse voltage protection?:
- Without included hardware.
- Not recommended for use with 24V batteries.
Documentation and Support: