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 the ZumoMotors library 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 Shield for Arduino
Zumo Robot Kit for Arduino (No Motors)
Zumo Reflectance Sensor Array
Zumo Robot for Arduino (Assembled with 75:1 HP Motors)
Zumo Shield for Arduino, v1.2
Zumo Robot Kit for Arduino, v1.2 (No Motors)
Zumo Robot for Arduino, v1.2 (Assembled with 75:1 HP Motors)
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