no-std sdp8xx

Platform agnostic Rust driver for the Sensirion SDP8xx differential pressure sensor

2 unstable releases

0.2.0 Nov 21, 2021
0.1.0 Oct 24, 2021

#1151 in Hardware support

MIT license

38KB
700 lines

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

Dependencies

~82KB