{"id":20761030,"url":"https://github.com/tophercantrell/ioexpanderrpi","last_synced_at":"2026-05-17T03:42:50.435Z","repository":{"id":85496817,"uuid":"153766040","full_name":"topherCantrell/IOexpanderRPi","owner":"topherCantrell","description":"The SparkFun Breakout for SX1509","archived":false,"fork":false,"pushed_at":"2018-11-04T13:21:11.000Z","size":6277,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-14T17:42:47.288Z","etag":null,"topics":["raspberry-pi","sx1509"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/topherCantrell.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}},"created_at":"2018-10-19T10:27:19.000Z","updated_at":"2024-09-01T13:39:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"f328bea6-fa7b-4ee3-9a43-8016ef4df43e","html_url":"https://github.com/topherCantrell/IOexpanderRPi","commit_stats":null,"previous_names":["tophercantrell/ioexpanderrpi","tophercantrell/pi-io-expander"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/topherCantrell/IOexpanderRPi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topherCantrell%2FIOexpanderRPi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topherCantrell%2FIOexpanderRPi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topherCantrell%2FIOexpanderRPi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topherCantrell%2FIOexpanderRPi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/topherCantrell","download_url":"https://codeload.github.com/topherCantrell/IOexpanderRPi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topherCantrell%2FIOexpanderRPi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280747374,"owners_count":26383946,"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","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["raspberry-pi","sx1509"],"created_at":"2024-11-17T10:17:12.911Z","updated_at":"2025-10-24T05:41:29.181Z","avatar_url":"https://github.com/topherCantrell.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Adding an I/O Expander to the Pi\n\nThe SparkFun Breakout for SX1509:\u003cbr\u003e\nhttps://www.sparkfun.com/products/13601\n\nSparkFun's tutorial:\u003cbr\u003e\nhttps://learn.sparkfun.com/tutorials/sx1509-io-expander-breakout-hookup-guide\n\nDatasheet for the SX1509:\u003cbr\u003e\nhttps://cdn.sparkfun.com/assets/learn_tutorials/4/3/4/sx150x_789.pdf\n\nKeypad from Adafruit:\u003cbr\u003e\nhttps://www.adafruit.com/product/3845\n\n\n## Schematics\n\n![](art/schematic.jpg)\n\n## i2C\n\nThe boards have solder-pad jumpers for configuring the I2C addresses. I left one\nof the boards alone at 00 for the address 0x3E. On the other board I cut the\nADD0 trace to 0 and soldered it to 1. That's 01 for the address 0x3F.\n\n```\npi@tink:~ $ i2cdetect -y 1\n     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f\n00:          -- -- -- -- -- -- -- -- -- -- -- -- -- \n10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \n20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \n30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 3e 3f \n40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \n50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \n60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \n70: -- -- -- -- -- -- -- --                         \n``` \n\n## Testing\n\n![](art/testing.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftophercantrell%2Fioexpanderrpi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftophercantrell%2Fioexpanderrpi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftophercantrell%2Fioexpanderrpi/lists"}