Chapter 9. Building Robots

In this chapter, we will cover the following topics:

  • Building a Rover-Pi robot with forward driving motors
  • Using advanced motor control
  • Building a six-legged Pi-Bug robot
  • Controlling servos directly with ServoBlaster
  • Avoiding objects and obstacles
  • Getting a sense of direction

Introduction

A little computer with a "brain the size of a planet" (to quote Douglas Adams, the author of Hitchhikers Guide to the Galaxy) is perfect to be the brain of your own robotic creation. In reality, the Raspberry Pi probably provides far more processing power than a little robot or rover would need; however, its small size, excellent connectivity, and fairly low-power requirements mean that it is ideally suited.

This chapter will focus on exploring ...

Get Raspberry Pi for Python Programmers Cookbook - Second 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.