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.
Inhaltsverzeichnis
- Get started with GPIO Zero
- Control leds
- Add a push button
- Make a music box
- Light an RGB led
- Motion-sensing alarm
- Build a rangefinder
- Make a laser tripwire
- Build an internet radio
- Create an led thermometer
- Build a robot
- Quick reference