Crates.io | sgp41 |
lib.rs | sgp41 |
version | 0.1.1 |
source | src |
created_at | 2021-11-05 12:16:24.126101 |
updated_at | 2021-11-05 12:38:53.064906 |
description | Rust driver for the Sensirion SGP41 series. VOC and NOx Sensor. |
homepage | |
repository | https://github.com/aectaan/sgp41 |
max_upload_size | |
id | 477289 |
size | 31,411 |
Platform agnostic Rust device driver for Sensirion SGP41.
This library provides an embedded no_std
driver for the Sensirion SGP41 sensor. This driver was built using embedded-hal traits. The implementaion is based on scd4x and sgp40-rs.
The SGP41 is Sensirion’s new VOC and NOx sensor designed as digital smart switch and regulation unit for air treatment devices such as air purifiers.
Further information: Datasheet Gas Sensors SGP41
See an example using linux-embedded-hal
in examples/linux.rs
.
cargo run --example linux
The driver is in an development and testing state.
VOC index scale and NOx index scale not implemented yet.
Licensed under either of
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.