Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.
/ shtcx-rs Public archive
forked from dbrgn/shtcx-rs

Platform agnostic Rust driver for the Sensirion SHTCx temperature/humidity sensors.

License

Notifications You must be signed in to change notification settings

Radiator-Labs/shtcx-rs

 
 

Repository files navigation

Rust SHTCx / SHTWx Driver

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

This is a platform agnostic Rust driver for the Sensirion SHTCx and SHTWx temperature / humidity sensor series, based on the embedded-hal traits.

Tested with the following sensors:

Docs: https://docs.rs/shtcx

The Device

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).

Status

  • Measure temperature and humidity
  • Get device identifier
  • Sleep / Wakeup commands
  • Soft reset command
  • Support for low power mode
  • CRC checks
  • Docs

Examples

There are a few examples in the examples directory: The linux-<target> 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.

gif

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

Platform agnostic Rust driver for the Sensirion SHTCx temperature/humidity sensors.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Rust 99.2%
  • Shell 0.8%