![Pololu Zumo Shield For Arduino User Manual Download Page 41](http://html1.mh-extra.com/html/pololu/zumo-shield-for-arduino/zumo-shield-for-arduino_user-manual_1574974041.webp)
6. Zumo Shield Arduino library
Our Zumo Shield Arduino library makes it easy to get started writing Arduino sketches to control
your Zumo. A link to download the library and installation instructions can be found on the
[https://github.com/pololu/zumo-shield-arduino-library]
. The
[https://pololu.github.io/zumo-shield-arduino-library]
provides detailed information about the
library, and the library comes with several example sketches.
If you are using version 1.6.2 or later of the Arduino software (IDE), you can use the Library Manager
to install this library:
1. In the Arduino IDE, open the “Sketch” menu, select “Include Library”, then “Manage
Libraries…”.
2. Search for “ZumoShield”.
3. Click the ZumoShield entry in the list.
4. Click “Install”.
If this does not work, you can manually install the library:
1. Download the
latest release archive from GitHub
[https://github.com/pololu/zumo-shield-arduino-
and decompress it.
2. Rename the folder “zumo-shield-arduino-library-master” to “ZumoShield”.
3. Move the “ZumoShield” folder into the “libraries” directory inside your Arduino sketchbook
directory. You can view your sketchbook location by opening the “File” menu and selecting
“Preferences” in the Arduino IDE. If there is not already a “libraries” folder in that location,
you should make the folder yourself.
4. After installing the library, restart the Arduino IDE.
After you install the ZumoShield library, you can learn more about it by trying the included example
sketches and by reading the
Zumo Shield Arduino library documentation
The Zumo Shield Arduino library includes the following parts:
ZumoMotors
ZumoMotors provides functions for PWM-based speed (and direction) control of the two motors on
the Zumo with the onboard DRV8835 dual motor driver. On Arduinos with ATmega328P, ATmega168,
and ATmega32U4 microcontrollers (which include the A-Star 32U4 Prime, Arduino Leonardo, Arduino
Uno, and most older Arduinos), the motor control functions use hardware PWM outputs from Timer1
Pololu Zumo Shield for Arduino User’s Guide
© 2001–2019 Pololu Corporation
6. Zumo Shield Arduino library
Page 41 of 52