Book Image

Getting Started with Raspberry Pi Zero

By : Richard Grimmett
Book Image

Getting Started with Raspberry Pi Zero

By: Richard Grimmett

Overview of this book

Raspberry Pi Zero is half the size of Raspberry Pi A, only with twice the utility. At just three centimeters wide, it packs in every utility required for full-fledged computing tasks. This practical tutorial will help you quickly get up and running with Raspberry Pi Zero to control hardware and software and write simple programs and games. You will learn to build creative programs and exciting games with little or no programming experience. We cover all the features of Raspberry Pi Zero as you discover how to configure software and hardware, and control external devices. You will find out how to navigate your way in Raspbian, write simple Python scripts, and create simple DIY programs.
Table of Contents (16 chapters)
Getting Started with Raspberry Pi Zero
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Communicating between the servo controller and a PC


Now that the hardware is connected, you can use some software provided by Pololu to control the servos. Let's do this using your personal computer. First, download the Pololu software from www.pololu.com/docs/0J40/3.a and install it based on the instructions on the website. Once it is installed, run the software and you should be able to see this screen:

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

Make sure that 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; now you can actually turn on the 12 servos. The screen should look like this:

You can now use the sliders to actually control the servos. Make sure that servo 0 moves the right front lower servo, 1 the right front middle servo, 2 the right front upper servo, and so on. You can also use this to...