Book Image

Raspberry Pi Robotic Projects - Third Edition

By : Richard Grimmett, Jon Witts
Book Image

Raspberry Pi Robotic Projects - Third Edition

By: Richard Grimmett, Jon Witts

Overview of this book

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.
Table of Contents (13 chapters)
Raspberry Pi Robotic Projects - Third Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

Creating the hardware platform


As you might suspect, your hardware platform will begin with two DC motors and two wheels. You'll also need a simple hardware set to which you can attach your motors and wheels. You can either purchase pieces, or an entire kit, such as the one offered at http://www.sainsmart.com/sainsmart-balancing-robot-kit.html.

If you are buying pieces you'll want to start with two DC motors with encoders, such as the 9.7:1 Metal Gearmotor 25Dx48L mm LP 6V with 48 CPR Encoder available at http://www.pololu.com or http://www.amazon.com. You'll also want wheels that fit these motors, both http://www.pololu.com and http://www.amazon.com have these as well.

You'll need some acrylic parts that allow you to attach the wheels as well as the battery and Raspberry Pi. Here is an image of the kit parts assembled with the motors and wheels. You can certainly cut your own parts from acrylic. Either way, here is the completed basic platform:

Now you'll need to add the electronics.