Overview
In this lesson, you will master how to control a servo motor with the UNO R3 or MEGA 2560
board.
Components Required
Name
UNO R3 or MEGA 2560
Servo (SG90)
Component Introduction
Servo motor is a kind of geared motor that can rotate with a certain angle
according to the input pulse's frequency an duty cycle. The input pulse frequency
and duty cycle should be in a certain range for proper operation. A servo motor
can usually only turn 90° in either direction for a total of 180° movement. The
PWM signal can be sent to servo to move the shaft to the desired position.
Wiring Diagram
Result
After downloading the example, the servo motor turn left at 15˚ every second, then come
back to initial position at the same speed. In next loop, it will turn left at a higher speed and
then come back.
37
Lesson 12 Servo Motor
Qty
1
1
Name
DuPont Wire
Qty
3
Need help?
Do you have a question about the Ultimate Starter Kit for Arduino and is the answer not in the manual?
Questions and answers