{"id":25006462,"url":"https://github.com/cybergear-robotics/cybergear","last_synced_at":"2026-02-25T19:32:46.251Z","repository":{"id":272167142,"uuid":"915653795","full_name":"cybergear-robotics/cybergear","owner":"cybergear-robotics","description":"ESP-IDF library for Xiaomi CyberGear motors","archived":false,"fork":false,"pushed_at":"2025-02-14T15:10:32.000Z","size":687,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-26T07:03:16.004Z","etag":null,"topics":["cybergear","esp-idf","espidf-component","xiaomi","xiaomi-cybergear","xiaomi-robot"],"latest_commit_sha":null,"homepage":"","language":"C","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/cybergear-robotics.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":"2025-01-12T13:01:10.000Z","updated_at":"2025-05-25T00:32:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"6b4efa07-dcac-45b3-ae8f-6a45487f0480","html_url":"https://github.com/cybergear-robotics/cybergear","commit_stats":null,"previous_names":["cybergear-robotics/cybergear"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/cybergear-robotics/cybergear","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybergear-robotics%2Fcybergear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybergear-robotics%2Fcybergear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybergear-robotics%2Fcybergear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybergear-robotics%2Fcybergear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cybergear-robotics","download_url":"https://codeload.github.com/cybergear-robotics/cybergear/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybergear-robotics%2Fcybergear/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29836268,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T19:08:47.527Z","status":"ssl_error","status_checked_at":"2026-02-25T18:59:04.705Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cybergear","esp-idf","espidf-component","xiaomi","xiaomi-cybergear","xiaomi-robot"],"created_at":"2025-02-05T01:49:36.424Z","updated_at":"2026-02-25T19:32:46.207Z","avatar_url":"https://github.com/cybergear-robotics.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Xiaomi CyberGear Driver\n\n[![Component Registry](https://components.espressif.com/components/cybergear-robotics/cybergear/badge.svg)](https://components.espressif.com/components/cybergear-robotics/cybergear)\n[![Examples build](https://github.com/cybergear-robotics/cybergear/actions/workflows/build_example.yml/badge.svg)](https://github.com/cybergear-robotics/cybergear/actions/workflows/build_example.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)\n[![Framework](https://img.shields.io/badge/Framework-ESP_IDF-orange.svg)](https://shields.io/)\n[![Language](https://img.shields.io/badge/Language-C-purple.svg)](https://shields.io/)\n\n\nThis driver uses Espressif's TWAI (Two-Wire Automotive Interface) in\norder to communicate with Xiamoi CyberGear motors. It bases on the library\n[Xiaomi_CyberGear_Arduino](https://github.com/DanielKalicki/Xiaomi_CyberGear_Arduino)\nand is ported for ESP-IDF.\n\n## Safety\n\nThis library does not use error logs/prints, but instead every internal error is\npassed through. Therefore each relevant function returns `esp_err_t`, which should\nbe handled. During development `ESP_ERROR_CHECK(...)` helps, but due to the strength\nof these motors, an error should be resolved or the motors should be stopped by an\nexternal emergency mechanism.\n\nPay attention: The motor provides a list of faults. These are not tested yet and the code is beta.\nFollowing lists the faults and whether a fault was already correctly tested:\n\n* [ ] `overload`\n* [ ] `uncalibrated`\n* [ ] `over_current_phase_a`\n* [ ] `over_current_phase_b`\n* [ ] `over_current_phase_c`\n* [ ] `over_voltage`\n* [ ] `under_voltage`\n* [ ] `driver_chip`\n* [ ] `over_temperature`\n* [ ] `magnetic_code_failure`\n* [ ] `hall_coded_faults`\n\n## Using component\n```bash\nidf.py add-dependency \"cybergear-robotics/cybergear\"\n```\n\n## Example\n\n1. create example project\n```bash\nidf.py create-project-from-example \"cybergear-robotics/cybergear:position_test\"\n```\n2. Go to to example directory (for example `position_test`)\n   `cd position_test`\n3. Set ESP chip\n   `idf.py set-target esp32`\n4. Configure CAN TX/RX in menu `CyberGear Example`.\n   `idf.py menuconfig`\n5. Build, flash\n   `idf.py build flash monitor`\n\n## Related projects\n\n* [Xiaomi_CyberGear_Arduino](https://github.com/DanielKalicki/Xiaomi_CyberGear_Arduino)\n* [cybergear_m5](https://github.com/project-sternbergia/cybergear_m5)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybergear-robotics%2Fcybergear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcybergear-robotics%2Fcybergear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybergear-robotics%2Fcybergear/lists"}