Raspberry Pi Robotics Projects - Second Edition

Raspberry Pi Robotics Projects - Second Edition

Language: English

Pages: 320

ISBN: 1785280147

Format: PDF / Kindle (mobi) / ePub


Get the most out of Raspberry Pi to build enthralling robotics projects

About This Book

  • Make your projects talk and understand speech with the Raspberry Pi
  • Use a standard webcam to make your projects see and enhance vision capabilities
  • Full of simple, easy-to-understand instructions to bring your Raspberry Pi online to develop robotics projects
  • Describe how to access the GPIO pins to provide access to a wide array of additional hardware capabilities

Who This Book Is For

This book is for enthusiasts who want to use the Raspberry Pi to build complex robotics projects. With the aid of the step-by-step instructions in this book, you can construct complex robotics projects that can move, talk, listen, see, swim, or fly. No previous Raspberry Pi robotics experience is assumed, but even experts will find unexpected and interesting information in this invaluable guide.

What You Will Learn

  • Unbox, power-up, and configure Raspberry Pi with Ubuntu, a powerful version of Linux
  • Exercise vision control in your projects to distinguish colors, patterns, or movements
  • Apply and control speech software to enable your projects to speak
  • Discover external hardware to enable your robotics projects to move
  • Create complex robotics projects that can move, swim, or even fly
  • Interact with your projects wirelessly so that they can be truly autonomous
  • Use the GPIO to communicate with external sensors

In Detail

This book starts with the essentials of turning on the basic hardware. It provides the capability to interpret your commands and have your robot initiate actions. In this second edition, you will learn more specifics on how to use the Raspberry Pi's GPIO pins to communicate with and control a wide range of additional hardware.

Teaching you to use the Raspberry Pi from scratch, this book will discuss a wide range of capabilities that can be achieved with it. These capabilities include voice recognition, human-like speech simulation, computer vision, motor control, GPS location, and wireless control. You will then learn how to combine these capabilities to create your own robotics projects. By the end of the book, you will be able to employ the Raspberry Pi to build some intricate and enthralling robotics projects with ease.

 

 

 

 

 

 

 

 

 

 

 

 

 

thousands of word possibilities, so if two words are close, PocketSphinx may choose the wrong word. To avoid this, you can make your own dictionary to restrict the words it has to choose from. The first step is to create a file with the words or phrases that you want the system to recognize. Then, you use a web tool to create two files that the system will use to define your grammar. I'll do this through the vncserver command because I'll need to use a web browser on Raspberry Pi to turn a text

volts out on in2_pin1 (this is GPIO 22).io.output(in1_pin2, True): Output a high voltage out on in1_pin2 (this is GPIO 20).io.output(in2_pin2, False): Output 0 volts out on in2_pin2 (this is GPIO 21).def reverse():: This defines the reverse function . You'll turn on GPIO22 and GPIO21, and turn off GPIO27 and GPIO20.io.output(in1_pin1, False): Output 0 volts out on in1_pin1 (this is GPIO 27).io.output(in2_pin1, True): Output a high voltage out on in2_pin1 (this is GPIO 22).io.output(in1_pin2,

Creating a program in Linux to control the mobile platform Now that you can control your servos by using a basic command-line program, let's control them by programming some movement in Python. In this section, you'll create a Python program that will let you talk to your servos a bit more intuitively. You'll issue commands that tell a servo to go to a specific angle and it will go to that angle. You can then add a set of such commands to allow your legged mobile robot to lean left or right and

mA at 5 volts. When you plug the board in, the PWR LED should be red. Here is a close up of the LED locations, just so you're certain which one to look for: If you've reached this point, congratulations! You're ready for the next step. Hooking up a keyboard, mouse, and display Now that you know your board works, you're going to add peripherals so that it can operate as a standalone computer system. This step is optional, as in the future, your projects will often be in systems where you won't

http://dzlsevilgeniuslair.blogspot.dk/search/label/ROV. Additionally, http://www.mbari.org/education/rov/ and http://www.engadget.com/2007/09/04/build-your-own-underwater-rov-for-250/ show platforms to which you can add your Raspberry Pi. Whether you have purchased a platform or designed your own, the first step is to engage Raspberry Pi to control the motors. Fortunately, you should have a good idea of how to do this. Chapter 5, Creating Mobile Robots on Wheels, covers how to use a set of DC

Download sample

Download