Pololu VNH5019 Скачать руководство пользователя страница 1

Pololu Dual VNH5019 Motor

Driver Shield User's Guide

1. Overview  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  2

1.a. Features  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  3
1.b. Included Hardware  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  4

2. Contacting Pololu .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  5
3. Getting Started with an Arduino  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  6

3.a. What You Will Need  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  6
3.b. Assembly for Use as an Arduino Shield  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  6
3.c. Shield Connections  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  7
3.d. Programming Your Arduino  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 12

4. Using as a General-Purpose Motor Driver  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 15

4.a. Assembly for Use as a General-Purpose Motor Driver  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 15
4.b. Board Connections  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 16

5. Schematic Diagram .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 19
6. Customizing the Shield  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 20

6.a. Remapping the Arduino Connections  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 20
6.b. Accessing ENA/DIAGA and ENB/DIAGB Pins Separately  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 21

7. Using the Driver in Single-Channel Mode  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 23

Pololu Dual VNH5019 Motor Driver Shield User's Guide

© 2001–2011 Pololu Corporation

http://www.pololu.com/docs/0J49

Page 1 of 25

Содержание VNH5019

Страница 1: ...ming Your Arduino 12 4 Using as a General Purpose Motor Driver 15 4 a Assembly for Use as a General Purpose Motor Driver 15 4 b Board Connections 16 5 Schematic Diagram 19 6 Customizing the Shield 20...

Страница 2: ...ding 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...

Страница 3: ...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...

Страница 4: ...r 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 yo...

Страница 5: ...u com catalog product 2502 If you need technical support or have any feedback you would like to share you can contact us http www pololu com contact directly or post on our forum http forum pololu com...

Страница 6: ...soldering iron and solder The through hole parts included with the shield must be soldered in before you can plug the shield into an Arduino or before you can connect power and motors An inexpensive...

Страница 7: ...ect the shield power to the Arduino s VIN pin You should not use this to power the shield from the Arduino as this connection is not designed to handle high currents and you should never supply power...

Страница 8: ...4 M1INB Motor 1 direction input B Digital 6 M1EN DIAG Motor 1 enable input fault output Digital 7 M2INA Motor 2 direction input A Digital 8 M2INB Motor 2 direction input B Digital 9 M1PWM Motor 1 spee...

Страница 9: ...ng motors A high side reverse voltage protection MOSFET prevents the shield from being damaged if shield power is inadvertently connected backwards Logic power VDD is automatically supplied by the Ard...

Страница 10: ...supply and the Arduino s power supply that could permanently damage both the Arduino and the motor shield In this case it is also important that your shield power supply is an acceptable voltage for y...

Страница 11: ...hat will cause it to exceed 12 A for prolonged periods of time or you take extra steps to keep the motor drivers cool such as increasing air flow or adding heat sinks Exceeding 12 A for long durations...

Страница 12: ...se can typically range from 10 uF to a few hundred uF 3 d Programming Your Arduino Our Arduino library for the dual VNH5019 motor driver shield makes it easy to get started writing your Arduino sketch...

Страница 13: ...2Speed i stopIfFault if i 200 100 Serial print M2 current Serial println md getM2CurrentMilliamps delay 2 for int i 400 i 0 i md setM2Speed i stopIfFault if i 200 100 Serial print M2 current Serial pr...

Страница 14: ...et you can still try out this sketch and use the motor indicator LEDs for feedback that it s working properly Pololu Dual VNH5019 Motor Driver Shield User s Guide 2001 2011 Pololu Corporation 3 Gettin...

Страница 15: ...connections The six large holes twelve small holes on the right side of the board highlighted in yellow in the above diagram are the motor outputs and power inputs You can optionally solder the includ...

Страница 16: ...gnal to the MxINA B pins directly results in drive brake operation outputs drive during the high portion of the PWM and are shorted together during the low portion while supplying the PWM signal to th...

Страница 17: ...ut A clockwise input MxINB FLOATING Motor direction input B counterclockwise input MxCS Current sense output The pin voltage is roughly 140 mV per amp of output current when the CS_DIS pin is low or d...

Страница 18: ...s capable of delivering the current your motors will require For example alkaline cells are typically poor choices for high current applications and you should almost never use a 9V battery the rectan...

Страница 19: ...s schematic is also available as a downloadable pdf dual VNH5019 motor driver shield schematic http www pololu com file download dual_VNH5019_shield_schematic pdf file_id 0J513 87k pdf Pololu Dual VNH...

Страница 20: ...mind we designed the shield to have break points in the connection between the Arduino pins and the motor drivers It is easy to cut the connections at these points and establish new connections to re...

Страница 21: ...for each motor driver in order to decrease the number of I O lines required to monitor motor faults This combined line is sufficient for most applications but you can modify the board to get independ...

Страница 22: ...DIAGB pin or connect it to a microcontroller I O line with a built in pull up resistor enabled Also you might consider adding a 1k current limiting resistor in series with the ENB DIAGB connection as...

Страница 23: ...half bridge A and motor driver M2 into a new half bridge B Using the dual VNH5019 motor driver shield to drive a single more powerful motor Effectively create a new INA pin by connecting M1INA and MI1...

Страница 24: ...o the right show where to cut You can restore these connections with shorting blocks should you want to revert back to the default pin mappings later Next connect Arduino pin 2 to M1INB pin 7 to M2INB...

Страница 25: ...d to check both M1 and M2 faults in order to get an accurate picture of the driver s fault status getM1Fault effectively only returns the fault status of half bridge A and getM2Fault effectively retur...

Отзывы: