Default arduino pin mappings – Pololu Dual MC33926 User Manual

Page 9

Advertising
background image

directly to the shield itself via its large, high-current VIN and GND pads. The motor channels, located on either
side of these power pins, can each be used to independently control a bidirectional brushed DC motor. Each motor
channel is comprised of a pair of pins—MxA and MxB—that connect to the two terminals of a DC motor and can
deliver a continuous 3 A (5 A peak). The picture above shows the typical connections involved in using this board
as an Arduino shield. In the depicted configuration, the Arduino is powered separately from the shield, such as
through its USB connector or power jack.

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.

Pololu Dual MC33926 Motor Driver Shield User's Guide

© 2001–2013 Pololu Corporation

3. Getting Started with an Arduino

Page 9 of 24

Advertising