Adding a pan and tilt mechanism
We are now going to build and add a pan and tilt servo mechanism to our robot. This mechanism is like a head for our robot to mount sensors on it. A pan and tilt mechanism, shown in Figure 10.8, moves a sensor (or anything else) through two axes under servo motor control.
Pan means to turn left or right. Tilt means to tilt up or down:
Kits like the one in Figure 10.8 are available from Mouser, along with Adafruit outlets. You may need to purchase the servo motors separately. There are other types of pan-tilt. Ensure it is the type that uses two servos and refer to the manufacturer's documentation where it is different. We build the kit, mount it onto our robot, and plug it into the controller.
Our robot block diagram with the servos looks like Figure 10.9: