PacktLib: Raspberry Pi Robotic Projects

Raspberry Pi Robotic Projects

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Getting Started with Raspberry Pi

Getting started

Hooking up a keyboard, mouse, and display

Installing the operating system

Accessing the board remotely

Summary

Programming Raspberry Pi

Basic Linux commands on Raspberry Pi

Creating, editing, and saving files on Raspberry Pi

Creating and running Python programs on Raspberry Pi

Basic programming constructs on Raspberry Pi

Introduction to the C/C++ programming language

Summary

Providing Speech Input and Output

Hooking up the hardware to make and input sound

Using Espeak to allow our projects to respond in a robot voice

Using PocketSphinx to accept your voice commands

Interpreting commands and initiating actions

Summary

Adding Vision to Raspberry Pi

Connecting the USB camera to Raspberry Pi and viewing the images

Downloading and installing OpenCV – a fully featured vision library

Using the vision library to detect colored objects

Summary

Creating Mobile Robots on Wheels

Gathering the required hardware

Using a motor controller to control the speed of your platform

Controlling your mobile platform programmatically using Raspberry Pi

Making your mobile platform truly mobile by issuing voice commands

Summary

Making the Unit Very Mobile – Controlling the Movement of a Robot with Legs

Gathering the hardware

Connecting Raspberry Pi to the mobile platform using a servo controller

Creating a program in Linux to control the mobile platform

Making your mobile platform truly mobile by issuing voice commands

Summary

Avoiding Obstacles Using Sensors

Gathering the hardware

Connecting Raspberry Pi to an infrared sensor

Connecting Raspberry Pi to a USB sonar sensor

Using a servo to move a single sensor

Summary

Going Truly Mobile – The Remote Control of Your Robot

Gathering the hardware

Connecting Raspberry Pi to a wireless USB keyboard

Using the keyboard to control your project

Working remotely with your Raspberry Pi through a wireless LAN

Working remotely with your Raspberry Pi through ZigBee

Summary

Using a GPS Receiver to Locate Your Robot

Connecting Raspberry Pi to a GPS device

Accessing the GPS programmatically

Summary

System Dynamics

Getting started

Creating a general control structure

Using the structure of the Robot Operating System to enable complex functionalities

Summary

By Land, Sea, and Air

Using Raspberry Pi to sail

Using Raspberry Pi to fly robots

Using Raspberry Pi to make the robot swim underwater

Summary

Index