Raspberry Pi for Beginners, Step by Step

Video description

You may be just getting started or have already started to learn how to build projects with your Raspberry Pi, but knowing what to do first and which path to follow can be quite hard, and you may feel baffled. The problem with most online resources for Raspberry Pi is that they focus on making you run existing programs so that you feel you’ve accomplished a lot; but, in reality, you’ve just copied or pasted some random code and didn’t even scratch the surface. The why you should do that is not covered. Then the next time you need to do something on your own, you feel stuck and too dependent on other people's code.

This course focuses on the why and helps you to become more autonomous with your Raspberry Pi. You will be able to start your own projects without having to desperately search for code on the internet to copy and paste. My personal goal is to help you understand enough to get started quickly and to make you think as a problem solver with engineer-level skills.

This complete hands-on, step-by-step course targets the latest version of Raspberry Pi, which is Raspberry Pi 4. Everything also works perfectly for Raspberry Pi 2 and 3 versions. At the end of the course, you will have a strong foundation with your Raspberry Pi, and you will be able to start your own projects in no time.


Distributed by Manning Publications

This course was created independently by Edouard Renard and is distributed by Manning through our exclusive liveVideo platform.



About the Technology


About the Video


What's Inside
  • Master Raspberry Pi starting from scratch
  • Build a complete surveillance and alarm project with Raspberry Pi
  • Learn Python 3 from zero, step by step
  • Install the latest version of Raspberry Pi OS on your Raspberry Pi 4 (also works on Raspberry Pi 2 and 3)
  • Use the Raspberry Pi’s GPIOs to control hardware components
  • Create a web server on your Raspberry Pi
  • Send emails from your Raspberry Pi
  • Use the terminal to get more control over your Raspberry Pi
  • Take pictures and videos with the Raspberry Pi camera v2
  • Be more independent when working on your future projects
  • Get more practice with hands-on lessons, 11 activities, and a final project


About the Reader
  • A computer and a Raspberry Pi 4 (also works with Raspberry 2 and 3)
  • A list of hardware components (provided in a free preview lecture at the beginning). You can still start the course without those components.


About the Author

Edouard Renard is a software engineer, entrepreneur, and robotics teacher. He enjoys teaching new technologies to people and makes complex stuff easy to understand. His method is simple and contains only three words—step by step.

He knows how hard it can be to learn a new topic and to be lost in an ocean of information without knowing what to do. In his courses, he makes sure that his students learn one step at a time through practicing and that students also learn the best practices.

Edouard is passionate about robotics. He cofounded a robotics startup in 2016, building a complete robotic arm from scratch with Arduino, Raspberry Pi, Ubuntu, and ROS. He likes building cool new robotics projects in his free time. 



Quotes

