{"id":16392010,"url":"https://github.com/mikeshultz/orient","last_synced_at":"2026-06-03T16:31:33.129Z","repository":{"id":147876732,"uuid":"571359478","full_name":"mikeshultz/orient","owner":"mikeshultz","description":"Firmware for a device that orients itself north using a stepper motor and compass readings on the STM32F3DISCOVERY board.","archived":false,"fork":false,"pushed_at":"2022-11-28T00:12:04.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-22T22:27:49.225Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikeshultz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-11-28T00:07:50.000Z","updated_at":"2022-11-28T00:08:40.000Z","dependencies_parsed_at":"2023-05-27T18:45:29.453Z","dependency_job_id":null,"html_url":"https://github.com/mikeshultz/orient","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mikeshultz/orient","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeshultz%2Forient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeshultz%2Forient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeshultz%2Forient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeshultz%2Forient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikeshultz","download_url":"https://codeload.github.com/mikeshultz/orient/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeshultz%2Forient/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33874679,"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-06-03T02:00:06.370Z","response_time":59,"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":[],"created_at":"2024-10-11T04:48:10.283Z","updated_at":"2026-06-03T16:31:33.107Z","avatar_url":"https://github.com/mikeshultz.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Orient\n\nFirmware for a device that orients itself north using a stepper motor and compass readings on the STM32F3DISCOVERY board.  It reads from the board's LSM303AGR compass, then a stepper controller to adjust the stepper motor's position to point the entire device north.\n\n## Development\n\n### Buil\n\nTODO\n\n### Debug Build and Run\n\nTo run the code on the device, first start the openocd remote debugger connection:\n\n```bash\nopenocd\n```\n\nThen, using `cargo` build and flash the firmware to the device:\n\n```bash\ncargo run\n```\n\nThis will drop you into a debugger that breaks at the rtic init.\n\n## TODO\n\n- Add a circuit diagram to the README\n- Add a video of the device operating\n- Disable the stepper motor when not adjusting to allow for the free motion of he device.  This will require a buk circuit since we only have 2 5v capable pins on GPIO.  Should also try and determine if a person is moving it before enabling as well.\n- Use the available button to enable/disable functionality\n- Implement necessary correction for 3d compas z-axis movement\n\n## Attribution\n\nThe scaffolding of this project is based on [`cortex-m-quickstart`](https://github.com/rust-embedded/cortex-m-quickstart) and used under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikeshultz%2Forient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikeshultz%2Forient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikeshultz%2Forient/lists"}