Raspberry Pi Robotic Projects - Third Edition

Book description

Work through a mix of amazing robotic projects using the Raspberry Pi Zero or the Raspberry Pi 3

About This Book

  • Easy to follow instructions, yet the ones that help you build powerful robots, and exclusive coverage of mobile robots with the Pi Zero

  • Build robots that can run, swim and fly and the cutting-edge dimension of robotics that is possible with the Raspberry Pi Zero and Pi 3

  • Interact with your projects wirelessly and make sci-fi possible, right in your home

  • Who This Book Is For

    This book is for hobbyists and programmers who are excited about using the Raspberry Pi 3 and Raspberry Pi Zero. It is for those who are taking their first steps towards using these devices to control hardware and software and write simple programs that enable amazing projects. No programming experience is required, Just a little computer and mechanical aptitude and the desire to build some interesting projects.

    What You Will Learn

  • Control a variety of different DC motors

  • Add a USB webcam to see what your robot can see

  • Attach a projector to project information

  • Insert USB control hardware to control a complex robot with two legs

  • Include speech recognition so that your projects can receive commands

  • Add speech output to that the robot can communicate with the world around it

  • Include wireless communication so that you can see what the robot is seeing and control the robot from a distance

  • In Detail

    This book will allow you to take full advantage of Raspberry Pi Zero and Raspberry Pi 3 by building both simple and complex robotic projects. The book takes a mission-critical approach to show you how to build amazing robots and helps you decide which board to use for which type of robot. The book puts a special emphasis on designing mobile (or movable) robots using the Raspberry Pi Zero. The projects will show inexpensive, yet powerful, ways to take full advantage. It will teach you how to program Raspberry Pi, control the movement of your robot, and add features to your robots.

    Style and approach

    This fun and practical tutorial contain step-by-step instructions to get you hands-on building inexpensive projects. It contains mission-critical chapters and everything you need to know to get started.

    Table of contents

    1. Raspberry Pi Robotic Projects - Third Edition
      1. Raspberry Pi Robotic Projects - Third Edition
      2. Credits
      3. About the Author
      4. About the Reviewer
      5. www.PacktPub.com
        1. Why subscribe?
      6. Preface
        1. What this book covers 
        2. Who this book is for 
        3. What you need for this book 
        4. Conventions 
        5. Reader feedback
        6. Customer support
        7. Downloading the color images of this book
        8. Errata
        9. Piracy
        10. Questions
      7. 1. Getting Started with the Raspberry Pi
        1. Setting up the Raspberry Pi 3
        2. Powering the board
        3. Hooking up a keyboard, mouse, and display
        4. Installing the operating system
        5. Adding Internet access
          1. Accessing your Raspberry Pi 3 from your host PC
        6. Setting up the Raspberry Pi Zero
        7. Powering the board
        8. Hooking up a keyboard, mouse, and display
        9. Installing the operating system
        10. Adding Internet access
        11. Summary
      8. 2. Building Your Own Futuristic Robot
        1. Modifying the R2D2
          1. Adding wheels and motors
          2. Connecting to the top of the R2D2
        2. Controlling R2D2 using the Raspberry Pi in Python
        3. Adding voice recognition
        4. Using eSpeak to allow your robot to speak
        5. Using PocketSphinx to accept your voice commands
        6. Interpreting commands and initiating actions
        7. Adding video capability
        8. Downloading and installing OpenCV - a fully featured vision library
        9. Controlling your R2D2 remotely
        10. Summary
      9. 3. Building a Wall-E Robot
        1. Creating the hardware platform
          1. Adding the Raspberry P and a DC motor controller
        2. Building Wall-E's arms
          1. Constructing the arms
        3. Controlling Wall-E's tracks using a Raspberry Pi in Python
        4. How servo motors work
        5. Using a servo controller to control the servos
        6. Communicating between the servo controller and a PC
        7. Controlling the Servo Controller with the Raspberry Pi
        8. Creating a program in Linux to control Wall-E's arms
        9. Adding the Kinect 360 to your Wall-E
        10. Accessing the Kinect 360 using the Raspberry Pi
        11. Controlling your Wall-E remotely
        12. Summary
      10. 4. Building a Robotic Fish
        1. Creating the hardware platform
        2. Adding the electronics to your fish
        3. Adding the RaspiCamera
        4. Controlling your fish remotely
        5. Summary
      11. 5. Creating a Robotic Hand with the Raspberry Pi
        1. Creating the hardware platform
        2. Moving the hand
        3. Connecting the servo controller to the Raspberry Pi
        4. Controlling your hand
        5. Following your hand
        6. Summary
      12. 6. A Self-Balancing Robot
        1. Creating the hardware platform
        2. Adding the electronics to your platform
        3. Controlling the DC motors
        4. Reading the IMU
        5. Accessing the compass programmatically
        6. The balancing algorithm
        7. Summary
      13. 7. Adding the Raspberry Pi to a Quadcopter
        1. Accessing the hardware platform
        2. Connecting to the hardware
        3. Remote communication
          1. Configuring the XBee device
          2. Communicating over the XBee interface
        4. Adding GPS to your quadcopter
        5. Connecting the Raspberry Pi to a USB GPS device
        6. Accessing the USB GPS programmatically
        7. Summary

    Product information

    • Title: Raspberry Pi Robotic Projects - Third Edition
    • Author(s): Richard Grimmett
    • Release date: October 2016
    • Publisher(s): Packt Publishing
    • ISBN: 9781786467966