{"id":14962080,"url":"https://github.com/mattjlewis/diozero","last_synced_at":"2025-05-15T14:07:14.617Z","repository":{"id":4304516,"uuid":"50951613","full_name":"mattjlewis/diozero","owner":"mattjlewis","description":"Java Device I/O library that is portable across Single Board Computers and microcontrollers. Tested with Raspberry Pi, Odroid C2, BeagleBone Black, Next Thing CHIP, Asus Tinker Board and Arduinos / Pico. Supports GPIO, I2C, SPI as well as Serial communication. Also known to work with Udoo Quad.","archived":false,"fork":false,"pushed_at":"2024-10-15T16:03:27.000Z","size":97243,"stargazers_count":270,"open_issues_count":18,"forks_count":60,"subscribers_count":27,"default_branch":"main","last_synced_at":"2025-05-15T14:07:04.738Z","etag":null,"topics":["analog-devices","arduino","asus-tinker-board","beaglebone-black","firmata","gpio","gpiod","hacktoberfest","i2c","java","libgpiod","odroid-c2","pico","raspberry-pi","serial","serial-communication","serial-port","spi","spi-device","spi-devices"],"latest_commit_sha":null,"homepage":"https://www.diozero.com","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/mattjlewis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2016-02-02T21:01:19.000Z","updated_at":"2025-05-04T19:28:07.000Z","dependencies_parsed_at":"2023-07-05T17:00:23.425Z","dependency_job_id":"6f8ab03c-fec7-4b14-a830-a468ad65344c","html_url":"https://github.com/mattjlewis/diozero","commit_stats":{"total_commits":1360,"total_committers":25,"mean_commits":54.4,"dds":"0.33014705882352946","last_synced_commit":"8d3dae7c41cb4c9f605f0905ecf47b7893d6cec8"},"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattjlewis%2Fdiozero","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattjlewis%2Fdiozero/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattjlewis%2Fdiozero/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattjlewis%2Fdiozero/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattjlewis","download_url":"https://codeload.github.com/mattjlewis/diozero/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254355335,"owners_count":22057354,"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":["analog-devices","arduino","asus-tinker-board","beaglebone-black","firmata","gpio","gpiod","hacktoberfest","i2c","java","libgpiod","odroid-c2","pico","raspberry-pi","serial","serial-communication","serial-port","spi","spi-device","spi-devices"],"created_at":"2024-09-24T13:29:03.502Z","updated_at":"2025-05-15T14:07:09.576Z","avatar_url":"https://github.com/mattjlewis.png","language":"Java","readme":"---\nauthor: \"Matthew Lewis\"\n---\n# diozero - a Java Device I/O wrapper for GPIO / I\u003csup\u003e2\u003c/sup\u003eC / SPI control\n\n[![Maven CI Build](https://github.com/mattjlewis/diozero/actions/workflows/build.yml/badge.svg)](https://github.com/mattjlewis/diozero/actions/workflows/build.yml)\n[![Maven Central Status](https://img.shields.io/maven-central/v/com.diozero/diozero.svg)](https://search.maven.org/search?q=g:com.diozero)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Javadoc](https://www.javadoc.io/badge/com.diozero/diozero-core.svg)](https://www.javadoc.io/doc/com.diozero/diozero-core)\n\nA Device I/O library written in Java that provides an object-orientated interface for a range of \nGPIO / I\u003csup\u003e2\u003c/sup\u003eC / SPI devices (LEDs, buttons, sensors, motors, displays, etc) connected to Single \nBoard Computers like the Raspberry Pi. Actual GPIO / I\u003csup\u003e2\u003c/sup\u003eC / SPI device communication is delegated \nto pluggable service providers for maximum compatibility across different boards. This library is \nknown to work on the following boards: all models of the Raspberry Pi, Odroid C2, BeagleBone \n(Green and Black), C.H.I.P and ASUS Tinker Board. It should be portable to any Single Board computer that \nruns Linux and Java 11+.\n\nThis library makes use of modern Java features such as \n[automatic resource management](https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html), \n[Lambda Expressions](https://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html) and \n[Method References](https://docs.oracle.com/javase/tutorial/java/javaOO/methodreferences.html) \nwhere they simplify development and improve code readability.\n\nCreated by [Matt Lewis](https://github.com/mattjlewis) (email [deviceiozero@gmail.com](mailto:deviceiozero@gmail.com)) ([blog](https://diozero.blogspot.co.uk/)), \ninspired by [GPIO Zero](https://gpiozero.readthedocs.org/) and [Johnny Five](http://johnny-five.io/). \nIf you have any issues please use the [GitHub issues page](https://github.com/mattjlewis/diozero/issues). \nFor any other comments or suggestions, please use the [GitHub discussions page](https://github.com/mattjlewis/diozero/discussions).\n\nPlease refer to the [GitHub Pages site](https://www.diozero.com/) for further documentation.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattjlewis%2Fdiozero","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattjlewis%2Fdiozero","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattjlewis%2Fdiozero/lists"}