Skip to content

An I2C driver for the SCD30 sensor in Rust

License

Apache-2.0, MIT licenses found

Licenses found

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

Gronner/scd30-interface

Repository files navigation

Rust SCD30 Driver

Crates.io Version docs.rs Integration Pipeline codecov Crates.io MSRV

A Rust I2C driver for Sensirion's SCD30 CO2, temperature and humidity sensor module. This driver is based on the embedded-hal traits.

Features:

  • Full implementation of the SCD30's functionality:
    • Read out CO2, temperature and relative humidity measurement.
    • Configure altitude, temperature and ambient pressure compensation.
    • Configure automatic self-recalibration and forced recalibration value.
    • Read out data status, configuration and firmware version.
    • Execute soft reset.
  • All functions are also available as async interfaces with the async feature
  • Easy to integrate into projects using embedded-hal and embedded-hal-async crates.
  • Optional defmt support.

Contributing

If you want to contribute open a Pull Request with your suggested changes and ensure that the integration pipeline runs.

License

Licensed under either of

SPDX-License-Identifier: Apache-2.0 OR MIT

About

An I2C driver for the SCD30 sensor in Rust

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published