Home›Library›IT & Software

Curated Library

Raspberry Pi for Beginners: Linux, Python, GPIO Electronics and Camera Projects

A long, project-based series that starts with first boot, Linux and Python basics, then moves through GPIO inputs and outputs, common sensors, keypad and LCD builds, remote access, and OpenCV and TensorFlow Lite camera work. It uses the SunFounder kit throughout, so it suits beginners who own that hardware. It does not cover building a home server.

  • 74 lessons
  • 43h 56m total
  • IT & Software
  • English
  • Earns YodaCoins
Lessons byPaul McWhorter on YouTube

Curated by YodaHut. These lessons are hosted on YouTube and produced by their original creators, who are not affiliated with YodaHut. You still earn YodaCoins, keep your streak and track progress here.

74 lessons43h 56m total
One block per lesson, sized by its length

What You'll Learn

  • Boot a Raspberry Pi for the first time, configure the desktop, and use basic Linux commands
  • Write beginner Python on the Pi and use it to control GPIO pins as inputs and outputs
  • Wire and program LEDs, RGB LEDs, buttons with pull-up/pull-down resistors, PWM dimming, servos and buzzers
  • Read sensors such as ultrasonic, PIR, DHT-11 temperature/humidity, photoresistor, joystick and RFID, and show results on an I2C LCD
  • Build a keypad-controlled motion-detection alarm and reach the Pi remotely over PuTTY and VNC
  • Capture camera video with OpenCV, track colored objects and faces, and run TensorFlow Lite object detection

Prerequisites

  • No prior programming or electronics experience needed
  • A Raspberry Pi and, ideally, the SunFounder Ultimate Raspberry Pi kit the lessons are built around
  • A Pi camera and pan/tilt hat for the later computer vision lessons

Course Curriculum

74 lessons · 43h 56m
  1. 01First Boot and Configuring the Desktop, Panel, Menu and Preferences54:47
  2. 02Linux Essentials in One Session1:01:59
  3. 03Python Essentials in One Session1:30:11
  4. 04Understanding and Using GPIO Pins45:45
  5. 05Homework Solution: Understanding and Using GPIO Pins17:56
  6. 06Understanding Binary Numbers39:50
  7. 07Homework Solution: Understanding Binary Numbers1:01:47
  8. 08Understanding GPIO Inputs, Pull Up and Pull Down Resistors43:55
  9. 09Homework Solution: GPIO Inputs and Pull Up Resistors29:50
  10. 10GPIO Inputs from a Button Switch24:52
  11. 11Using a Button as a Toggle Switch for LED Control26:28
  12. 12PWM to Simulate Analog Output39:44
  13. 13Making a Dimmable LED with Two Push Buttons48:09
  14. 14Understanding and Using an RGB LED25:53
  15. 15Pushbutton Control of an RGB LED53:23
  16. 16Set Color of RGB LED with Push Buttons46:40
  17. 17Installing VPython (Visual Python)47:12
  18. 18Analog Input Using the ADC083439:34
  19. 19Potentiometer Controlled Dimmable LED22:04
  20. 20Mixing Any Color on an RGB LED32:23
  21. 21Using a Joystick24:47
  22. 22Simple Control of a Servo27:14
  23. 23Controlling Servo Position with a Potentiometer34:32
  24. 24HC-SR04 Ultrasonic Sensor for Echolocation40:18
  25. 25Measuring Distance with the HC-SR0436:02
  26. 26Measuring the Speed of Sound with an Ultrasonic Sensor28:03
  27. 27Using a PIR Motion Sensor24:28
  28. 28Temperature and Humidity with the DHT-11 Sensor18:57
  29. 29Using an LCD1602 Display with I2C29:12
  30. 30Temperature and Humidity System with LCD Display43:04
  31. 31Active and Passive Buzzers38:38
  32. 32Programmable Temperature Sensing Alarm52:53
  33. 33Detecting Light with a Photoresistor31:59
  34. 34Alarm for Detecting Motion in the Dark30:54
  35. 35Understanding and Using a Keypad41:59
  36. 36Incorporating a Keypad into a Project37:39
  37. 37Python Class and Library for Reading a Keypad43:58
  38. 38Mobile Projects with Keypad and LCD30:22
  39. 39Monitoring Keypad Input Using Threading43:38
  40. 40Motion Detection Alarm with LCD and Keypad41:34
  41. 41Raspberry Pi Security System21:57
  42. 42Motion Detection Alarm with Multiple Alarms27:47
  43. 43Remotely Running Your Security Project with PuTTY22:00
  44. 44Setting Up Remote Desktop with VNC23:39
  45. 45Sending Data to a PC over WiFi or Ethernet Using UDP44:31
  46. 46Building a Simple Client-Server System35:28
  47. 47Building an Improved Client-Server Connection42:21
  48. 48Getting Ready to Master the Raspberry Pi Camera26:34
  49. 49Using the Pi Camera in Bullseye with OpenCV36:23
  50. 50Calculating Frames Per Second and Overlaying It on the Frame35:10
  51. 51Adding Boxes, Rectangles and Circles on Images in OpenCV26:38
  52. 52Creating a Bouncing Box Overlay in OpenCV34:16
  53. 53Understanding Images as Array Data Sets35:50
  54. 54Modifying Images and Creating Regions of Interest36:13
  55. 55Understanding and Working in the HSV Color Space26:22
  56. 56Understanding and Using Trackbars in OpenCV27:27
  57. 57Using Trackbars to Track Colored Objects26:48
  58. 58Tracking an Object of Interest Using Contours27:04
  59. 59Prepping for the Next Lessons12:14
  60. 60Assembling the Pan/Tilt Hat for the Pi Camera57:21
  61. 61Tracking an Object with a Pan/Tilt Camera Mount35:29
  62. 62Control System for the Pan/Tilt Camera39:29
  63. 63Improved Pan/Tilt Tracking Control Algorithm33:21
  64. 64Finding and Tracking Faces with Haar Cascades29:22
  65. 65Finding and Tracking Faces and Eyes27:17
  66. 66Tracking Faces with a Pan/Tilt Camera27:26
  67. 67Object Detection Using TensorFlow Lite1:02:00
  68. 68Understanding the TensorFlow Object Detection Data Structure39:09
  69. 69Increasing the Speed of TensorFlow Lite Object Detection17:05
  70. 70Using a Capacitive Touch Sensor with Python10:23
  71. 71Controlling an RGB LED with a Capacitive Touch Sensor33:51
  72. 72Using the MFRC522 RFID Module and Tag32:07
  73. 73Controlling an RGB LED with RFID Tags51:39
  74. 74Using an IR Proximity Sensor for Collision Avoidance18:36

About the Instructor

Paul McWhorter

YouTube creator

74 lessons here 43h 56m

The lessons in this course were produced by Paul McWhorter and are published on YouTube. YodaHut selected and sequenced them into this course; we did not make them, and Paul McWhorter is not affiliated with YodaHut.

Visit the channel on YouTube

More in the Library: IT & Software