{"id":23085258,"url":"https://github.com/saeed-dev2/traffic_light_controller_esp32","last_synced_at":"2026-02-06T22:33:04.038Z","repository":{"id":253300682,"uuid":"841098145","full_name":"Saeed-dev2/Traffic_Light_Controller_ESP32","owner":"Saeed-dev2","description":"\"ESP32 Traffic Light Controller project. Simulates a traffic light system using LEDs. Controls green, yellow, and red lights with specified delays. Utilizes FreeRTOS for task management\"","archived":false,"fork":false,"pushed_at":"2024-09-28T18:55:09.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-29T05:52:10.418Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/Saeed-dev2.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,"zenodo":null}},"created_at":"2024-08-11T16:27:43.000Z","updated_at":"2024-11-20T16:39:43.000Z","dependencies_parsed_at":"2025-07-29T05:34:44.924Z","dependency_job_id":null,"html_url":"https://github.com/Saeed-dev2/Traffic_Light_Controller_ESP32","commit_stats":null,"previous_names":["saeed-dev2/traffic_light_controller_esp32"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Saeed-dev2/Traffic_Light_Controller_ESP32","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saeed-dev2%2FTraffic_Light_Controller_ESP32","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saeed-dev2%2FTraffic_Light_Controller_ESP32/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saeed-dev2%2FTraffic_Light_Controller_ESP32/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saeed-dev2%2FTraffic_Light_Controller_ESP32/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Saeed-dev2","download_url":"https://codeload.github.com/Saeed-dev2/Traffic_Light_Controller_ESP32/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saeed-dev2%2FTraffic_Light_Controller_ESP32/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29179420,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T22:12:24.066Z","status":"ssl_error","status_checked_at":"2026-02-06T22:12:09.859Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-12-16T17:51:40.179Z","updated_at":"2026-02-06T22:33:04.022Z","avatar_url":"https://github.com/Saeed-dev2.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Traffic Signal Control System\n\nThis project simulates a traffic signal system using an ESP32 microcontroller. The system controls three LEDs (green, yellow, and red) connected to GPIO pins, mimicking the behavior of a real traffic light. The LEDs are activated in sequence with appropriate delays to represent the standard traffic signal cycle.\n\n## Features\n\n- **Green LED**: Represents the \"Go\" signal, stays on for 1 minute.\n- **Yellow LED**: Represents the \"Caution\" signal, stays on for 3 seconds.\n- **Red LED**: Represents the \"Stop\" signal, stays on for 1 minute.\n- **Task-based Control**: Uses FreeRTOS tasks to manage the LED Sequence.\n\n## Prerequisites\n\n- **ESP32 Development Board**\n- **ESP-IDF Framework**: Ensure you have the ESP-IDF development environment set up.\n- **LEDs**: Green, Yellow, and Red LEDs in this project.\n- **Resistors**: Appropriate resistors for each LED.\n- **Breadboard and Jumper Wires**: For assembling the circuit.\n\n## Installation\n\n1. Clone this repository to your local machine:\n\n    ```bash\n    git clone https://github.com/Saeed-dev2/Traffic_Light_Controller_ESP32.git\n    ```\n\n2. Navigate to the project directory:\n\n    ```bash\n    cd traffic-signal-system\n    ```\n\n3. Build the project:\n\n    ```bash\n    idf.py build\n    ```\n\n4. Flash the firmware to the ESP32:\n\n    ```bash\n    idf.py flash\n    ```\n\n5. Monitor the output:\n\n    ```bash\n    idf.py monitor\n    ```\n    \n    ` ctrl+] ` \n\n## Circuit Diagram\n\nConnect the LEDs to the ESP32 GPIO pins as follows:\n\n- **Green LED**: GPIO 2\n- **Yellow LED**: GPIO 4\n- **Red LED**: GPIO 5\n\nEnsure each LED is connected in series with a current-limiting resistor.\n\n## Usage\n\nOnce the firmware is flashed and the ESP32 is powered, the traffic signal system will automatically start. The LEDs will cycle through green, yellow, and red states, with the specified delays.\n\n## Author\n`M.Saeed`\n\n## Acknowledgments\n\n- **ESP-IDF**: For providing the development framework.\n- **FreeRTOS**: For task management and scheduling.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaeed-dev2%2Ftraffic_light_controller_esp32","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaeed-dev2%2Ftraffic_light_controller_esp32","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaeed-dev2%2Ftraffic_light_controller_esp32/lists"}