{"id":15290592,"url":"https://github.com/agjendem/rpi-7segment","last_synced_at":"2025-07-02T23:32:18.248Z","repository":{"id":57462824,"uuid":"218742210","full_name":"agjendem/rpi-7segment","owner":"agjendem","description":"rpi-7-segment","archived":false,"fork":false,"pushed_at":"2019-11-07T11:59:25.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-09T16:46:29.282Z","etag":null,"topics":["7segments","hardware-libraries","python","raspberry-pi"],"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/agjendem.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":"2019-10-31T10:37:41.000Z","updated_at":"2019-11-06T10:24:32.000Z","dependencies_parsed_at":"2022-09-05T17:21:56.620Z","dependency_job_id":null,"html_url":"https://github.com/agjendem/rpi-7segment","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/agjendem/rpi-7segment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agjendem%2Frpi-7segment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agjendem%2Frpi-7segment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agjendem%2Frpi-7segment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agjendem%2Frpi-7segment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agjendem","download_url":"https://codeload.github.com/agjendem/rpi-7segment/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agjendem%2Frpi-7segment/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263232650,"owners_count":23434714,"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":["7segments","hardware-libraries","python","raspberry-pi"],"created_at":"2024-09-30T16:08:43.253Z","updated_at":"2025-07-02T23:32:18.166Z","avatar_url":"https://github.com/agjendem.png","language":"Python","readme":"Software to control 7-segment displays.\n\n# Software:\nBased on code found in the comments section of the [SparkFun Hookup Guide](https://learn.sparkfun.com/tutorials/large-digit-driver-hookup-guide/discuss). Thanks to [Member #910971](https://www.sparkfun.com/users/910971) and [Member #642108](https://www.sparkfun.com/users/642108).\n\nThis code is further improved to easily support multiple displays, as well as text/numbers, with scrolling.\n\n# Hardware:\nTested with the following hardware:\n* [7-Segment Display - 6.5\" (Red)](https://www.sparkfun.com/products/8530)\n* [SparkFun Large Digit Driver](https://www.sparkfun.com/products/13279)\n* [RaspberryPi 4](https://www.raspberrypi.org/products/raspberry-pi-4-model-b/)\n* [SN74AHCT125N Quadruple Bus Buffer Gates With 3-State Outputs](https://www.ti.com/store/ti/en/p/product/?p=SN74AHCT125N)\n* [Adafruit Perma-Proto HAT](https://www.adafruit.com/product/2310)\n\nIt is likely to work with other variants, home made displays and/or drivers based on [TPIC6C596](http://www.ti.com/lit/pdf/slis093), as well as other voltage converters for signal, for example the [SparkFun Logic Level Converter](https://www.sparkfun.com/products/12009).\n\n12v power to the displays are provided externally.\n\n## Build instructions:\nhttps://learn.sparkfun.com/tutorials/large-digit-driver-hookup-guide/all\n\nIn our case, we swapped the Arduino with a RaspberryPi 4. As the Pi operates with 3.3v signals on the GPIO compared to the 5v of the Arduino, the signal lines (clk, latch, data) needs to be adjusted via a logic level converter.\n\n# Defaults:\nSegments class parameters, based on the [Raspberry BCM pinout](https://pinout.xyz/):\n* bcm_gpio_clock=11 *(CLK)*\n* bcm_gpio_latch=13 *(Signals when to switch to the next display)*\n* bcm_gpio_data=14  *(TXD - used to turn each segment on/off)*\n* num_displays=7 *(The number of displays you've chained)*\n* debug=False *(Turns on debug output to console)*\n* offline=False *(Deactivates the actual GPIO-parts, used mainly for dev/tests)*\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagjendem%2Frpi-7segment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagjendem%2Frpi-7segment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagjendem%2Frpi-7segment/lists"}