O'Reilly logo

Getting Started with Raspberry Pi Zero by Richard Grimmett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Accessing the GPIO Pins on Raspberry Pi Zero

Now that you are familiar with Raspberry Pi Zero and also how to create, edit, and upload a program, this chapter will turn your focus to the hardware. You'll get the chance to learn how to connect and access, from the software, the capabilities of the Raspberry Pi GPIO pins.

In this chapter you'll learn:

  • All about Raspberry Pi Zero's GPIO pins and what they can and can't do
  • A very basic circuit and very simple programming examples of how to interface Raspberry Pi Zero's GPIO to produce a digital control signal
  • A more complex example of how to interface Raspberry Pi Zero's GPIO with a sonar sensor
  • An example of how to connect an I2C device to Raspberry Pi Zero

The GPIO capability of Raspberry Pi ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required