Crates.io | scd4x |
lib.rs | scd4x |
version | |
source | src |
created_at | 2021-03-21 21:01:54.510912+00 |
updated_at | 2025-03-08 22:53:11.433378+00 |
description | Rust driver for the Sensirion SCD4x series. Carbon Dioxide / Temperature / Humidity sensors. |
homepage | |
repository | https://github.com/hauju/scd4x-rs.git |
max_upload_size | |
id | 371844 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
This library provides an embedded no_std
driver for the Sensirion SCD4x series. This driver was built using embedded-hal traits. The implementaion are based on embedded-i2c-scd4x and sgpc3-rs.
The SCD4x is a miniature carbon dioxide sensor. It also measure temperature and relative humidity.
Further information: Datasheet CO2 Sensor SCD4x
Run scd4x-util to read the serial number and the measurement output.
cargo run --features="util"
See an example using linux-embedded-hal
in examples/linux.rs
.
cargo run --example linux
The driver is in an early development state. It allows you to:
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.