{"id":26749359,"url":"https://github.com/blackbirdcoder/trafficlight","last_synced_at":"2026-05-03T04:38:40.721Z","repository":{"id":283517509,"uuid":"952028042","full_name":"blackbirdcoder/trafficLight","owner":"blackbirdcoder","description":"Arduino project, simple traffic light","archived":false,"fork":false,"pushed_at":"2025-03-20T16:20:20.000Z","size":13329,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T11:18:46.002Z","etag":null,"topics":["arduino","cpp","led","pet-project"],"latest_commit_sha":null,"homepage":"","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/blackbirdcoder.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":"2025-03-20T16:07:37.000Z","updated_at":"2025-03-20T16:22:05.000Z","dependencies_parsed_at":"2025-03-20T17:39:00.374Z","dependency_job_id":null,"html_url":"https://github.com/blackbirdcoder/trafficLight","commit_stats":null,"previous_names":["blackbirdcoder/trafficlight"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbirdcoder%2FtrafficLight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbirdcoder%2FtrafficLight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbirdcoder%2FtrafficLight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbirdcoder%2FtrafficLight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blackbirdcoder","download_url":"https://codeload.github.com/blackbirdcoder/trafficLight/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246017724,"owners_count":20710240,"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","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":["arduino","cpp","led","pet-project"],"created_at":"2025-03-28T11:18:52.916Z","updated_at":"2026-05-03T04:38:40.674Z","avatar_url":"https://github.com/blackbirdcoder.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Traffic light \n\nThis Arduino traffic light project was created by me on a day off, purely for fun and entertainment.\n\n\n## Traffic light logic\n\n🟢 after the green light flashes, the 🟡 yellow light on, further\n🔴 red lights up, red goes out, 🟡 yellow light up, 🟢 green again. \n\n|Signal |Before signal|Time seconds |Note     |\n|:-----:|:-----------:|:-----------:|:-------:|\n|🟢     |             |7            |         |\n|🟢     |🟡           |1            |blink x 3|\n|🟡     |🔴           |2            |         |\n|🔴     |🟡           |10           |         |\n|🟡     |🟢           |1            |         |\n\n\n```\n+---------+   +---------+   +---------+ \n|  start  |--\u003e| R, Y, G |--\u003e| |setup| |\n+---------+   +---------+   +---------+    \n                                |\n                                |\u003c--------+\n                                V         |\n                            *------*      |\n                            | true |      |\n                            *------*      ^\n                                |         |\n                                V         |\n                            +---------+   |\n                            | R.on    |   |\n                            | R.light |   |\n                            | R.off   |   |\n                            | Y.on    |   ^\n                            | Y.light |   |\n                            | Y.off   |   |\n                            | G.on    |   |\n                            | G.light |   |\n                            | G.blink |   |\n                            | G.off   |   |\n                            | Y.on    |   |\n                            | Y.light |   |\n                            | Y.off   |   |\n                            +---------+   |\n                                |         ^\n                                V         |\n                                +--------\u003e+\n```\n\n\n## Materials\n\n|Component  |Quantity|Note|\n|-----------|:------:|:--:|\n|Arduino Uno|1       |    |\n|Red LED    |1       |    |\n|Yellow LED |1       |    |\n|Green LED  |1       |    |\n|Resistor   |3       |150Ω|\n\n\n## Prototyping\n\n![image prototyping](images/tlproto.png)\n\n\n## Mounting\n\n![image mount](images/tlmount.jpg)\n\n\n## Demo \n\n![image mount](images/tldemo.gif)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackbirdcoder%2Ftrafficlight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackbirdcoder%2Ftrafficlight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackbirdcoder%2Ftrafficlight/lists"}