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

Chapter 4. Building and Controlling a Simple Wheeled Robot

You should now be familiar with how to program your Raspberry Pi Zero and how to communicate with the outside world with the GPIO. Now, let's actually build a mobile project. Perhaps the easiest way to make your projects mobile is to use a wheeled platform. In this chapter, you will be introduced to some of the basics of manipulating DC motors and using the Raspberry Pi Zero to control the speed and direction of your wheeled platform.

In this chapter, you will learn how to perform the following actions:

  • Using the Raspberry Pi Zero GPIO to control a DC motor

  • Controlling your mobile platform programmatically using the Raspberry Pi Zero

  • Implementing some simple path planning algorithms on the Raspberry Pi Zero