Skip to content

Rust embedded-hal based device driver for Sensirion Sgp40 VOC sensor

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

mjaakkol/sgp40-rs

Repository files navigation

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.

About

Rust embedded-hal based device driver for Sensirion Sgp40 VOC sensor

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages