#sensirion #driver #embedded-hal-driver

no-std sgp41

Rust driver for the Sensirion SGP41 series. VOC and NOx Sensor.

2 releases

0.1.1 Nov 5, 2021
0.1.0 Nov 5, 2021

#1109 in Embedded development

MIT/Apache

13KB
220 lines

Sensirion SGP41 Driver

Platform agnostic Rust device driver for Sensirion SGP41.

Rust

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.

Sensirion SGP41

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

Usage

See an example using linux-embedded-hal in examples/linux.rs.

cargo run --example linux

Development Status

The driver is in an development and testing state.
VOC index scale and NOx index scale not implemented yet.

License

Licensed under either of

Contributing

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.

Dependencies

~83KB