Simple electronics with GPIO Zero
eBook - ePub

Simple electronics with GPIO Zero

Take control of the real world with your Raspberry Pi

  1. 112 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Simple electronics with GPIO Zero

Take control of the real world with your Raspberry Pi

About this book

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.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Simple electronics with GPIO Zero by Phil King in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Simple electronics with GPIO Zero, 2nd Edition
  2. Copyright Page
  3. Welcome
  4. About the author
  5. Chapter 1: Get started with electronics and GPIO Zero
  6. Chapter 2: Control LEDs with GPIO Zero
  7. Chapter 3: User input with a push button
  8. Chapter 4: Make a push button music box
  9. Chapter 5: Measure CPU usage with an RGB LED
  10. Chapter 6: Make a motion-sensing alarm
  11. Chapter 7: Make a range finder
  12. Chapter 8: Make a laser tripwire
  13. Chapter 9: Build an internet radio
  14. Chapter 10: Create an LED thermometer
  15. Chapter 11: Build a GPIO Zero robot
  16. Appendix A: Output devices
  17. Appendix B: Input devices
  18. Appendix C: SPI devices
  19. Appendix D: Boards, accessories, and system devices