{"id":25254920,"url":"https://github.com/happybono/xmasiccard","last_synced_at":"2026-04-30T10:04:14.900Z","repository":{"id":171904285,"uuid":"228772347","full_name":"happybono/XMasicCard","owner":"happybono","description":"Christmas music card with Arduino Uno","archived":false,"fork":false,"pushed_at":"2019-12-23T07:01:37.000Z","size":1410,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T05:45:46.416Z","etag":null,"topics":["arduino","arduino-uno","beginner","christmas","christmas-music-card","cpp","duration","hour-of-code","learn-to-code","music","musiccard","piezo","tone"],"latest_commit_sha":null,"homepage":null,"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/happybono.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":"2019-12-18T06:22:09.000Z","updated_at":"2019-12-23T07:01:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"5725c63b-c2b8-4779-9e08-4dec1d97c387","html_url":"https://github.com/happybono/XMasicCard","commit_stats":null,"previous_names":["happybono/xmasiccard"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happybono%2FXMasicCard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happybono%2FXMasicCard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happybono%2FXMasicCard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happybono%2FXMasicCard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/happybono","download_url":"https://codeload.github.com/happybono/XMasicCard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415783,"owners_count":20935383,"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":["arduino","arduino-uno","beginner","christmas","christmas-music-card","cpp","duration","hour-of-code","learn-to-code","music","musiccard","piezo","tone"],"created_at":"2025-02-12T05:39:57.176Z","updated_at":"2026-04-30T10:04:09.875Z","avatar_url":"https://github.com/happybono.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XMasicCard\nChristmas music card with Arduino Uno\n\n## Specifications\n### Scenarios\n* When the recipient opens the Christmas Card, background music will be played automatically.\n* Supports multiple songs, one randomly selected song will be played per time.\n\n### Connections\n* 1x Micro-USB (Power)\n\n## Apparatus (Equipments)\n- Arduino Uno R3 + USB A-to-B Cable\n- 1x Christmas Card\n- 1x Breadboard\n- 4x Jumper Wires\n- 1x Piezo Buzzer\n- 1x Copper Conductive Sticky Tape\n- 1x Adhesive Transparent Sticky Tape\n- 2x Magnets\n- 1x Super Glue\n- 1x Portable Battery\n\n## Schematics\n![Circuit Diagram](XMasicCard_Circuit.png)\n\n## Code to Note\nOne of Arduino's many useful built-in commands is the tone() function. This function drives an output pin at a certain frequency, making it perfect for driving buzzers and speakers. If you give it a duration (in milliseconds), it will play the tone then stop. If you don't give it a duration, it will keep playing the tone forever (but you can stop it with another function, noTone()).\n\ntone(PIEZO, notes[i], time[i]); \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhappybono%2Fxmasiccard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhappybono%2Fxmasiccard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhappybono%2Fxmasiccard/lists"}