{"id":16733379,"url":"https://github.com/radiokot/osmand-display","last_synced_at":"2025-04-10T11:42:42.579Z","repository":{"id":142401003,"uuid":"573393516","full_name":"Radiokot/osmand-display","owner":"Radiokot","description":"🗺 A wireless Arduino-based E-Ink display that helps me navigate through my bike rides","archived":false,"fork":false,"pushed_at":"2023-06-16T06:33:58.000Z","size":56,"stargazers_count":19,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T10:38:47.635Z","etag":null,"topics":["arduino","ble","e-ink","waveshare"],"latest_commit_sha":null,"homepage":"https://radiokot.com.ua/p/bike-nav-display","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/Radiokot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-12-02T11:05:30.000Z","updated_at":"2025-02-17T16:41:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"d462dcb7-e1ff-4f11-9477-8a4c7f766252","html_url":"https://github.com/Radiokot/osmand-display","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Radiokot%2Fosmand-display","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Radiokot%2Fosmand-display/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Radiokot%2Fosmand-display/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Radiokot%2Fosmand-display/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Radiokot","download_url":"https://codeload.github.com/Radiokot/osmand-display/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248211741,"owners_count":21065822,"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","ble","e-ink","waveshare"],"created_at":"2024-10-12T23:49:31.716Z","updated_at":"2025-04-10T11:42:42.562Z","avatar_url":"https://github.com/Radiokot.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"https://github.com/Radiokot/osmand-display-app/raw/main/app/src/main/res/mipmap-hdpi/ic_launcher.png\" alt=\"Icon\" style=\"vertical-align: bottom; height: 1.2em;\"/\u003e Bike navigation display\nA wireless Arduino-based E-Ink display that helps me navigate through my bike rides.\n\nThe display is capable of:\n- Showing the current location on the map, which is rotated according to the bearing\n- Showing a track on the map\n- Showing step-by-step navigation directions from OsmAnd, which was the original purpose of the display, but turned out to be useless\n\nThe device receives data from the [Android app](https://github.com/Radiokot/osmand-display-app) over the BLE serial.\n\n\u003cp float=\"left\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/5675681/210539138-c739653d-2bbe-474f-b061-48d86704e82c.png\" width=\"400\" alt=\"Prototyping\"/\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/5675681/212536029-b758ba95-dd6e-4a5c-be77-41d6c6c35408.png\" width=\"225\" alt=\"On a bike\"/\u003e\n\u003c/p\u003e\n\n📒 [How it was built](https://blog.radiokot.com.ua/bike-nav-display)\n\n## Key components\n- **Arduino Pro Mini** – 5V version but the frequency is divided in 4\n- **1.54inch e-Paper Module (B)** – is not really the suitable option for this use case, it is slow and temperature-dependent. The display is used in the BW mode as BWR full refresh takes **15 seconds**\n- **JDY-23** BLE 5.0 module – should be configured with the STARTEN mode 0 (power on sleep) for power saving\n- **Li-Po battery**\n- **TP4056** battery charging module\n- **AMS1117** voltage stabilizer was in the prototype, but turned out to be useless (JDY-23 works fine at Li-Po max voltage)\n\n## Commands\n| Name | Description | Code | Payload | Example |\n| -----|-------------|------|---------|---------|\n|Direction|Shows given direction|`0x10`|1 byte [OsmAnd turn type](https://github.com/osmandapp/OsmAnd/blob/master/OsmAnd-java/src/main/java/net/osmand/router/TurnType.java); 4 bytes of unsigned short distance in meters, **Little endian**| `0x10 0x02 0x04 0x1F 0x00 0x00` – Turn left in 7940 m.|\n|Clear|Clears the display|`0x20`|-|`0x20`|\n|Frame prepare|Prepares the display for writing the frame data|`0x30`|-|`0x30`|\n|Frame data|Writes given data to the display memory. Has no log output. Must be called after `Frame prepare`|`0x31`|1 byte data size, no more than 62; frame data|`0x31 0x01 0xFF` – Writes 1 byte of 8 black dots|\n|Frame show|Shows whatever is in the display memory. Must be called after `Frame prepare`|`0x32`|-|`0x32`|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradiokot%2Fosmand-display","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradiokot%2Fosmand-display","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradiokot%2Fosmand-display/lists"}