Skip to Main Content
Programming the Raspberry Pi, Third Edition: Getting Started with Python, 3rd Edition
book

Programming the Raspberry Pi, Third Edition: Getting Started with Python, 3rd Edition

by Simon Monk
June 2021
Beginner content levelBeginner
208 pages
3h 50m
English
McGraw-Hill Education TAB
Content preview from Programming the Raspberry Pi, Third Edition: Getting Started with Python, 3rd Edition

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.

Images

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Raspberry Pi Cookbook, 3rd Edition

Raspberry Pi Cookbook, 3rd Edition

Simon Monk
Learning Computer Architecture with Raspberry Pi

Learning Computer Architecture with Raspberry Pi

Eben Upton, Jeffrey Duntemann, Ralph Roberts, Tim Mamtora, Ben Everard

Publisher Resources

ISBN: 9781264257362