{"id":28321340,"url":"https://github.com/cdfer/auckland-led-train-map","last_synced_at":"2025-06-11T15:34:30.085Z","repository":{"id":287782967,"uuid":"960218692","full_name":"CDFER/Auckland-LED-Train-Map","owner":"CDFER","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-06T05:16:58.000Z","size":30627,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T05:21:39.399Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CDFER.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-04-04T04:02:47.000Z","updated_at":"2025-06-06T05:17:00.000Z","dependencies_parsed_at":"2025-06-06T05:31:13.263Z","dependency_job_id":null,"html_url":"https://github.com/CDFER/Auckland-LED-Train-Map","commit_stats":null,"previous_names":["cdfer/auckland-led-train-map"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/CDFER/Auckland-LED-Train-Map","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CDFER%2FAuckland-LED-Train-Map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CDFER%2FAuckland-LED-Train-Map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CDFER%2FAuckland-LED-Train-Map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CDFER%2FAuckland-LED-Train-Map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CDFER","download_url":"https://codeload.github.com/CDFER/Auckland-LED-Train-Map/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CDFER%2FAuckland-LED-Train-Map/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259289793,"owners_count":22835032,"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":[],"created_at":"2025-05-25T12:13:37.628Z","updated_at":"2025-06-11T15:34:30.079Z","avatar_url":"https://github.com/CDFER.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auckland Live LED Train Map\n\n![PCB Overview Render](Images/Auckland-LED-Train-Map-Render.avif) A project to create a physical map of the Auckland train network where train movements are displayed in real-time using individually addressable LEDs. The map is controlled by an ESP32-C3 microcontroller, fetching live data over Wi-Fi.\n\n## Features\n\n* **Real-time Train Tracking:** Displays the approximate locations of trains on the Auckland network.\n* **Addressable LEDs:** Uses approximately 150 small (1.6x1.5mm) WS2812B-compatible RGB LEDs for vibrant display.\n* **Wi-Fi Connectivity:** Leverages the ESP32-C3's built-in Wi-Fi to fetch live train data.\n* **Custom PCB:** Designed specifically for this project, fitting within common PCB manufacturer limits (JLCPCB).\n* **Open Source:** Hardware design files and (eventually) firmware are open source.\n\n![ESP32-C3 PCB Render](Images/ESP32C3-PCB-Render.avif)\n\n## Hardware\n\nThe core components of the map include:\n\n* **Microcontroller:** ESP32-C3\n  * **CPU:** RISC-V single-core @ 160 MHz\n  * **Wireless:** 2.4 GHz Wi-Fi (802.11b/g/n) and Bluetooth 5 (LE)\n  * **Flash:** 4 MB internal Flash\n  * **Package:** QFN32 (5x5 mm)\n* **LEDs:** ~150 x XL-1615RGBC-WS2812B (1.6mm x 1.5mm Addressable RGB LEDs)\n* **PCB:**\n  * **Dimensions:** 249mm x 66mm\n  * **Manufacturer Friendly:** Designed to fit within JLCPCB's standard 250mm x 250mm maximum size.\n* **Antenna:** On-board PCB antenna based on the [Texas Instruments CC2430DB Demo Board design (SWCU125)](https://www.ti.com/lit/ug/swru125/swru125.pdf).\n\n![Images\\Pukekohe-PCB-Render.avif](Images/ESP32C3-PCB-Render.avif)\n\n## PCB Design\n\nThe Printed Circuit Board (PCB) was designed using KiCad V9.0 and utilizes my custom [JLCPCB KiCad Library](https://github.com/CDFER/jlcpcb-kicad-library)\n\n* **View Online:** You can view the PCB layout interactively using the Kicanvas web viewer:\n    [https://kicanvas.org/?github=https%3A%2F%2Fgithub.com%2FCDFER%2FAuckland-LED-Train-Map%2Ftree%2Fmain%2FPCB](https://kicanvas.org/?github=https%3A%2F%2Fgithub.com%2FCDFER%2FAuckland-LED-Train-Map%2Ftree%2Fmain%2FPCB)\n* **Source Files:** The KiCad project files (schematic, PCB layout) can be found in the `/PCB` directory of this repository.\n\n![Schematic](Images/Schematic.avif)\n\n## Software / Firmware\n\n*(This section is a placeholder - details about the specific firmware, data source, setup instructions, and required libraries will be added here when it is completed.)*\n\nThe firmware running on the ESP32-C3 is responsible for:\n\n1. Connecting to a Wi-Fi network.\n2. Fetching live train data from my cached GTFS API \u003chttps://github.com/CDFER/GTFS-Realtime-Cache-Server\u003e\n3. Processing the data to determine train locations on the map segments.\n4. Controlling the WS2812B LEDs to display the train positions.\n\n## Contributing\n\nContributions are welcome! If you have improvements, bug fixes, or feature suggestions, please feel free to open an issue or submit a pull request.\n\n## License\n\nThis library is released under the MIT license\n\n© 2025 Chris Dirks\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdfer%2Fauckland-led-train-map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdfer%2Fauckland-led-train-map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdfer%2Fauckland-led-train-map/lists"}