2 releases
Uses old Rust 2015
0.9.1 | Sep 17, 2019 |
---|---|
0.9.0 | Sep 17, 2019 |
#23 in #humidity
9KB
119 lines
SHT20 Temperature and Humidity Sensor
Measure temperature and humidity with the Sensiron SHT20 sensor.
- Temperature range: -40 to 125 C(-40 to 257 F)
- Humidity range: 0 to 100 % RH
- Temperature accuracy: ± 0.5% C
- Humidity accuracy: ± 5% RH
- Interface: I2C
- Voltage range: 2.1 - 3.6 V
What it is
An SHT20 sensor in a plastic enclosure with a 1m length of cable.
The device uses the Qwiic Connect System for wiring, it's an easy-to-use, polarized, push-to-fit connector. No more mistaken connections or soldering header pins.
Using it
There is plenty of documentation on the specification, and setup of the sensor.
Running this example
From the /rust folder, type cargo run
. You may run into permission issues and need to run the executable with sudo. sudo ./target/debug/ufire_sht20_bin
. You'll be presented with a >
prompt. Type help
and you'll get a list of commands you can run.
Get the board
Visit uFire.co.
Dependencies
~4–7MB
~104K SLoC