{"id":22956770,"url":"https://github.com/kainovelia/catch-your-commute-clock","last_synced_at":"2026-05-06T11:36:37.472Z","repository":{"id":267922886,"uuid":"902689969","full_name":"kainovelia/catch-your-commute-clock","owner":"kainovelia","description":"A ESP32 powered alarm clock that will help you catch your commute in real-time. Based on NYC MTA public transit info.","archived":false,"fork":false,"pushed_at":"2024-12-13T18:28:44.000Z","size":176,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T16:37:10.054Z","etag":null,"topics":["arduino","clock","esp32","mta","public-transport"],"latest_commit_sha":null,"homepage":"https://wool-dungeon-a3b.notion.site/Catch-Your-Commute-Alarm-Clock-15bb81cc7c2780868961fb1c537bb210","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/kainovelia.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-12-13T04:25:59.000Z","updated_at":"2024-12-13T18:28:48.000Z","dependencies_parsed_at":"2024-12-13T09:27:57.647Z","dependency_job_id":"1135501c-60e0-447c-ad27-733a64abfb8b","html_url":"https://github.com/kainovelia/catch-your-commute-clock","commit_stats":null,"previous_names":["kainovelia/catch-your-commute-clock"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kainovelia%2Fcatch-your-commute-clock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kainovelia%2Fcatch-your-commute-clock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kainovelia%2Fcatch-your-commute-clock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kainovelia%2Fcatch-your-commute-clock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kainovelia","download_url":"https://codeload.github.com/kainovelia/catch-your-commute-clock/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246737097,"owners_count":20825557,"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","clock","esp32","mta","public-transport"],"created_at":"2024-12-14T17:11:40.689Z","updated_at":"2026-05-06T11:36:32.438Z","avatar_url":"https://github.com/kainovelia.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Catch-Your-Commute-Clock\nA ESP32 powered alarm clock that will help you catch your commute in real-time. Based on NYC MTA public transit info.\nFor more details about my creative process, visit [my notion page](https://wool-dungeon-a3b.notion.site/Catch-Your-Commute-Alarm-Clock-15bb81cc7c2780868961fb1c537bb210)\n\n\nhttps://github.com/user-attachments/assets/113cec41-e696-4e0c-a4b0-b98049d00a72\n\n\n### Hardware:\n- [LilyGo T-Display board](https://www.lilygo.cc/products/lilygo%C2%AE-ttgo-t-display-1-14-inch-lcd-esp32-control-board?srsltid=AfmBOor7mrm_vmfWB6wu8yITau-LUsnGRL8LQiT9-7cyLsRfz-yet-uV) (with headers)\n- USB-C cable\n- A breadboard\n- 2 Pushbuttons\n- 1 [KY-023 Dual Axis Joystick Module](https://arduinomodules.info/ky-023-joystick-dual-axis-module/)\n\n### Software:\n- [Arduino IDE](https://www.arduino.cc/en/software)\n- Protocol Buffer Compiler for Python\n- [LilyGo T-Display USB Driver](https://github.com/Xinyuan-LilyGO/TTGO-T-Display)\n \n## Setup\n- Download the correct driver for the LilyGo T-Display\n- Ensure USB-C cable can connect the board and be recognized by Arduino IDE\n- Solder the headers into both sides of the board (from beneath, short side up)\n- Fit the board headers into the breadboard\n- Wire the components as shown in the diagram below\n\n![Circuit Diagram3_bb](https://github.com/user-attachments/assets/c935cde3-3ccf-45eb-91db-c632e82af710)\n\n## Arduino Program\n- Open the file 'commute_clock.ino'\n- Select port connected to wired board\n- Change the ssid and password to connect to your local WiFi network\n- Change other variables, such as MTA route url and station ID\n- Click 'Upload'\n- Check Serial output in 'Serial Monitor' (most top-right icon)\n- Debug wire connections, as needed\n\n## Protocol Buffers for GTFS File, Compiled For Python\n- Install Python\n- Install PySerialTransfer\n  ```\n  pip install pyserial\n  ```\n- Install requests\n  ```\n  pip install requests\n  ```\n- Install latest release of protobuf following the instructions from [https://grpc.io/docs/protoc-installation/]\n  (Installing with package manager may not give the most up to date release -- you need protoc v3.19 or higher)\n- In the same folder as the python app, download the base gtfs-rt.proto file[https://github.com/google/transit/blob/master/gtfs-realtime/proto/gtfs-realtime.proto] and the MTA's version of gtfs-rt.proto[https://raw.githubusercontent.com/OneBusAway/onebusaway-gtfs-realtime-api/master/src/main/proto/com/google/transit/realtime/gtfs-realtime-NYCT.proto]\n- Compile both files with protoc\n  ```\n  protoc --python_out=. your_proto_file.proto\n  ```\n  'python_out=.' points to your current directory, so be sure to run it in there\n\n## Enclosure Design\n- Open the provided STL files in Ultimaker Cura\n- Adjust the print settings and send the files over to a compatible 3D printer\n- Remove the 3D print and clean up the edges\n- Secure the wire connections between the hardware components (by soldering or heatshrink wrapping)\n- Add heatsets to the provided holes in each corner of the main enclosure and the lid.\n- Attach the hardware components to the outer shell of the main enclosure. Depending on the type of component, you can glue or securely screw mount them into place.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkainovelia%2Fcatch-your-commute-clock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkainovelia%2Fcatch-your-commute-clock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkainovelia%2Fcatch-your-commute-clock/lists"}