background image

PIN

Default State

Description

VIN

The connection point for the positive side of the 5 – 28 V motor power
supply.

VDD

The connection point for the positive side of the logic power supply
(typically 2.5 – 5 V).

VOUT

This pin gives you access to the motor power supply after the reverse-
voltage protection MOSFET (see the board schematic in

Section 5

). It

can be used to supply reverse-protected power to other components in
the system, but it should not be used for high currents. This pin should
only be used as an output.

GND

Ground connection points for logic and motor power supplies. The
controlling device and the motor driver must share a common ground.

MxA/B

Output of half-bridge A/B. Each half-bridge connects to one terminal of a
DC motor.

MxPWM LOW

Pulse-width modulation input: a PWM signal on this pin corresponds to a
PWM output on the corresponding driver’s motor outputs. When this pin
is low, the motor brakes low. When it is high, the motor is on. The
maximum allowed PWM frequency is 20 kHz.

MxDIR

LOW

Motor direction input.

MxFB

Current sense output. The pin voltage is roughly 525 mV per amp of
output current. (Note that the voltage on this pin can exceed 3.3 V at
high currents, which might make it unsafe to connect to 3.3 V analog
inputs. The CS circuit has a 1 kΩ resistor in series with the output, which
offers some protection, and the driver has over-current protection that
kicks in between 5 A and 8 A, so the risk is low, but the safest approach
would be to use a 3.3 V zener diode to clamp the output to ~3.3 V or a
voltage divider to scale the output over a range that is appropriate.)

SF

HIGH

Diagnostic output. When both drivers are functioning normally, this pin is
internally pulled high. When a driver fault occurs, the IC drives this pin
low and the motor outputs are disabled. This pin will also be low
whenever D2 is low. Note that the status flag lines from both drivers are
tied together. See

Section 6.b

for information on how to individually

access the status flag pins (this is typically not necessary).

D2

LOW

Disables the motor driver outputs when low. A PWM on this pin with

Pololu Dual MC33926 Motor Driver Shield User’s Guide

© 2001–2017 Pololu Corporation

4. Using as a General-Purpose Motor Driver

Page 22 of 30

Summary of Contents for MC33926

Page 1: ...Power and Motors 10 3 d Programming Your Arduino 16 4 Using as a General Purpose Motor Driver 19 4 a Assembly for Use as a General Purpose Motor Driver 19 4 b Board Connections 20 5 Schematic Diagram...

Page 2: ...s fully populated with its SMD components including the two MC33926 ICs as shown in the picture to the right stackable Arduino headers and terminal blocks for connecting motors and motor power are inc...

Page 3: ...power the Arduino base as well Arduino pin mappings can be customized if the default mappings are not convenient Arduino library http github com pololu dual mc33926 motor shield makes it easy to get...

Page 4: ...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...

Page 5: ...An Arduino https www pololu com product 2191 is not included Pololu Dual MC33926 Motor Driver Shield User s Guide 2001 2017 Pololu Corporation 1 Overview Page 5 of 30...

Page 6: ...pololu com product 2503 If you need technical support or have any feedback you would like to share you can contact us https www pololu com contact directly or post on our forum http forum pololu com...

Page 7: ...lu com category 165 a star 32u4 prime Arduino Uno https www pololu com product 2191 both original and R3 Arduino Leonardo https www pololu com product 2192 Arduino Due https www pololu com product 219...

Page 8: ...as an Arduino Shield 1 Stackable Arduino headers Before you can use this board as an Arduino shield you need to solder four of the five included Arduino header strips to the set of holes highlighted...

Page 9: ...al blocks should be used or thick wires with high current connectors https www pololu com product 925 should be soldered directly to the board The smaller holes are intended only for 0 1 header pins n...

Page 10: ...rduino and the motor driver shield including VDD are made automatically when the shield is plugged into the Arduino However the shield s motor power must be supplied directly to the shield itself via...

Page 11: ...WM Motor 2 speed input Digital 12 SF or nSF Status flag indicator LOW indicates fault Analog 0 M1FB Motor 1 current sense output approx 525 mV A Analog 1 M2FB Motor 2 current sense output approx 525 m...

Page 12: ...ield through other means such as from the Arduino or through the small VOUT pin can permanently damage both the Arduino and the shield only the large power traces on the right side of the shield are d...

Page 13: ...er supply When the ARDVIN VOUT shorting block is in place the shield s reverse protected input power VOUT is connected to the Arduino s VIN pin When power is connected properly VOUT is essentially the...

Page 14: ...he shield performance is derated and the maximum achievable continuous output current will be decreased according to the MC33926 datasheet H bridge MOSFET on resistances might increase by 50 in this q...

Page 15: ...r motor has a stall current over the driver s continuous current rating of 3 A per channel we recommend you take extra steps to make sure that your motor will not be exposed to loads that will cause i...

Page 16: ...h terminal to the case 2 Make your motor leads as thick and as short as possible and twist them around each other It is also beneficial to do this with your power supply leads 3 Route your motor and p...

Page 17: ...0 i 400 i md setM1Speed i stopIfFault if abs i 200 100 Serial print M1 current Serial println md getM1CurrentMilliamps delay 2 for int i 400 i 400 i md setM1Speed i stopIfFault if abs i 200 100 Seria...

Page 18: ...for feedback that the shield is working properly 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 Serial print M2 current Serial println md getM2CurrentMil...

Page 19: ...as a General Purpose Motor Driver 1 Logic connections The 11 small holes along the left side of the board highlighted in red in the above diagram are used to interface with the motor drivers You can o...

Page 20: ...iven high either through a connection to an I O line or by connecting it to the neighboring VDD pin With the exception of the pins labeled D2 1 2 and SF 1 2 all of the through holes not highlighted in...

Page 21: ...wing table explains the board pins in detail See the MC33926 datasheet https www pololu com file download MC33926 pdf file_id 0J233 1MB pdf for even more detailed information about these pins Pololu D...

Page 22: ...tion input MxFB Current sense output The pin voltage is roughly 525 mV per amp of output current Note that the voltage on this pin can exceed 3 3 V at high currents which might make it unsafe to conne...

Page 23: ...clear any latched faults Note that the disable lines from both drivers are tied together See Section 6 b for information on how to individually access the disable pins this is typically not necessary...

Page 24: ...buses when not used with an Arduino The shield must be supplied with 5 to 28 V through the large VIN and GND pads on the right side of the board A high side reverse voltage protection MOSFET prevents...

Page 25: ...r controlling device should be supplied to the VDD pin This will typically be between 2 5 and 5 V Please see the MC33926 datasheet and Section 3 c for more power considerations and for information abo...

Page 26: ...for Arduino PDF of schematic dual MC33926 motor driver shield schematic https www pololu com file download dual_mc33926_shield_schematic pdf file_id 0J559 350k pdf Pololu Dual MC33926 Motor Driver Shi...

Page 27: ...og inputs for reading sensors With this in 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...

Page 28: ...mply use a knife to cut the trace between the appropriate pair of holes on the underside of the PCB there is no connection to cut on the topside of the PCB and run a wire from a different Arduino pin...

Page 29: ...information There are two pairs of 0 1 spaced holes on the shield labeled D2 1 2 and SF 1 2 These pairs are connected on the underside of the PCB by a thin trace with the holes labeled M1 connecting...

Page 30: ...ns is severed only M1SF will have the required pull up resistor and the protection resistor between it and the logic connections you will need to add a separate pull up resistor and protection resisto...

Reviews: