{"id":16241666,"url":"https://github.com/eagrahamjr/kobots","last_synced_at":"2026-04-11T07:33:45.721Z","repository":{"id":65002881,"uuid":"564081499","full_name":"EAGrahamJr/kobots","owner":"EAGrahamJr","description":"Kotlin, Raspberry Pi, and Robots: what could possibly go worng.","archived":false,"fork":false,"pushed_at":"2026-01-14T05:00:45.000Z","size":99637,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-14T09:09:29.467Z","etag":null,"topics":["java","kotlin","raspberry-pi","robotics"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/EAGrahamJr.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,"zenodo":null}},"created_at":"2022-11-10T00:21:43.000Z","updated_at":"2026-01-14T05:00:49.000Z","dependencies_parsed_at":"2024-05-15T15:13:52.807Z","dependency_job_id":"57aff5ac-f781-460c-a764-cd5d30b3cc98","html_url":"https://github.com/EAGrahamJr/kobots","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EAGrahamJr/kobots","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EAGrahamJr%2Fkobots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EAGrahamJr%2Fkobots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EAGrahamJr%2Fkobots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EAGrahamJr%2Fkobots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EAGrahamJr","download_url":"https://codeload.github.com/EAGrahamJr/kobots/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EAGrahamJr%2Fkobots/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31673067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"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":["java","kotlin","raspberry-pi","robotics"],"created_at":"2024-10-10T14:08:17.452Z","updated_at":"2026-04-11T07:33:45.687Z","avatar_url":"https://github.com/EAGrahamJr.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KOBOTS\n\nKotlin, Raspberry Pi, and Robots: what could possibly go worng.\n\nExperiments in electronics, robotics, and interacting with the \"real world\" with functional languages\u003csup\u003e**1**\u003c/sup\u003e. The \"base\" implementations are projected to be based on the plethora of microcomputing platforms, specifically the Raspberry Pi.\n\nThis is a _learning_ experience for me, but it **might** produce something useful (I'll re-write this README if that actually happens :smiley:).\n\n![Just Build](https://github.com/EAGrahamJr/kobots/actions/workflows/full-build.yaml/badge.svg) ![Kotlin](https://badgen.net/badge/Kotlin/1.8.22/purple)  ![Java](https://badgen.net/badge/Java/17/orange) ![Apache License](https://badgen.net/github/license/EAGrahamJr/kobots)\n\nParts of this project have been either archived or spun off into library-like projects:\n\n- [Kobots Devices](https://github.com/EAGrahamJr/kobots-devices)\n- [Kobots Parts](https://github.com/EAGrahamJr/kobots-parts)\n\n## In Memorium: 5/2006 - 2/23/2023 (Illy), 11/6/2023 (Tully)\n\nGoodbye, my little coffee friends.\n\n## WHY????\n\nA **long, long** time ago, I attended a [WorldCon](https://en.wikipedia.org/wiki/36th_World_Science_Fiction_Convention) and went to a panel on robotics. I was captivated. However, at the time, I was attending college -- it seemed that acid-etching PCBs in a dorm room was probably not going to be a thing.\n\n... time passes ...\n\nToday, it's stupid easy to \"build\" electronics on bread-boards, not to mention HATs, shims, extenders, etc., and there's stupidly powerful microprocessors that you can build with. Like running a JVM. That's a helluva step up from hand-held DTMF-based remote controls.\n\nSo, yeah - I have a hobby now.\n\n## Usage on the Raspberry Pi\n\nThis stuff is being done on Pi's because that's what I have. Plus they're at least multi-core and can run Java without too much problem.\n\n:bangbang: Make sure the `i2c` controller is enabled on the Raspberry Pi and that your user is in the appropriate _group_ to access said devices:\n\n```shell\n$ ls -l /dev/i2c*\ncrw-rw---- 1 root i2c 89, 1 Nov 23 12:24 /dev/i2c-1\ncrw-rw---- 1 root i2c 89, 2 Nov 23 12:24 /dev/i2c-2\n```\n\n:bangbang: **WARNING** The I2C \"baudrate\" should also be adjusted to 400K - the default value will **not** be sufficient to handle everything on the I2C bus :smiling_imp:\n\nThis [pinout reference](https://pinout.xyz/) is also invaluable...\n\n## Libraries in Use\n\n- [diozero](https://www.diozero.com/) - a thorough and straight-forward implementation of GPIO interface, with a **wide** range of standard devices to boot.\u003csup\u003e**2**\u003c/sup\u003e\n- [kobots-devices](https://github.com/EAGrahamJr/kobots-devices) - extensions and new devices added onto `diozero`, but in **Kotlin**.\n- [kobots-parts](https://github.com/EAGrahamJr/kobots-parts) - application level stuff using the devices -- :bangbang: **HIGHLY OPINIONATED** :smiiling_imp:\n\n# Building\n\nThis project uses [Gradle](https://gradle.org), so the only thing you need is a compatible JDK\u003csup\u003e**3**\u003c/sup\u003e. Additionally, because the project is [Kotlin](https://kotlinlang.org) and uses the _Kotlin Gradle plugin_, a Kotlin installation is also not necessary.\n\n# Physical Pieces\n\nBecause I have no idea what direction any of this will take, the physical construction pieces have started with standard LEGO\u003csup\u003eTM\u003c/sup\u003e pieces, transitioning to Technic\u003csup\u003eTM\u003c/sup\u003e. Various partial contraptions and explorations are detailed in the [adhoc](adhoc) subproject.\n\nPotentially useful constructs can be found in the [diagrams](diagrams) directory. CAD drawings were produced using [LeoCAD](https://www.leocad.org).\n\nThere's also a [Google Album](https://photos.app.goo.gl/kWWJ8uUjWdHnsVDY6) with more photos and videos.\n\n---\n\n\u003csup\u003e**1**\u003c/sup\u003e All of the tutorials, lessons, kits, and existing libraries are predicated on C (at some level), due to the hardware interaction. I just don't want to go there anymore.\u003cbr/\u003e\n\u003csup\u003e**2**\u003c/sup\u003e [MIT License](https://github.com/mattjlewis/diozero/blob/main/LICENSE.txt)\u003cbr/\u003e\n\u003csup\u003e**3**\u003c/sup\u003e Java 17 is currently the only one used\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feagrahamjr%2Fkobots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feagrahamjr%2Fkobots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feagrahamjr%2Fkobots/lists"}