beautypg.com

Customizing the shield, A. remapping the arduino connections, Section 6.a – Pololu Dual MC33926 User Manual

Page 21

background image

6. Customizing the Shield

This motor driver shield has several features that will not be useful in a typical application but that might benefit
an advanced user. This section explains how to modify the shield from its default state to access these features.

6.a. Remapping the Arduino Connections

For some applications, this shield’s default Arduino pin mappings might not be convenient. For example, maybe
you want to use the 16-bit Timer 1 for making music on a buzzer and would rather use PWMs from Timer 0 to
control your motor speed. Or maybe you don’t care about monitoring the motor current and would rather use all
of your analog 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 points and
establish new connections to replace the broken ones if desired.

The following two diagrams show the default pin mappings:

Dual MC33926 motor driver shield

Arduino pin mappings for speed,

direction, and current feedback.

Dual MC33926 motor driver shield

Arduino pin mappings for driver disable

and fault status.

The connections between the Arduino pins and the MC33926 motor driver pins are each made through a pair of
0.1″-spaced holes that are connected on the underside of the shield by a thin trace:

Pololu Dual MC33926 Motor Driver Shield User's Guide

© 2001–2013 Pololu Corporation

6. Customizing the Shield

Page 21 of 24