{"id":23385494,"url":"https://github.com/obono/attiny85swingpov","last_synced_at":"2025-04-08T11:47:31.969Z","repository":{"id":236484097,"uuid":"792699601","full_name":"obono/ATtiny85SwingPOV","owner":"obono","description":"A POV (persistence of vision) display by human-powered swinging with ATtiny85","archived":false,"fork":false,"pushed_at":"2024-04-27T10:24:12.000Z","size":6425,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T07:50:05.680Z","etag":null,"topics":["attiny85","neopixels","persistence-of-vision","tilt-sensor"],"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/obono.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}},"created_at":"2024-04-27T10:15:00.000Z","updated_at":"2024-04-27T16:39:30.000Z","dependencies_parsed_at":"2024-04-27T11:46:21.197Z","dependency_job_id":null,"html_url":"https://github.com/obono/ATtiny85SwingPOV","commit_stats":null,"previous_names":["obono/attiny85swingpov"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obono%2FATtiny85SwingPOV","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obono%2FATtiny85SwingPOV/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obono%2FATtiny85SwingPOV/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obono%2FATtiny85SwingPOV/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/obono","download_url":"https://codeload.github.com/obono/ATtiny85SwingPOV/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247838421,"owners_count":21004576,"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":["attiny85","neopixels","persistence-of-vision","tilt-sensor"],"created_at":"2024-12-22T00:18:26.030Z","updated_at":"2025-04-08T11:47:31.945Z","avatar_url":"https://github.com/obono.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ATtiny85SwingPOV\n\n![Movie](doc/movie.gif)\n\nThis is a POV (persistence of vision) display by human-powered swinging.\n\n[![Click to expand](doc/picture1_thumbnail.jpg)](doc/picture1.jpg)\n\n3 demonstrations are available and it's changed by pressing the button.\n\n* Message mode: display the letters \"ATtiny85SwingPOV\" with scrolling.\n* Counter mode: display the number of how many time it's swinged.\n* Graphic mode: various colored OBONOs move up repeatedly.\n\n## Hardware\n\n### Components\n\n* [ATtiny85](https://akizukidenshi.com/catalog/g/g109573/)\n* Optical tilt sensor: [RBS32](https://akizukidenshi.com/catalog/g/g102742/)\n* NeoPixel Stick (WS2812 \u0026times; 8)\n* Resistors: 220\u0026ohm; and 15k\u0026ohm;\n* Wires, connectors, a button, a switch, etc...\n\n### Schematic\n\n![Schematic](doc/schematic.png)\n\n### Example\n\n[![Click to expand](doc/picture2_thumbnail.jpg)](doc/picture2.jpg)\n[![Click to expand](doc/picture3_thumbnail.jpg)](doc/picture3.jpg)\n[![Click to expand](doc/picture4_thumbnail.jpg)](doc/picture4.jpg)\n\n## Software\n\n### Build environment\n\n[Install ATTinyCore boards to the Arduino IDE](https://github.com/SpenceKonde/ATTinyCore/blob/v2.0.0-devThis-is-the-head-submit-PRs-against-this/Installation.md) and configure the settings as follows.\n\nAttribute         |Value\n------------------|------------------------------\nBoard             |ATtiny25/45/85 (No bootloader)\nChip              |ATtiny85\nClock Source      |8 MHz (Internal)\nTimer 1 Clock     |CPU (CPU frequency)\nLTO (1.6.11+ only)|Enabled\nmillis()/micros() |Enabled\nSave EEPROM       |EEPROM not retained\nB.O.D. Level      |B.O.D. Disabled (saves power)\n\nThis sketch depends on following library. (You can add this by library manager)\n\n* [Adafruit NeoPixel](https://github.com/adafruit/Adafruit_NeoPixel)\n\nAlso, you should modify [\"SwingPov.cpp\"](SwingPov.cpp) depending on your hardware.\n\n* `SWING_TIME_MIN` and `SWING_TIME_MAX`: The threshold of each swing time in msec.\n* `SWING_PHASE_ADJUST`: The delay to toggle the direction after sensing tilt change by the percentage of each swing time.\n\n### License\n\nThese codes are licensed under [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobono%2Fattiny85swingpov","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobono%2Fattiny85swingpov","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobono%2Fattiny85swingpov/lists"}