{"id":25445975,"url":"https://github.com/nordmoen/hc-sr04","last_synced_at":"2025-09-05T02:19:20.154Z","repository":{"id":147752629,"uuid":"126954719","full_name":"nordmoen/hc-sr04","owner":"nordmoen","description":"Rust embedded-hal sensor crate for HC-SR04","archived":false,"fork":false,"pushed_at":"2019-01-04T14:13:58.000Z","size":13,"stargazers_count":17,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T18:17:48.326Z","etag":null,"topics":["distance-sensor","embedded-hal-driver","no-std","rust","ultrasonic-sensor"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/nordmoen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2018-03-27T08:30:59.000Z","updated_at":"2024-11-17T18:53:36.000Z","dependencies_parsed_at":"2023-05-27T10:15:11.552Z","dependency_job_id":null,"html_url":"https://github.com/nordmoen/hc-sr04","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nordmoen/hc-sr04","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nordmoen%2Fhc-sr04","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nordmoen%2Fhc-sr04/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nordmoen%2Fhc-sr04/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nordmoen%2Fhc-sr04/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nordmoen","download_url":"https://codeload.github.com/nordmoen/hc-sr04/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nordmoen%2Fhc-sr04/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273699928,"owners_count":25152332,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"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":["distance-sensor","embedded-hal-driver","no-std","rust","ultrasonic-sensor"],"created_at":"2025-02-17T16:51:12.199Z","updated_at":"2025-09-05T02:19:20.146Z","avatar_url":"https://github.com/nordmoen.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `hc-sr04`\n\u003e A platform agnostic driver to interface with the HC-SR04 (ultrasonic distance)\n\n## What works\n- Estimating distance based on interrupt\n\n## Examples\nSee the [`examples`][3] folder for usage. To find the dependencies of the examples\ncopy the `dev-dependencies` from `Cargo.toml`.\n\n## TODO\n- [x] Test on embedded target (tested on [`f3`][1], see example)\n- [ ] Move to timers based purely on [`embedded-hal`][2]\n- [ ] Find out why crate only seem to work in `--release` mode\n- [ ] Test on single board computer (RPi etc.)\n- [ ] Gather feedback on API\n\n## License\nLicensed under either of\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or\n  http://www.apache.org/licenses/LICENSE-2.0)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n[1]: https://github.com/japaric/f3\n[2]: https://github.com/japaric/embedded-hal/issues/59\n[3]: examples/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnordmoen%2Fhc-sr04","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnordmoen%2Fhc-sr04","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnordmoen%2Fhc-sr04/lists"}