Refunds Shipping

We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

Cover of Simple electronics with GPIO Zero

Simple electronics with GPIO Zero

or free e-book for contributors

There are many things that distinguish Raspberry Pi from other computers. The GPIO header might just be the most significant of them all — it allows you to connect electronic components to your Raspberry Pi and control them with code you've written yourself.

The most popular programming language for controlling electronics on a Raspberry Pi is Python, particularly the code in the GPIO Zero library, which you can use to control LEDs, sensors, motors, and many more components.

With this book, you’ll learn how to use GPIO Zero as you build a series of simple electronics projects:

  • Program some LED lights
  • Add a push button to your project
  • Build a motion-sensing alarm
  • Create your own distance rangefinder
  • Make a laser-powered tripwire
  • Build a Raspberry Pi robot

The GPIO pins on your Raspberry Pi open up a whole new world of possibilities — specifically, the physical world around you. It may seem daunting at first, but you’ll be creating electronic circuits and controlling them with code before you know it. Grab your breadboard and start taking control of the real world with your Raspberry Pi today!

Updated for the latest Raspberry Pi devices, this book has all the information you need to get started.

£10 off Essentials guides

Buy any three of our Raspberry Pi Essentials guides and get £10 off automatically! No codes, no fuss. Add any three of these books to your cart for an instant saving:

- Make Games with Python (2nd Edition)
- Simple Electronics with GPIO Zero (2nd Edition)
- Conquer the Command Line (3rd Edition)
- Experiment with the Sense HAT (2nd Edition)

Perfect gifts for yourself or the Raspberry Pi enthusiast in your life.

Click to buy!

Print Subscriptions

12 month recurring subscription

  • 12 issues per year
  • Free Raspberry Pi Pico 2 W (or Pico 2) *
  • Up to to 23% cheaper
  • Free delivery to your door
  • Available worldwide

*Free Raspberry Pi Pico W with first subscription (renewals not included)

From £55

£10 for 3 issues

  • £10 for 3 issues paid by Direct Debit
  • Free Pico 2 W (or Pico 2)
  • Renews at £15 every 3 issues
  • Cancel at any time
  • Free delivery to your door
  • UK only
From £10

6 month recurring subscription

  • Free delivery to your door
  • Available worldwide
  • Free Pico 2 W (or Pico 2)
  • Cheaper than newsstand
  • Cancel at any time
From £30

Digital Subscriptions

App Store

  • Free to download & 30 free issues
  • Best mobile reading experience
  • Read news straight from the app
  • Buy issues or subscribe from £2.49
From £3

Google Play

  • Free to download & 30 free issues
  • Best mobile reading experience
  • Read news straight from the app
  • Buy issues or subscribe from £2.49
From £3

Free PDF Edition

  • Delivered to your inbox
  • Optimised for screens
  • Clickable web links
  • Occasional news updates
Free

Sign up to the newsletter

Get every issue delivered directly to your inbox and keep up to date with the latest news, offers, events, and more.