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