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

Communication between the Raspberry Pi Zero and the robot


You're going to connect to the internal serial bus so that you, not the remote, can send commands. You'll add an Arduino to handle real-time communication between the Raspberry Pi Zero and the robot. Here are the steps:

  1. Firstly, you need to disassemble the robot to get access to the main controller board. To do this, lay the robot face down so that you have access to the back. Remove the plate at the back by unscrewing the four screws that hold it in place. Now, at the top of the exposed board, you should see the main connector. The following image is a close-up photograph of the connector:

    There are only two wires that you are interested in. The first is the black wire, which is the GND for the Robosapien system. The second is the white wire. This is the serial connection that controls the command for the Robosapien.

  2. So, you're going to connect a wire to the black wire, but you need both ends of the black wire to stay connected to the...