{"id":17643761,"url":"https://github.com/mic159/sparkfun_button_4x4","last_synced_at":"2025-03-30T06:40:27.055Z","repository":{"id":14131253,"uuid":"16836626","full_name":"mic159/sparkfun_button_4x4","owner":"mic159","description":"Arduino code to drive the Sparkfun Button Pad as an i2c slave","archived":false,"fork":false,"pushed_at":"2014-07-29T10:39:43.000Z","size":156,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T08:50:40.083Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Arduino","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/mic159.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}},"created_at":"2014-02-14T12:30:15.000Z","updated_at":"2021-01-10T10:42:01.000Z","dependencies_parsed_at":"2022-09-23T19:31:03.153Z","dependency_job_id":null,"html_url":"https://github.com/mic159/sparkfun_button_4x4","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/mic159%2Fsparkfun_button_4x4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mic159%2Fsparkfun_button_4x4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mic159%2Fsparkfun_button_4x4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mic159%2Fsparkfun_button_4x4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mic159","download_url":"https://codeload.github.com/mic159/sparkfun_button_4x4/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246285663,"owners_count":20752953,"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-10-23T09:24:09.276Z","updated_at":"2025-03-30T06:40:27.024Z","avatar_url":"https://github.com/mic159.png","language":"Arduino","funding_links":[],"categories":[],"sub_categories":[],"readme":"ButtonPad\n=========\n\nThis is the code to drive a Sparkfun Button Pad (4x4) using an arduino, and using i2c (Wire) to recieve display commands.\nThe reason to make the driving arduino an i2c slave, and have another arduino do the main logic is because driving the pad takes up almost ALL pins on the 328 based arduinos.\n\n\nRequired Libraries - Driver/Slave\n---------------------------------\n* [TLC5940](https://github.com/hideyukisaito/Tlc5940)\n* [Keypad](https://github.com/Nullkraft/Keypad)\n\nRequired Libraries - Master\n---------------------------\n* Nothing, just this library.\n\n\nInstallation - Driver/Slave\n---------------------------\n* Wire up the Tlc5940 as per the library documentation\n* Connect the pad's RGB source pins to the start of the Tlc5940 (OUT 0-11)\n* Wire up the PNP transistors to the remaining Tlc5940 outputs (OUT 12-15)\n* Connecto the keypad to the arduino's pins A0, A1, A2, A3, D5, D6, D7, D8\n* Connect up the Slave arduino to the Master using the I2C wires (A4, A5)\n* Connect the IRQ line, 4 on the Slave, to any pin on the master.\n* Open up examples/ButtonPadFirmware.ino in the IDE and upload!!!\n\nInstallation - Master\n---------------------\n* Connect the I2C bus to the slave\n* Connect the IRQ/INT pin to pin 4 on the Slave.\n* Upload the LED example and go!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmic159%2Fsparkfun_button_4x4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmic159%2Fsparkfun_button_4x4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmic159%2Fsparkfun_button_4x4/lists"}