2 unstable releases
0.2.0 | Nov 21, 2021 |
---|---|
0.1.0 | Oct 24, 2021 |
#1156 in Embedded development
38KB
700 lines
Rust SDP800 Driver
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
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
Dependencies
~80KB