{"id":20898237,"url":"https://github.com/eat-sleep-code/circuitpython-multi-trigger","last_synced_at":"2026-04-20T20:01:42.268Z","repository":{"id":68198702,"uuid":"301553558","full_name":"eat-sleep-code/circuitpython-multi-trigger","owner":"eat-sleep-code","description":"Use a single Trinket M0 to handle the inputs from 4 Sharp Proximity sensors and trigger a sound effect on an AudioFX board.","archived":false,"fork":false,"pushed_at":"2020-10-15T14:53:01.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T09:35:20.423Z","etag":null,"topics":["circuitpython"],"latest_commit_sha":null,"homepage":"","language":"Python","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/eat-sleep-code.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":"2020-10-05T22:20:38.000Z","updated_at":"2020-10-15T14:53:03.000Z","dependencies_parsed_at":"2023-04-13T10:18:15.262Z","dependency_job_id":null,"html_url":"https://github.com/eat-sleep-code/circuitpython-multi-trigger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eat-sleep-code/circuitpython-multi-trigger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eat-sleep-code%2Fcircuitpython-multi-trigger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eat-sleep-code%2Fcircuitpython-multi-trigger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eat-sleep-code%2Fcircuitpython-multi-trigger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eat-sleep-code%2Fcircuitpython-multi-trigger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eat-sleep-code","download_url":"https://codeload.github.com/eat-sleep-code/circuitpython-multi-trigger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eat-sleep-code%2Fcircuitpython-multi-trigger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32063458,"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":["circuitpython"],"created_at":"2024-11-18T11:09:41.234Z","updated_at":"2026-04-20T20:01:42.202Z","avatar_url":"https://github.com/eat-sleep-code.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CircuitPython Multi-Trigger\n\nThis is a revision of the code used for [Screaming Halloween Cauldrons](https://github.com/eat-sleep-code/circuitpython-halloween-cauldrons) and [A Very Merry CircuitPython Christmas](https://github.com/eat-sleep-code/circuitpython-christmas) projects.\n\nThis version will allow you to use a single Trinket M0 to handle the inputs from 4 Sharp Proximity sensors.  \n\nThe limitation is that you will now only be able to trigger a single pin on the Audio FX board.  \n\nThis is purely because there are only 5 available pins on the Trinket M0.   Other CircuitPython boards may offer more pins but have not been tested with this script.\n\nThis version also adds a discrete speaker Class D amplifier.   Adafruit also sells an Audio FX board with integrated amplifier,  but that amplifier has about 30% less power.   Using the Audio FX board with the integrated amplifer will allow you to eliminate one power, one ground, and the four audio signal interconnect wires.  You will need to decide which is more important to you -- more amplification power, or less wires.\n\n![Fritzing Diagram](fritzing.png)\n\nIn our build, we mounted the three PCBs and two Dayton Audio speakers inside a 4\" x 4\" junction box.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feat-sleep-code%2Fcircuitpython-multi-trigger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feat-sleep-code%2Fcircuitpython-multi-trigger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feat-sleep-code%2Fcircuitpython-multi-trigger/lists"}