Rust SHTCx / SHTWx Driver
This is a platform agnostic Rust driver for the Sensirion SHTCx and SHTWx
temperature / humidity sensor series, based on the
Tested with the following sensors:
The following sensors were not tested, but should work out-of-the-box:
The Sensirion SHTCx series offers low-power high-precision digital temperature and humidity sensors that communicate over the I²C bus.
The SHTWx series uses the same protocol, but in a wafer-level chip-scale package (WLCSP).
- Measure temperature and humidity
- Get device identifier
- Sleep / Wakeup commands
- Soft reset command
- Support for low power mode
- CRC checks
There are a few examples in the
examples directory: The
example queries the sensor a few times using
linux-embedded-hal, while the
monitor-<target> example implements a terminal based real-time graphical
temperature/humidity monitoring tool.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
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.