{"id":19220473,"url":"https://github.com/timgoll/piboy_v2","last_synced_at":"2026-04-20T19:32:19.633Z","repository":{"id":123885901,"uuid":"116705544","full_name":"TimGoll/piboy_v2","owner":"TimGoll","description":"A fully functional emulated gameboy based on RetroPie with custom hardware","archived":false,"fork":false,"pushed_at":"2018-12-31T12:48:17.000Z","size":8390,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T09:23:33.683Z","etag":null,"topics":["3d-printing","game","hardware","pcb","raspberry-pi","retropie"],"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/TimGoll.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":"2018-01-08T17:14:04.000Z","updated_at":"2020-11-02T06:15:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"9bfe6002-a0d1-48d9-85b5-a22ed844cb62","html_url":"https://github.com/TimGoll/piboy_v2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TimGoll/piboy_v2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimGoll%2Fpiboy_v2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimGoll%2Fpiboy_v2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimGoll%2Fpiboy_v2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimGoll%2Fpiboy_v2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimGoll","download_url":"https://codeload.github.com/TimGoll/piboy_v2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimGoll%2Fpiboy_v2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32062357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["3d-printing","game","hardware","pcb","raspberry-pi","retropie"],"created_at":"2024-11-09T14:35:17.567Z","updated_at":"2026-04-20T19:32:19.620Z","avatar_url":"https://github.com/TimGoll.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HandPie (RaspberryPi based Gameboy v2)\n\nThiThis project is heavily WIP and still active despite the lack of recenrecent commits. It aims to create an all in one piboy with a single board running next to the RPi handling charging, voltages, audio and a microcontroller. I plan on finishing this project in 2019.\n\n## Shut Down\nEine einfache Unterbrechung der Spannungsleitung ist nicht gut, da das System nicht herunter gefahren wird. Die Lösung ist es hier die Verwaltung auf den Microcontroller zu legen und ein ShutDown Befehl an den Raspberry zu senden.\n\n## Akkustatus notification\nIch habe ein interessantes Projekt gefunden, welches Batteriewarnungen auf dem Display anzeigt und bei ganz leerem Akku den Raspberry nach Ablauf eines Timers herunterfährt. [[GBZ Power Monitor]](https://github.com/NullCorn/GBZ-Power-Monitor)\n\n## Mikroprocessor\nAls Mikroprocessor kommt ein ATmega328P (Arduino Pro Mini) zum Einsatz. Dieser hat den Vorteil ein breite Inputspannungsweichreite zu haben. So kann diser Prozessor ohne vornedran geschalteten Regler betrieben werden.\n\nAuf Seite 19 finden sich alle Pinbelegungen.\n\nDer Prozessor ist zu jeder Zeit an (`ca 3.7mA`), wird aber in einen Schlafmodus (`ca 4.2uA`) gesetzt. [[Library]](https://github.com/rocketscream/Low-Power)\n\n### Aufgaben\n- Messen der Akkuspannung (max17043)\n- Abfragenn der Daten der Ladeschaltung\n- Darstellung der Spannung auf LEDs (per Kknopfdruck)\n- Senden von Warnungen an den Raspberri Pi\n- Ein-/Ausschalten handeln (zeitverzögert ausschalten um Hardresets zu verhindern, booten bei zu geringer Batteriespannung verhindern\n\n### Quellen\n- [Stromverbrauch](https://www.iot-experiments.com/arduino-pro-mini-power-consumption/)\n- [Spannungsreichweite+Drosselung](https://www.iot-experiments.com/arduino-pro-mini-1mhz-1-8v/)\n\n## Akkustatus-LEDs\nDiese sollten eine Konstantstromversorgung haben, da sie von der ungeregelten batteriespannung betrieben werden. [[Konstantstromquelle]](https://electronics.stackexchange.com/questions/55823/how-can-i-efficiently-drive-an-led)\n\n## FuelGauge: max17043\nAuch dieser hat eine Variable Eingangsspannung passend zu Li-Ion/Li-Po Akkus. Über I\u003csup\u003e2\u003c/sup\u003eC können die Daten vom Mikroprozessor ausgelesen werden. [[Library]](https://github.com/lucadentella/ArduinoLib_MAX17043)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimgoll%2Fpiboy_v2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimgoll%2Fpiboy_v2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimgoll%2Fpiboy_v2/lists"}