O'Reilly logo

Getting Started with Raspberry Pi Zero by Richard Grimmett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Giving your robot voice commands

Now that your robot knows how to respond to the commands from the Python program, you can add the ability to your robot to respond to voice commands. You'll also make your robot speak, which will make the robot more interactive.

To add these capabilities to your robot, you need to add some new hardware. This project requires a USB microphone and speaker adapter. You need the following three pieces of hardware:

  • A USB device to be able to plug in a microphone and speaker; one that works well is Sabrent USB External Stereo Sound Adapter for Windows and Mac, as shown here:
    Giving your robot voice commands
  • A microphone that can plug into the USB device; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required