Table of contents

  1. Introduction
    1. Welcome to the Course!
    2. What is Raspberry Pi and What Can You Do With it?
    3. List of Materials and Recommendations for This Course
    4. How to Get the Most Out of This Course
  2. Install Raspberry Pi OS Without an External Monitor or Keyboard
    1. Introduction
    2. Flash the Raspberry Pi OS with SSH and Wi-Fi Setup on Your MicroSD Card
    3. Boot Your Raspberry Pi for the First Time
    4. Find the Raspberry Pi’s IP Address
    5. Connect to Your Pi Using SSH
    6. Setup VNC to Get Remote Access to Your Raspberry Pi OS Desktop
    7. Finish the Startup Configuration: Last Steps
    8. Extra: If You Have to Change WiFi in the SD Card (Not Needed for First Install)
  3. Program with Python3: Variables and Functions
    1. Introduction
    2. Your First Python Program: Discover the Thonny IDE
    3. Variables
    4. Variables: Data Types
    5. Functions
    6. Variables: Scope
    7. Activity 1: Create a Function to Concatenate Two Uppercase Strings
    8. Activity 1: Solution
  4. Program with Python3: Conditions, Loops and Lists
    1. Conditions
    2. Condition Operators
    3. Activity 2: Validate User Input
    4. Activity 2: Solution
    5. Loops
    6. Lists
    7. Activity 3: Compute Max Value Inside a List
    8. Activity 3: Solution
    9. Python Modules
    10. Conclusion
  5. Build Your First Raspberry Pi Circuit
    1. Introduction
    2. Warning: Please Watch How to Safely Manipulate Your Board
    3. Understand How a Breadboard Works
    4. The Resistors Color Code
    5. Build Your First Circuit: One LED and One Resistor
  6. Control Raspberry Pi’s GPIOs with Python
    1. How GPIOs Work
    2. Create a Python Program to Make an LED Blink
    3. Activity 4: Set the LED’s State from User Input
    4. Activity 4: Solution
    5. Add a Push Button to Your Circuit
    6. Detect When a Button Is Pressed with Python
  7. More Practice with GPIOs
    1. Activity 5: Power On the LED When the Button Is Pressed
    2. Activity 5: Solution
    3. Add Two More LEDs to Your Circuit
    4. Activity 6: Change the Power On LED When Pressing the Button
    5. Activity 6: Solution
    6. Activity 7: Optimize Your Code with Lists and Functions
    7. Activity 7: Solution
  8. Detect Movement with a PIR Sensor
    1. Introduction
    2. Tune the PIR Sensor
    3. Add the PIR Sensor to Your Circuit
    4. Read the PIR’s Data with Python
    5. Activity 8: Power on an LED When Motion Is Detected (Your First Alarm System)
    6. Activity 8: Solution
  9. Use the Terminal on Your Raspberry Pi
    1. Introduction
    2. Navigation and File System
    3. Edit Files from the Terminal with Nano
    4. Create, Remove, and Manipulate Files
    5. Install and Update Software
    6. A Few More Terminal Commands to Gain Control Over Your Raspberry Pi
  10. Python3 and the Terminal
    1. Install Python Modules
    2. Work with Python from the Terminal
    3. Read, Write, and Manipulate Files with Python
    4. Activity 9: Create a New Python Script from the Terminal
    5. Activity 9: Solution
  11. Send an Email from Your Raspberry Pi
    1. Introduction
    2. Create a New Gmail Account
    3. Install a New Python Module (yagmail)
    4. Get the Password in Your Python Program
    5. Send Your First Email from the Raspberry Pi
    6. Add an Attachment to Your Email
  12. Add Images to Your Applications with the Raspberry Pi Camera V2 Module
    1. Introduction
    2. Plug the Camera into Your Raspberry Pi
    3. Enable the Camera (Bullseye)
    4. Enable the Camera (Buster)
    5. Take a Photo from the Terminal (raspistill)
    6. Record a Video From the Terminal (raspistill)
    7. Take a Photo with Python
    8. Record a Video with Python
    9. Activity 10: Take a Series of Pictures
    10. Activity 10: Solution
  13. Create a Web Application on Your Raspberry Pi with Flask and Python
    1. Introduction
    2. Write Your First Web Server
    3. Add a New URL and Connect Flask with GPIOs
    4. Activity 11: Choose Which LED to Power On from a Web Browser
    5. Activity 11: Solution
  14. Final Course Project
    1. Introduction: Project Overview
    2. Step 1: PIR sensor
    3. Step 2: Camera
    4. Step 3: Write to the Log File
    5. Step 4: Send Email with Photo
    6. Step 5: Web Server (Check Last)
    7. Step 6: Display Last Photo on the Web Page
    8. Step 7: Launch Your Programs on Boot
    9. Project Conclusion: Going Further
  15. Conclusion
    1. What You’ve Learned
    2. What to Do Next

Product information

  • Title: Raspberry Pi for Beginners, Step by Step
  • Author(s): Edouard Renard
  • Release date: August 2022
  • Publisher(s): Manning Publications
  • ISBN: 10000DIVC2022147