{"id":15932420,"url":"https://github.com/mutcianm/tinyfireflies","last_synced_at":"2026-02-18T23:02:23.362Z","repository":{"id":148976943,"uuid":"121635727","full_name":"mutcianm/tinyfireflies","owner":"mutcianm","description":"Fireflies in a jar using charlieplexing and bit angle modulation","archived":false,"fork":false,"pushed_at":"2018-04-07T15:23:12.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-20T07:55:31.190Z","etag":null,"topics":["attiny","attiny13","avr","bam","charlieplexing","fireflies","leds"],"latest_commit_sha":null,"homepage":null,"language":"CMake","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/mutcianm.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,"zenodo":null}},"created_at":"2018-02-15T13:56:58.000Z","updated_at":"2018-04-07T15:23:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d5b96a2-5f85-47bf-858f-2d0e30657a55","html_url":"https://github.com/mutcianm/tinyfireflies","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mutcianm/tinyfireflies","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutcianm%2Ftinyfireflies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutcianm%2Ftinyfireflies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutcianm%2Ftinyfireflies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutcianm%2Ftinyfireflies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mutcianm","download_url":"https://codeload.github.com/mutcianm/tinyfireflies/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutcianm%2Ftinyfireflies/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29597853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T22:25:43.180Z","status":"ssl_error","status_checked_at":"2026-02-18T22:25:42.766Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["attiny","attiny13","avr","bam","charlieplexing","fireflies","leds"],"created_at":"2024-10-07T02:01:40.394Z","updated_at":"2026-02-18T23:02:23.357Z","avatar_url":"https://github.com/mutcianm.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tiny13 Firefles #\n\n- the LEDs flicker randomly imitating fireflies\n- 6 LEDs on 3 pins(PB0-PB2) using charlieplexing and bit angle modulation(more efficient PWM alternative for leds) for dimming\n- BAM implemented with hardware timer in CTC mode\n- could easily be scaled to 20 LEDs with almost no code changes(rewriting charlieplexing bitmasks)\n- randomness implemented with linear congruential generator with seed persisted in eeprom and incremented on each power on\n- 0.25 mA power consumption on a 3V CR2032\n\n## TODO\n\n- watchdog for even deeper sleep during dim phase\n- button for toggling power(manual deep sleep)\n\n### Example videos\n[![demo board](https://i.imgur.com/Mfi7AtL.png?2)](https://i.imgur.com/cufzkq7.mp4) [![bottled](https://i.imgur.com/VsxKpeM.png)](https://i.imgur.com/o5OHXny.mp4)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmutcianm%2Ftinyfireflies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmutcianm%2Ftinyfireflies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmutcianm%2Ftinyfireflies/lists"}