8. Controlling a servo

8.a. Controlling a servo with an Arduino Uno
8.b. Controlling a servo with an Arduino Leonardo or A-Star 32U4 Prime

This section explains how to control a hobby RC servo from an Arduino Uno, Arduino Leonardo, or A-Star 32U4 Prime that is connected to the Zumo Shield. The Arduino IDE includes a Servo library that generates the pulses needed to control an RC servo. However, this servo library conflicts with ZumoMotors in that both rely on Timer 1. Instead, you will need to do something special to get servo control working.

To control a servo with an Arduino Uno, see Section 8.a. To control a servo with an Arduino Leonardo or A-Star 32U4 Prime, see Section 8.b.

Related Products

Zumo Reflectance Sensor Array
Zumo Shield for Arduino, v1.2
Zumo Robot Kit for Arduino (No Motors)
Zumo Robot for Arduino (Assembled with 75:1 HP Motors)
Zumo Shield for Arduino, v1.3
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Menu
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors