{"id":13481030,"url":"https://github.com/androidthings/contrib-drivers","last_synced_at":"2025-03-27T11:31:37.159Z","repository":{"id":97075226,"uuid":"76375829","full_name":"androidthings/contrib-drivers","owner":"androidthings","description":"Open source peripheral drivers","archived":false,"fork":false,"pushed_at":"2021-08-30T20:09:27.000Z","size":1227,"stargazers_count":559,"open_issues_count":35,"forks_count":174,"subscribers_count":75,"default_branch":"master","last_synced_at":"2024-05-22T06:07:56.605Z","etag":null,"topics":["android-things","driver"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/androidthings.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-12-13T16:11:33.000Z","updated_at":"2024-04-04T03:37:17.000Z","dependencies_parsed_at":"2023-10-20T17:16:25.666Z","dependency_job_id":"45e2e2cd-39a0-494b-bd96-e4aa2ed9b6e8","html_url":"https://github.com/androidthings/contrib-drivers","commit_stats":null,"previous_names":[],"tags_count":144,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/androidthings%2Fcontrib-drivers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/androidthings%2Fcontrib-drivers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/androidthings%2Fcontrib-drivers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/androidthings%2Fcontrib-drivers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/androidthings","download_url":"https://codeload.github.com/androidthings/contrib-drivers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222239500,"owners_count":16953961,"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":["android-things","driver"],"created_at":"2024-07-31T17:00:47.847Z","updated_at":"2024-10-30T14:31:14.472Z","avatar_url":"https://github.com/androidthings.png","language":"Java","readme":"Android Things user-space drivers\n=================================\n\nSample peripheral drivers for Android Things.\n\n\u003e **Note:** The Android Things Console will be turned down for non-commercial\n\u003e use on January 5, 2022. For more details, see the\n\u003e [FAQ page](https://developer.android.com/things/faq).\n\nHow to use a driver\n===================\n\nFor your convenience, drivers in this repository are also published to JCenter\nas Maven artifacts. Look at their artifact and group ID in their build.gradle\nand add them as dependencies to your own project.\n\nFor example, to use the `button` driver, version `1.0`, simply add the line\nbelow to your project's `build.gradle`:\n\n\n```\ndependencies {\n    implementation 'com.google.android.things.contrib:driver-button:1.0'\n}\n```\n\n\nCurrent contrib drivers\n-----------------------\n\n\u003c!-- DRIVER_LIST_START --\u003e\nDriver | Type | Usage (add to your gradle dependencies) | Note\n:---:|:---:| --- | ---\n[driver-adc](adc) | Analog to Digital Converters | `implementation 'com.google.android.things.contrib:driver-adc:2.0'` | [sample](https://github.com/androidthings/drivers-samples/tree/master/ads1015) [changelog](adc/CHANGELOG.md)\n[driver-apa102](apa102) | RGB LED strip | `implementation 'com.google.android.things.contrib:driver-apa102:1.0'` | [sample](https://github.com/androidthings/drivers-samples/tree/master/apa102) [changelog](apa102/CHANGELOG.md)\n[driver-bmx280](bmx280) | temperature, pressure and humidity sensor | `implementation 'com.google.android.things.contrib:driver-bmx280:1.0'` | [sample](https://github.com/androidthings/drivers-samples/tree/master/bmx280) [changelog](bmx280/CHANGELOG.md)\n[driver-button](button) | push button over GPIO | `implementation 'com.google.android.things.contrib:driver-button:1.0'` | [sample](https://github.com/androidthings/sample-button) [changelog](button/CHANGELOG.md)\n[driver-cap1xxx](cap1xxx) | capacitive touch buttons | `implementation 'com.google.android.things.contrib:driver-cap1xxx:2.0'` |  [changelog](cap1xxx/CHANGELOG.md)\n[driver-gps](gps) | GPS | `implementation 'com.google.android.things.contrib:driver-gps:1.1'` | [sample](https://github.com/androidthings/drivers-samples/tree/master/gps) [changelog](gps/CHANGELOG.md)\n[driver-ht16k33](ht16k33) | 7-digit alphanumeric segment display | `implementation 'com.google.android.things.contrib:driver-ht16k33:1.1'` | [sample](https://github.com/androidthings/drivers-samples/tree/master/ht16k33) [changelog](ht16k33/CHANGELOG.md)\n[driver-lowpan](lowpan) | LoWPAN support over UART | `implementation 'com.google.android.things.contrib:driver-lowpan:1.0'` | [sample](https://github.com/androidthings/sample-lowpan) [changelog](lowpan/CHANGELOG.md)\n[driver-matrixkeypad](matrixkeypad) | driver for generic matrix keypads | `implementation 'com.google.android.things.contrib:driver-matrixkeypad:1.0'` | [sample](https://github.com/androidthings/drivers-samples/tree/master/matrixkeypad) [changelog](matrixkeypad/CHANGELOG.md)\n[driver-mma7660fc](mma7660fc) | accelerometer sensor | `implementation 'com.google.android.things.contrib:driver-mma7660fc:1.0'` | [sample](https://github.com/androidthings/drivers-samples/tree/master/mma7660fc) [changelog](mma7660fc/CHANGELOG.md)\n[driver-motorhat](motorhat) | DC Motor HAT | `implementation 'com.google.android.things.contrib:driver-motorhat:1.0'` | [sample](https://github.com/androidthings/robocar) [changelog](motorhat/CHANGELOG.md)\n[driver-pwmservo](pwmservo) | PWM servo | `implementation 'com.google.android.things.contrib:driver-pwmservo:1.0'` | [sample](https://github.com/androidthings/drivers-samples/tree/master/pwmservo) [changelog](pwmservo/CHANGELOG.md)\n[driver-pwmspeaker](pwmspeaker) | PWM speaker/buzzer | `implementation 'com.google.android.things.contrib:driver-pwmspeaker:1.0'` | [sample](https://github.com/androidthings/drivers-samples/tree/master/pwmspeaker) [changelog](pwmspeaker/CHANGELOG.md)\n[driver-rainbowhat](rainbowhat) | metadriver for the Rainbow HAT | `implementation 'com.google.android.things.contrib:driver-rainbowhat:1.0'` | [sample](https://github.com/androidthings/weatherstation) [changelog](rainbowhat/CHANGELOG.md)\n[driver-sensehat](sensehat) | metadriver for the Sense HAT | `implementation 'com.google.android.things.contrib:driver-sensehat:1.0'` |  [changelog](sensehat/CHANGELOG.md)\n[driver-ssd1306](ssd1306) | OLED display | `implementation 'com.google.android.things.contrib:driver-ssd1306:1.1'` | [sample](https://github.com/androidthings/drivers-samples/tree/master/ssd1306) [changelog](ssd1306/CHANGELOG.md)\n[driver-thermalprinter](thermalprinter) | Driver for a thermal printer | `implementation 'com.google.android.things.contrib:driver-thermalprinter:0.1'` |  [changelog](thermalprinter/CHANGELOG.md)\n[driver-tm1637](tm1637) | 4-digit numeric segment display | `implementation 'com.google.android.things.contrib:driver-tm1637:1.0'` | [sample](https://github.com/androidthings/drivers-samples/tree/master/tm1637) [changelog](tm1637/CHANGELOG.md)\n[driver-vcnl4200](vcnl4200) | proximity and ambient light sensor | `implementation 'com.google.android.things.contrib:driver-vcnl4200:1.0'` |  [changelog](vcnl4200/CHANGELOG.md)\n[driver-voicehat](voicehat) | driver for VoiceHat | `implementation 'com.google.android.things.contrib:driver-voicehat:1.0'` | [sample](https://github.com/androidthings/sample-googleassistant) [changelog](voicehat/CHANGELOG.md)\n[driver-zxgesturesensor](zxgesturesensor) | zx gesture sensor | `implementation 'com.google.android.things.contrib:driver-zxgesturesensor:1.0'` |  [changelog](zxgesturesensor/CHANGELOG.md)\n\u003c!-- DRIVER_LIST_END --\u003e\n\n\nDeprecated drivers\n------------------\nDriver | Type | Usage (add to your gradle dependencies) | Reason |\n:---:|:---:| --- | --- |\ndriver-adcv2x | Sparkfun ADC Block for Intel Edison | `implementation 'com.google.android.things.contrib:driver-adcv2x:1.0'` | Superseded by [driver-adc](adc)\ndriver-cap12xx | capacitive touch buttons | `implementation 'com.google.android.things.contrib:driver-cap12xx:1.0'` | Superseded by [driver-cap1xxx](cap1xxx)\n\nLicense\n-------\n\nCopyright 2016 Google Inc.\n\nLicensed to the Apache Software Foundation (ASF) under one or more contributor\nlicense agreements.  See the NOTICE file distributed with this work for\nadditional information regarding copyright ownership.  The ASF licenses this\nfile to you under the Apache License, Version 2.0 (the \"License\"); you may not\nuse this file except in compliance with the License.  You may obtain a copy of\nthe License at\n\n  http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\nWARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the\nLicense for the specific language governing permissions and limitations under\nthe License.\n","funding_links":[],"categories":["Useful links","Java","OS"],"sub_categories":["Drivers","Android Things"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroidthings%2Fcontrib-drivers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandroidthings%2Fcontrib-drivers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroidthings%2Fcontrib-drivers/lists"}