{"id":16458505,"url":"https://github.com/pionl/badger2040-badgio","last_synced_at":"2025-08-30T22:11:35.075Z","repository":{"id":155332076,"uuid":"632577843","full_name":"pionl/badger2040-badgio","owner":"pionl","description":"MicroPython script for rendering a badge with QR Code, logo (image), and 2-line text on badger2040 microcontroller","archived":false,"fork":false,"pushed_at":"2023-04-25T18:29:48.000Z","size":116,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-30T22:04:08.416Z","etag":null,"topics":["badger2040","micropython"],"latest_commit_sha":null,"homepage":"","language":null,"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/pionl.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},"funding":{"github":["pionl"],"custom":["https://revolut.me/martinpv7n"]}},"created_at":"2023-04-25T17:42:52.000Z","updated_at":"2025-08-27T14:08:05.000Z","dependencies_parsed_at":"2023-05-06T18:28:42.452Z","dependency_job_id":null,"html_url":"https://github.com/pionl/badger2040-badgio","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pionl/badger2040-badgio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pionl%2Fbadger2040-badgio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pionl%2Fbadger2040-badgio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pionl%2Fbadger2040-badgio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pionl%2Fbadger2040-badgio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pionl","download_url":"https://codeload.github.com/pionl/badger2040-badgio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pionl%2Fbadger2040-badgio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272912489,"owners_count":25014077,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["badger2040","micropython"],"created_at":"2024-10-11T10:45:28.174Z","updated_at":"2025-08-30T22:11:34.987Z","avatar_url":"https://github.com/pionl.png","language":null,"funding_links":["https://github.com/sponsors/pionl","https://revolut.me/martinpv7n"],"categories":[],"sub_categories":[],"readme":"# MicroPython script for rendering a badge \n\n\u003e with QR Code, logo (image), and 2-line text on badger2040 microcontroller\n\n![Example Badge](.github/example.jpeg)\n\nThe badger2040 is a small microcontroller board that can be used to create wearable badges or other small devices. This implementation allows users to create custom badges that include a QR code, logo/image, and two lines of text.\n\nThe code was created by combining the default badger2040 implementation of a badge with and QR code [example](https://github.com/pimoroni/pimoroni-pico/tree/main/micropython/examples/badger2040). In this repository, I have included my own personal badges that I'm currently using on my badger2040.\n\n## Requirements\n\nBefore using this implementation, you will need to ensure that you have the following:\n\n- A badger2040 board (I've personally bought it on botland.cz - [board only](https://botland.cz/desky-mikrokontroleru-rp2040/21142-badger-2040-deska-s-rp2040-a-29-e-papirovou-obrazovkou-296x128px-pimoroni-pim607-769894021194.html) or [starter pack](https://botland.cz/desky-mikrokontroleru-rp2040/21141-badger-2040-deska-s-rp2040-a-29-e-paper-obrazovkou-296x128px-prislusenstvi-pimoroni-pim610-769894021279.html))\n- MicroPython installed on your computer\n- The latest firmware installed on your badger2040 board\n\n## Creating Your Own Badge\n\nTo create your own badge, follow these steps:\n\n1. Create a new text file in the `badgeio` folder. For example, `badgeio/personal.txt`.\n2. Add the following lines to the text file to set the badge:\n   - An URL of a website to open\n   - The first line of text\n   - The second line of text\n   - An optional path to an image you want to use\n    ```txt\n    https://kluska.cz\n    MARTIN\n    KLUSKA\n    /badgeio/movapp.jpg\n    ```\n3. Add an image to the `badgeio` folder. I recommend using the same name as the text file. The image should be a JPEG with only two colors (black/white). For example, `badgeio/example.jpg`. \u003cbr\u003e\u003cbr\u003e ![badgeio/movapp.jpg](badgeio/movapp.jpg)\n\nThe implementation will ensure that the text is cut if it would be too long.\n\nTo navigate between badges, use the arrow buttons on your badger2040 board.\n\n## Troubleshooting\n\nIf you encounter any issues with the implementation, try the following:\n\n- Make sure you have followed all the steps correctly.\n- Check that the image you are using is a JPEG with only two colors (black/white).\n- Ensure that the text in your text file is not too long.\n\nIf you still encounter issues, you can try asking for help in the badger2040 community forums or here in issues.\n\n## Installation\n\nTo install the implementation, follow these steps:\n\n1. Copy the files from the `examples` folder to the `examples` folder on your badger2040 board.\n2. Copy the `badgeio` folder to the root of your badger2040 board.\n\nThat's it! You should now be able to create and navigate between custom badges on your badger2040 board.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpionl%2Fbadger2040-badgio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpionl%2Fbadger2040-badgio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpionl%2Fbadger2040-badgio/lists"}