Chapter 2. Building Your Own Futuristic Robot

Now that you are up and running, let's start with a simple but impressive project in which you'll take a toy robot and give it much more functionality. You'll start with an R2D2 toy robot and modify it to add a webcam, voice recognition, and motors so that it can get around.

In this chapter, we'll cover the following topics:

  • Using the Raspberry Pi to control two DC motors
  • Hooking up the hardware to make and input sound
  • Using eSpeak to allow our projects to respond with a robot voice
  • Using PocketSphinx to accept your voice commands
  • Using Python and the other tools to interpret commands and initiate actions
  • Hooking up a USB webcam so that you can add vision to your project
  • Downloading and configuring OpenCV ...

Get Raspberry Pi Robotic Projects - Third 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.