June 2021
Beginner
208 pages
3h 50m
English
In this chapter, you will learn how to use the Raspberry Pi with a motor chassis to make two versions of a roving vehicle. The first version allows the robot to be controlled using a web interface. The second version (Figure 12-1) is autonomous and will move around in a random manner, detecting obstacles in front of it using an ultrasonic rangefinder.

Figure 12-1 A Raspberry Pi robot.
In this chapter, I recommend the use of a Raspberry Pi Zero W (see Figure 12-2) for both projects. This half-sized Raspberry Pi is powerful enough to control the robot rover, but has the advantage that it uses a lot less battery power than ...