In this lesson, we will connect a servo motor (and supporting components) to an Arduino UNO board and program the servo motor in C++ with the Arduino IDE.
Circuit Diagram
The components needed to complete this circuit:
- Arduino UNO board
- 100 μF electrolytic capacitor
- 9v Battery

C++ Code
