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

Adding the electronics to your platform


The basic hardware platform is ready, and adding the Raspberry Pi is quite simple. You'll use the same RaspiRobot board that you used in Chapter 2, Building Your Own Futuristic Robot. Here is an image of the board mounted on the Raspberry Pi:

You'll need to connect the RaspiRobot to the DC motors. This is quite simple; you'll only use two of the six connectors on the motors. The rest are to power and read the encoders; you'll not use these on this project. Here is an image of the motor connector:

You'll need to connect the black connector to one of the L connectors on the RaspiRobot board, and the red connector to the L connector on the RaspiRobot board. Connect the second motor to the R connectors. Then connect a battery to the GND and +V connectors; you'll want to use a 3S LiPo battery that can supply 11.1 V. The next step is to start controlling the DC motors.