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

Click here to download all the code and resources for the book

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 runs Random Nerd Tutorials, a popular site full of step-by-step instructions for electronics projects. His work has been featured on popular websites like Instructables, Hackaday, and Dangerous Prototypes.

Sara Santos has been on the Random Nerd Tutorials team since 2015.

Table of contents 

Primer: Introduction
Getting Started
Setting Your Pi as a Desktop Computer
Getting Started with Programming

Part 1: LEDs
Chapter 1: Blinking an LED
Chapter 2: Pushbutton LED Flashlight
Chapter 3: Dimmer Switch
Chapter 4: User Interface for an RGB LED
Chapter 5: Rainbow Light Strip

Part 2: Displays
Chapter 6: An LCD Reminder
Chapter 7: Mini Weather Forecaster
Chapter 8: Pong with a SenseHAT
Chapter 9: All-in-one Weather Sensor Station

Part 3: Sensors
Chapter 10: Intruder Alarm with Email Notifications
Chapter 11: Gas and Smoke Alarm
Chapter 12: Temperature and Humidity Data Logger

Part 4: Cameras
Chapter 13: Burglar Detector and Photo Capture
Chapter 14: Home Surveillance Camera

Part 5: Web Applications
Chapter 15: Building Your First Website
Chapter 16: Connecting Your Electronics to the Web
Chapter 17: Internet of Things Control Center with Node-RED

Part 6: Playing
Chapter 18: Digital Drum Set
Chapter 19: Make a Game in Scratch: Hungry Monkey
Chapter 20: Wi-Fi Remote-Controlled Robot
Appendix A: Rasp Pi GPIOs
Appendix B: Resistor Value Color Calculator