Skip to content

Hari-Aditya-003/pi-ultimate-guide

 
 

Repository files navigation

Ultimate Guide to Raspberry Pi : Tips, Tricks and Hacks

🐍 Pi Ultimate Guide

A hands-on collection of Raspberry Pi GPIO & camera mini-projects in pure Python

Fork note
This is a fork of the original work by @leeassam.
I (Hari Aditya) have kept the code unchanged while refreshing the documentation and adding clearer setup steps.


What you’ll find here

Folder Mini-project What it shows you
blink_led Blink an LED GPIO pin numbering, output mode, cleanup
button_press Read a push-button Pull-up / pull-down resistors, debouncing
button_press_led Button-controlled LED Combining input & output, event callbacks
pir_sensor Detect motion Reading HC-SR501 PIR sensor data
pir_sensor_alarm Motion alarm Triggering a buzzer / LED on motion
cameras Capture photos & video PiCamera vs. libcamera, image formats
setup_headless_mode Headless Pi setup Enable SSH, set Wi-Fi, no HDMI required

Each folder contains a single, well-commented Python script that can be run standalone.


Hardware you’ll need

  • Raspberry Pi (3/4/5 or Zero W) with Raspbian/Raspberry Pi OS
  • Solderless breadboard & jumper wires
  • Basic kit parts
    • 5 mm LED + 330 Ω resistor
    • Tactile push-button
    • HC-SR501 PIR motion sensor
    • Active buzzer (for alarm example)
  • Optional
    • PiCamera v2 or HQ Camera for cameras demo

Quick-start 🏁

  1. Enable GPIO & camera
    sudo raspi-config
    # ‣ Interface Options → SSH, I²C, Camera (enable)

About

Resources for the Ultimate Guide to Raspberry Pi Course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.6%
  • Shell 2.4%