{"id":19542493,"url":"https://github.com/dr-mod/guardian-duck","last_synced_at":"2025-04-26T17:31:15.876Z","repository":{"id":50255066,"uuid":"518333502","full_name":"dr-mod/guardian-duck","owner":"dr-mod","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-27T15:35:38.000Z","size":409,"stargazers_count":28,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T16:41:58.908Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dr-mod.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}},"created_at":"2022-07-27T06:17:43.000Z","updated_at":"2023-03-20T12:52:12.000Z","dependencies_parsed_at":"2022-09-20T01:43:08.881Z","dependency_job_id":null,"html_url":"https://github.com/dr-mod/guardian-duck","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dr-mod%2Fguardian-duck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dr-mod%2Fguardian-duck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dr-mod%2Fguardian-duck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dr-mod%2Fguardian-duck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dr-mod","download_url":"https://codeload.github.com/dr-mod/guardian-duck/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251025730,"owners_count":21524851,"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":[],"created_at":"2024-11-11T03:14:51.134Z","updated_at":"2025-04-26T17:31:15.530Z","avatar_url":"https://github.com/dr-mod.png","language":"Python","funding_links":["https://www.buymeacoffee.com/drmod"],"categories":[],"sub_categories":[],"readme":"# The Guardian Duck\nAn inconspicuous device which quacks when motion is detected. The duck is powered by a battery and supports the Qi wireless charging.\n\n![](docs/screenshot.jpeg)\n[Demo video](https://twitter.com/dr2mod/status/1552293647583952902)\n\n## Hardware\n\n### Bill of materials\n* Raspberry Pi Pico\n* PIR Motion Sensor (HC-SR505)\n* Audio Amplifier (PAM8302)\n* Mini-Speaker\n* LiPo SHIM for Pico\n* Battery LiPo 600mAh\n* Qi receiver module - Micro USB\n\n### Print\nThe 3d model can be downloaded from my Printables [here](https://www.printables.com/model/249213-the-guardian-duck).\n\n## Software\nThe software is written in CircuitPython and tested with the version 7.3.1\n\n### Installing CircuitPython\n1. Download the CircuitPython UF2 from the official website [here](https://circuitpython.org/board/raspberry_pi_pico/).\n2. Push and hold the BOOTSEL button and plug your Pico into the USB port of your computer. Release the BOOTSEL button\n   after your microcontroller is connected.\n3. It will mount as a Mass Storage Device called RPI-RP2.\n4. Drag and drop the CircuitPython UF2 file onto the RPI-RP2 volume.\n\n### Software installation\nDownload and copy the software\n\n```shell\ncd ~\ngit clone https://github.com/dr-mod/roman-duck.git\ncp roman-duck/src/* \u003cCIRCUITPY DRIVE\u003e\n```\n\n### Assembly\n\n1. Solder the LiPo SHIM to Pico\n2. Connect the peripherals as per the schematics ![](docs/schematic.png)\n3. Connect the battery to LiPo SHIM\n4. Attach the Qi pad to the inner side of the duck's bottom part with double-sided adhesive tape\n5. Insert the rest of the components to the duck's upper side\n6. Connect the Qi pad to Pico and the duck's parts together\n\n### Support the project\n\nIf you would like to support what I do and keep me caffeinated, you can do it here:\n\n[![\"Buy Me A Coffee\"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/drmod)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdr-mod%2Fguardian-duck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdr-mod%2Fguardian-duck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdr-mod%2Fguardian-duck/lists"}