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

The GPIO capability of Raspberry Pi Zero


Raspberry Pi Zero was built to access the outside world. Much of this access is available through the GPIO pins. Let's start by detailing what the GPIO pins are and what they can do. Raspberry Pi Zero has 40 GPIO pins.

Here is a closeup of the 40 pins:

Here is a listing of the pins and their connection to the Raspberry Pi Zero:

The purpose of some of these pins is very clear. Pins 1 and 17 are available to supply 3.3 volts, pins 2 and 4 supply 5 volts, and pins 9, 25, 39, 6, 14, 20, 30, and 34 are all connected to ground on Raspberry Pi Zero. The rest of the pins have various capabilities, which you'll learn in this chapter. Let's start with the pins that can be used to supply a simple DC signal to the outside world.