Component knowledge
Servo
Servo is an auto-control system, consisting of DC motor, reduction gear, sensor and control circuit. Usually,
it can rotate in the range of 180 degrees. Servo can output larger torque and is widely used in model airplane,
robot and so on. It has three lines, including two for electric power line positive (2-VCC, red), negative (3-
GND, brown), and the signal line (1-Signal, orange).
We use 50Hz PWM signal with a duty cycle in a certain range to drive the servo. The lasting time 0.5ms-2.5ms
of PWM single cycle high level corresponds to the servo angle 0 degrees - 180 degree linearly. Part of the
corresponding values are as follows: