sdp8xx

Crates.iosdp8xx
lib.rssdp8xx
version0.2.0
sourcesrc
created_at2021-10-24 14:03:21.594338
updated_at2021-11-21 12:34:25.594801
descriptionPlatform agnostic Rust driver for the Sensirion SDP8xx differential pressure sensor.
homepage
repositoryhttps://github.com/barafael/sdp8xx-rs
max_upload_size
id470377
size38,684
Rafael Bachmann (barafael)

documentation

README

Rust SDP800 Driver

No Std .github/workflows/rust.yml

This is a platform agnostic Rust driver for the Sensirion SDP800 differential pressure sensor. using the embedded-hal traits.

The Device

The Sensirion SDP800 is a differential pressure sensor. It has an I²C interface.

Status

  • Get product identifier
  • Get differential pressure (triggered sample)
  • Get mass flow (triggered sample)
  • Stop sampling continuous measurement
  • Continuously sample differential pressure
  • Continuously sample mass flow
  • Value conversion
  • Type-state based initialization and mode selection (triggered and continuous mode, idle mode)
  • Polling and timeouts for states instead of delay-based implementation
  • Soft reset
  • Sample pressure/mass flow only in sampling state, use saved values for conversion factor and temperature

License

Licensed under

Commit count: 70

cargo fmt