20 Easy Raspberry Pi Projects

20 Easy Raspberry Pi Projects

Toys, Tools, Gadgets, and More!
by Rui Santos and Sara Santos
April 2018, 288 pp.
Full Color

“This title will be a much used handbook by student makers, hobbyists, and enthusiasts.”
School Library Connection

Click here to download all the code and resources for the book
Download Project 13: Burglar Detector with Photo Capture

20 Easy Raspberry Pi Projects is a beginner-friendly collection of electronics projects, perfectly suited for kids, parents, educators, and hobbyists looking to level up their hardware skills.

After a crash course to get you set up with your Raspberry Pi, you’ll learn how to build interactive projects like a digital drum set; a WiFi controlled robot; a Pong game; an intruder alarm that sends email notifications; a gas leak detector; a weather forecaster; and IoT gadgets that control electronics around the house. Along the way, you’ll work with core components like LCD screens, cameras, sensors, and even learn how to set up your own server.

Each project provides step-by-step instructions, full-color photos and circuit diagrams, and the complete code to bring your build to life. If you’re ready to hit the ground running and make something interesting, let 20 Easy Raspberry Pi Projects be your guide.

Author Bio 

Rui Santos has a master’s degree in Electrical and Computer Engineering and runs Random Nerd Tutorials (randomnerdtutorials.com), a popular site full of step-by-step instructions for electronics projects. His work has been featured on popular websites like Instructables, Hackaday, Dangerous Prototypes, and Adafruit.

Sara Santos has a master’s degree in Bioengineering and she has always had a passion for writing, teaching, and STEM. So, when Rui invited her to be a part of this journey, she instantly accepted. Currently, she works full time at Random Nerd Tutorials doing what she loves the most.

Table of contents 


Project 1: Blinking an LED
Project 2: Pushbutton LED Flashlight
Project 3: LED Dimmer Switch
Project 4: A Graphical User Interface for a Multicolor LED
Project 5: Rainbow Light Strip

Project 6: An LCD Reminder
Project 7: Mini Weather Forecaster
Project 8: Pong with a Sense Hat

Project 9: All-In-One Weather Sensor Station
Project 10: Intruder Alarm with Email Notifications
Project 11: Gas and Smoke Alarm
Project 12: Temperature and Humidity Data Logger

Project 13: Burglar Detector with Photo Capture
Project 14: Home Surveillance Camera

Web Applications
Project 15: Building Your First Website
Project 16: Connecting Your Electronics to the Web
Project 17: Internet of Things Control Center with Node-Red

Games and Toys
Project 18: Digital Drum Set
Project 19: Make a Game in Scratch: Hungry Monkey
Project 20: Wi-Fi Remote-Controlled Robot

Appendix A: Raspberry Pi GPIO Pin Guide
Appendix B: Decoding Resistor Values

View the detailed TOC


"20 Easy Raspberry Pi Projects brings you 20 EASY projects, so it could be more suitable for a beginner than other books."
—Raspberry Tips

"Easy to read . . . The book is suitable for beginners but all the projects will help you learn more about your Raspberry Pi even if you’re more experienced with the platform."
—Don Watkins, Opensource.com


Page 44
The reference to "Figure 1-5" should read "Figure 1-4"