Default Arduino Pin Mappings
The following table shows how the shield connects your Arduino’s pins to the motor drivers’ pins:
Arduino
Pin
Shield Pin
Name
Basic Function
Digital 4
D2 (or nD2)
Tri-state disables both outputs of both motor channels when
LOW;
toggling resets latched driver fault condition
Digital 7
M1DIR
Motor 1 direction input
Digital 8
M2DIR
Motor 2 direction input
Digital 9
M1PWM
Motor 1 speed input
Digital 10
M2PWM
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 mV/A)
See
Section 4.b
for more detailed descriptions of the shield pins and a motor control
truth table. See
Section 5
for a schematic diagram of the shield. See
Section 6.a
for
instructions on how to customize your board’s Arduino pin mappings if the above defaults
are not convenient.
Power Connections
Pololu Dual MC33926 Motor Driver Shield User’s Guide
© 2001–2017 Pololu Corporation
3. Getting Started with an Arduino
Page 11 of 30