12
Raspberry Pi Robot
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 ...
Get Programming the Raspberry Pi, Third Edition: Getting Started with Python, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.