4 releases
new 0.1.8 | Oct 2, 2024 |
---|---|
0.1.7 | Sep 29, 2024 |
#220 in Embedded development
591 downloads per month
11KB
129 lines
Plantower PMSA003I Driver for Embedded HAL
Driver for the I2C connected Plantower PMSA003I particulate sensor.
Uses embedded-hal in order to
be platform agnostic. It also works in no_std
environments.
Returns all data as per the data sheet
Features
- Blocking operation
- Async operation if the
async
feature is specified - Calculation of AQI using the aqi crate if the
aqi
feature is specified
Example
See Pmsa003i for an example of how to use the library.
Got inspiration and direction from the following... thank you!
lib.rs
:
Plantower PMSA003I Driver for Embedded HAL
Driver for the PMSA003I particulate sensor using embedded-hal.
Works on no_std
and supports both async and blocking operation.
See [Pmsa003i] for an example of how to use the library.
Feature flags
Dependencies
~225–400KB