sgp40

Crates.iosgp40
lib.rssgp40
version0.0.4
sourcesrc
created_at2021-02-15 17:50:20.901742
updated_at2021-03-18 01:14:34.573362
descriptionRust driver for the Sensirion SGP40 gas sensor.
homepage
repositoryhttps://github.com/mjaakkol/sgp40-rs
max_upload_size
id355660
size67,816
Mikko Jaakkola (mjaakkol)

documentation

README

sgp40-rs

Platform agnostic Rust device driver for Sensirion SGP40

Build status Crates.io Version Crates.io Downloads No Std

Platform agnostic Rust driver for Sensirion SGP40 gas sensor using the embedded-hal traits.

Sensirion SGP40

Sensirion SGP40 is 2nd generation low-power accurate gas sensor for air quality application. The sensor uses I²C interface and measures VOC (Total Volatile Organic Compounds)

Datasheet: https://www.sensirion.com/file/datasheet_sgp40

Development status

The sensor is feature complete and the future development evolves:

  • Storing and setting states haven't been tested yet.

  • VOC index follows pretty closely with C implementation values but the jury is still out there to ponder if the algoritm truly calculates things properly.

  • Serial number fetching is not working yet.

  • Moving into using Embedded-hal 1.x

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.

Commit count: 36

cargo fmt