- ホーム
- > 洋書
- > 英文書
- > Computer / General
Full Description
Learn Raspberry Pi through practical projects and combine Python, GPIOs, sensors, camera control, and Flask to build a complete motion-triggered alarm system
Key Features
Progress from Raspberry Pi basics to a complete connected alarm system
Reinforce your skills through 11 practical, hands-on activities
Combine Python, sensors, camera, email, and Flask in a final project
Purchase of the print or Kindle book includes a free PDF eBook
Book DescriptionRaspberry Pi is easiest to learn when setup, code, electronics, and projects are taught together. The book takes you from preparing your board to building a working connected alarm system, with each topic adding a skill you can reuse in your own projects.
You'll install and configure Raspberry Pi OS, set up remote access, and learn the Python you need for Raspberry Pi development. From there, you'll build circuits with LEDs, buttons, and a PIR motion sensor, control GPIOs with Python and GPIO Zero, use the Linux terminal, manage files and software, and run Python programs from the command line. You'll also capture photos and videos with the Raspberry Pi Camera, send email alerts, and create a Flask web application that controls connected hardware. Eleven activities give you regular opportunities to apply what you have learned.
The final project combines these skills in a motion-triggered surveillance and alarm system that records events, captures an image, emails the photo, serves the latest image on a web page, and starts automatically at boot. Edouard Renard draws on his experience as a software engineer and robotics teacher to explain how the code and hardware work together, helping you build projects independently rather than relying on ready-made solutions. What you will learn
Install Raspberry Pi OS and configure headless remote access
Write Python programs with functions, loops, lists, and modules
Build breadboard circuits safely with LEDs and push buttons
Control GPIO inputs and outputs with Python and GPIO Zero
Detect motion with a PIR sensor and trigger automated actions
Use the terminal to manage files, packages, and Python scripts
Capture photos and videos and send email alerts from your Pi
Build a Flask web app and a motion-triggered alarm system
Who this book is forThis book is for beginners who want to use Raspberry Pi for real projects, including students, developers, engineers, teachers, makers, and hobbyists. Python and Linux users who want to add electronics, sensors, cameras, and web controls will also find it useful. No prior programming, Linux, or electronics experience is required. You need a computer and a Raspberry Pi 5, Raspberry Pi 4, or an earlier compatible board.
Contents
Table of Contents
Meet Your Raspberry Pi
Installing Raspberry Pi OS and Connect Headlessly
Learning Python Basics with Variables and Functions
Using Conditions, Loops, Lists, and Modules in Python
Building Your First Raspberry Pi Circuit Safely
Controlling LEDs and Buttons with Python and GPIOs
Building More Interactive GPIO Projects
Detecting Motion with a PIR Sensor
Using the Terminal and Running Python from the Command Line
Sending Email Alerts from Your Raspberry Pi
Capturing Photos and Videos with the Raspberry Pi Camera
Controlling Raspberry Pi Hardware from a Flask Web App
Building a Motion-Triggered Surveillance and Alarm System



