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

Simple GPIO digital voltage output


Perhaps the simplest connection that you can make to the GPIO on Raspberry Pi is to connect to a pin so that you can send a simple digital output voltage. To do this, you will use the GPIO IO pins to light up an LED. To be successful, you'll need four pieces of hardware: a solder-less breadboard, some jumper wires, an LED, and a resistor. Here are more details on these parts:

  1. A breadboard is a simple device that lets you easily connect your various electronic parts. They come in various sizes, shapes, and colors. Here is a picture of such a breadboard:

    They are available at many online outlets and hobby shops.

  2. Jumper wires are designed to connect your various electronics parts. These are specified by female or male ends, depending on the type of connection. Here is a picture of a male to female jumper wire, with the ends labeled:

    For these projects, you'll want some female to male jumper cables and some female to female jumper cables.

  3. A Light Emitting Diode...