Lesson 4 How to Control 180° Servo
In this lesson, we will learn how to control 180° Servo.
4.1 Components used in this course
Components
Raspberry Pi
Robot HAT
180°Servo
4.2 Introduction of 180° Servo
What is a servo?
The servo is a position (angle) servo driver, which is suitable for those control
systems that require constant angle changes and can be maintained. It has been widely
used in high-end remote control toys, such as airplanes, submarine models, and
remote control robots.
We use a 180° servo in this lesson, which can move between 0° and 180°.Since
the 180° servo can use the PWM signal to control the rotation angle of a certain
mechanism, it is a more commonly used module in robot products.
On the Raspberry Pi driver board Robot HAT, there is a PCA9685 chip specially
used to control the servo. The Raspberry Pi uses I2C to communicate with the
PCA9685. It controls the servo by sending pulse signals from the microcontroller.
These pulses tell the servo mechanism of the servo where to move. The picture of the
180° servo is as follows:
Quantity
1
1
1
68
Picture
Need help?
Do you have a question about the PiCar-Pro and is the answer not in the manual?