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

Communicating between the servo controller and a PC


Now that the servo controller is connected ,you can use some software provided by Pololu to control the servos. This is done just to make sure you have everything hooked up correctly, and to set the controller's setting. Unfortunately, the software won't run on the Raspberry Pi; you'll need to do this using your personal computer. First, download the Pololu Software from www.pololu.com/docs/0J40/3.a and install it according to the instructions on the website.

Once it is installed, run the software, and you should see this screen:

You will first need to change the configuration on Serial Settings, so select the Serial Settings tab, and you should see this:

Make sure that the USB Chained is selected; this will allow you to connect and control the motor controller over USB. Now go back to the main screen by selecting the Status tab, and now you can actually turn on the 12 servos. The screen should look like this:

Now you can use the sliders...