Servo motors can be used to make precise and quite repeatable motions. They can be controlled with the Raspberry Pi or add-on boards. We will be using them to build a pan and tilt mechanism—a head to position a sensor.
In this chapter, we will cover the following topics:
- What servo motors are and where you might see them in use
- How servo motors are positioned and how to position them with the Raspberry Pi
- What a pan and tilt mechanism is and how to build one with servo motors
- How to add this pan and tilt service to the robot object and test it