{"id":20026999,"url":"https://github.com/defective4/rpi-display-controller","last_synced_at":"2026-05-29T23:01:52.188Z","repository":{"id":254758322,"uuid":"847456392","full_name":"Defective4/rpi-display-controller","owner":"Defective4","description":"A simple segment LED display controller for Raspberry Pi","archived":false,"fork":false,"pushed_at":"2025-03-18T22:14:36.000Z","size":790,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-27T08:13:52.430Z","etag":null,"topics":["display","gpio","led","raspberry","rpi","segment"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Defective4.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":"2024-08-25T21:42:08.000Z","updated_at":"2025-03-18T22:14:40.000Z","dependencies_parsed_at":"2024-08-25T23:25:02.070Z","dependency_job_id":"74d7d4a0-fb4b-43f5-940c-ed525427fb26","html_url":"https://github.com/Defective4/rpi-display-controller","commit_stats":null,"previous_names":["defective4/rpi-display-controller"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Defective4/rpi-display-controller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Defective4%2Frpi-display-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Defective4%2Frpi-display-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Defective4%2Frpi-display-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Defective4%2Frpi-display-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Defective4","download_url":"https://codeload.github.com/Defective4/rpi-display-controller/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Defective4%2Frpi-display-controller/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33673628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"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":["display","gpio","led","raspberry","rpi","segment"],"created_at":"2024-11-13T09:08:44.886Z","updated_at":"2026-05-29T23:01:52.182Z","avatar_url":"https://github.com/Defective4.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raspberry Pi LED Display Controller\n[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)  \nControl one LED segment display with your Raspberry Pi using any integrated circuits.  \n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Supported characters](#supported-characters)\n\n# Why?\nIt's one of my RPi practise projects. It has very limited use, and it's better to use an integrated circuit where possible.\n\n# How does it work?\nThe project's premise is simple - it allows you to display alphanumeric characters on a single segment display.  \nIt uses one GPIO pin per segment, requiring total of 7 free pins (command/dot are **not** supported).  \nThe code contains a registry of supported characters, each assigned a set of pins required to display the character.  \n\n# Installation\n## Maven\nAdd the following to `dependencies` section in your `pom.xml`.  \nReplace `{latest version}` with the latest version shown below.\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.github.defective4.rpi\u003c/groupId\u003e\n\t\u003cartifactId\u003erpi-display-controller\u003c/artifactId\u003e\n\t\u003cversion\u003e{latest version}\u003c/version\u003e\n\u003c/dependency\u003e\n```\n*Latest Maven version*  \n![Maven Central Version](https://img.shields.io/maven-central/v/io.github.defective4.rpi/rpi-display-controller)\n\n# Usage\nExample code can be found [here](src/main/java/DisplayMain.java).  \n\n## Mapping GPIO pins to `DisplayController`'s constructor\n```java\nnew DisplayController(context, /** 7 GPIO pin addresses, each connected to a display segment **/);\n```   \n![led](img/led.png)\n\n## Board example\n\n![board](img/board.jpg)  \n*An example board.*  \n*Each segment is powered by a NPN transistor, each with its base connected to the corresponding GPIO pin.*  \n*The display on the photo is an old Russian LED display with a common anode.*\n\n# Supported characters\nAn always up-to-date list of supported chars can be found in [DisplayCharacter.java](src/main/java/io/github/defective4/rpi/DisplayCharacter.java).  \nSupported characters include:\n- All numbers from 0 to 9 inclusive\n- Letters \u003ckbd\u003eA\u003c/kbd\u003e, \u003ckbd\u003eC\u003c/kbd\u003e, \u003ckbd\u003ec\u003c/kbd\u003e, \u003ckbd\u003eE\u003c/kbd\u003e, \u003ckbd\u003eF\u003c/kbd\u003e, \u003ckbd\u003eH\u003c/kbd\u003e, \u003ckbd\u003eh\u003c/kbd\u003e, \u003ckbd\u003eJ\u003c/kbd\u003e, \u003ckbd\u003eL\u003c/kbd\u003e, \u003ckbd\u003eo\u003c/kbd\u003e, \u003ckbd\u003eP\u003c/kbd\u003e, \u003ckbd\u003eU\u003c/kbd\u003e, \u003ckbd\u003eu\u003c/kbd\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefective4%2Frpi-display-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefective4%2Frpi-display-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefective4%2Frpi-display-controller/lists"}