Skip to content

Rust embedded-hal sensor crate for HC-SR04

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

nordmoen/hc-sr04

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hc-sr04

A platform agnostic driver to interface with the HC-SR04 (ultrasonic distance)

What works

  • Estimating distance based on interrupt

Examples

See the examples folder for usage. To find the dependencies of the examples copy the dev-dependencies from Cargo.toml.

TODO

  • Test on embedded target (tested on f3, see example)
  • Move to timers based purely on embedded-hal
  • Find out why crate only seem to work in --release mode
  • Test on single board computer (RPi etc.)
  • Gather feedback on API

License

Licensed under either of

at your option.

About

Rust embedded-hal sensor crate for HC-SR04

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published