{"id":19874285,"url":"https://github.com/avdhutssh/iot-automation-using-raspberry-4","last_synced_at":"2025-10-13T16:32:33.049Z","repository":{"id":244695688,"uuid":"815986276","full_name":"avdhutssh/IoT-Automation-Using-Raspberry-4","owner":"avdhutssh","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-17T13:30:32.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-09T00:06:04.463Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/avdhutssh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-16T18:26:23.000Z","updated_at":"2024-08-25T14:02:23.000Z","dependencies_parsed_at":"2024-11-12T16:23:07.075Z","dependency_job_id":"8e4e079e-41cd-4ecb-a715-1e2ae889b530","html_url":"https://github.com/avdhutssh/IoT-Automation-Using-Raspberry-4","commit_stats":null,"previous_names":["avdhutssh/iot-automation-using-raspberry-4"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/avdhutssh/IoT-Automation-Using-Raspberry-4","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdhutssh%2FIoT-Automation-Using-Raspberry-4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdhutssh%2FIoT-Automation-Using-Raspberry-4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdhutssh%2FIoT-Automation-Using-Raspberry-4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdhutssh%2FIoT-Automation-Using-Raspberry-4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avdhutssh","download_url":"https://codeload.github.com/avdhutssh/IoT-Automation-Using-Raspberry-4/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdhutssh%2FIoT-Automation-Using-Raspberry-4/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016089,"owners_count":26085802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T16:22:38.615Z","updated_at":"2025-10-13T16:32:33.033Z","avatar_url":"https://github.com/avdhutssh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n    #/**\n    # * @author Avdhut Shirgaonkar\n    # * Email: avdhut.ssh@gmail.com\n    # * LinkedIn: https://www.linkedin.com/in/avdhut-shirgaonkar-811243136/\n    # */\n    #/***************************************************/\n--\u003e\n\n---\n\n# 💻# IoT Automation Using Raspberry Pi-4 (Python)\n\n## 📑 Table of Contents\n\n- [Introduction](#introduction)\n- [Must-Have Components/Devices](#components/devices)\n- [Getting Started](#getting-started)\n- [Running Tests](#running-tests)\n- [Contents](#contents)\n- [Contacts](#contacts)\n\n## 📖 Introduction\n\nThis repository contains various Python scripts for IoT automation projects using the Raspberry Pi 4. The projects demonstrate how to control LEDs, LDRs, sensors, buttons, and relays.\n\n## 🍓 IoT and Raspberry pi\n\n### What is IoT?\n\nThe Internet of Things (IoT) refers to a network of physical devices connected to the internet, collecting and sharing data. These devices, equipped with sensors and software, interact with their environment and communicate with each other, enabling intelligent decision-making and automation.\n\n### Why Raspberry Pi for IoT?\n\nThe Raspberry Pi is a small, affordable computer ideal for IoT projects. With its GPIO pins, the Raspberry Pi can interface with a variety of sensors and actuators, making it perfect for automation tasks. Its affordability, versatility, and extensive community support make it an excellent choice for both beginners and experienced developers.\n\n![alt text](./misc/Raspberry%20Pi%204%20Pinout%20Diagram%20and%20terminals.png \"Pinout diagram\")\n\n### Benefits of IoT Automation\n\n**Efficiency**: Automate repetitive tasks, saving time and reducing errors.\n\n**Monitoring**: Continuously monitor environments and systems for optimal performance.\n\n**Control**: Remotely control devices and systems from anywhere in the world.\n\n**Data Collection**: Gather data for analysis, enabling informed decision-making and predictive maintenance.\n\n## 🛠️ Components/Devices\n\n    Raspberry Pi computer (Pi 3 / Pi 4 / Pi 5, any version)\n\n    Minimum 32 GB MicroSD card\n\n    Raspberry Pi power adapter\n\nSensors/Interfaces Used\n\n    LEDs, resistors (common values: 100 ohm, 1k, 10k, 4.7k, 330 ohm)\n\n    Transistorized relay interfacing module\n\n    LDR (Light Dependent Resistor)\n\n    Capacitor\n\n    Buzzer\n\n## ▶️ Getting Started\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/avdhutssh/Iot-Automation-Using-Raspberry-4.git\n   cd Iot-Automation-Using-Raspberry-4/raspi-python codes\n   ```\n\n2. Navigate to the project directory:\n\n   ```bash\n   cd Iot-Automation-Using-Raspberry-4\n   ```\n\n3. Setup:\n\n    Ensure you have Python and the RPi.GPIO library installed on your Raspberry Pi.\n\n   ```bash\n    sudo apt-get update\n    sudo apt-get install python3-dev\n    sudo apt-get install python3-pip\n    sudo apt-get install python3-rpi.gpio\n   ```\n\n## 🚀 Running Scripts:\n\n\n```bash\npython3 _01_LED_single.py\n```\n\n## 📚 Contents\n\n### LED Control\n_01_LED_single.py: Control a single LED.\n\n_02_LED_multiple_simultaneously.py: Control multiple LEDs simultaneously.\n\n_02_LED_multiple_simultaneously_Optimize.py: Optimized control of multiple LEDs.\n\n_03_LED_multiple_alternately.py: Control multiple LEDs alternately.\n\n_04_LED_Chaser_Knight_Rider_Effect.py: Create a Knight Rider effect with LEDs.\n\n### Buzzer Control\n\n_05_Buzzer.py: Basic buzzer control.\n\n_06_Buzzer_Morse_Effect.py: Generate Morse code effects.\n\n_07_Buzzer_SOS_Signal.py: Create an SOS signal.\n\n_08_Buzzer_Melody.py: Play a melody using the buzzer.\n\n_09_Buzzer_Alarm.py: Create an alarm sound.\n\n_10_Buzzer_Beep_Pattern.py: Beep in a specific pattern.\n\n_11_Buzzer_CountdownTimer.py: Countdown timer with buzzer.\nRelay Control\n\n_12_Relay_On.py: Turn on a single relay.\n\n_13_Relays_Simultaneously_Starting.py: Start all relays simultaneously.\n\n_14_Relays_Starting_Sequence.py: Start relays in sequence.\n\n_15_Relay_Bulb.py: Turn on a bulb using a relay.\n\n_16_Relay_Toggle_Bulb.py: Toggle a bulb on and off with a relay.\n\n### Sensor and Button Control\n\n_17_Button_Input.py: Read input from a button.\n\n_18_LDR.py: Read data (resistance) from an LDR (Light Dependent Resistor).\n\n## 📧 Contacts\n\n- [![Email](https://img.shields.io/badge/Email-avdhut.ssh@gmail.com-green)](mailto:avdhut.ssh@gmail.com)\n- [![LinkedIn](https://img.shields.io/badge/LinkedIn-Profile-blue)](https://www.linkedin.com/in/avdhut-shirgaonkar-811243136/)\n\nFeel free to reach out if you have any questions, or suggestions\n\nHappy Learning!!!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favdhutssh%2Fiot-automation-using-raspberry-4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favdhutssh%2Fiot-automation-using-raspberry-4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favdhutssh%2Fiot-automation-using-raspberry-4/lists"}