Driver for a Sensirion SHT1x humidity and temperature sensor.
All correct at time of writing, but as always, manufacturers love to move things around on their website.
http://www.sensirion.com/en/products/humidity-temperature/
This code has been tested using a Parallax SHT11 breakout module:
This was wired to a CoreProto and plugged into a SenseCore:
http://soldercore.com/products/sensecore/
And finally installed on a SolderCore:
http://soldercore.com/products/soldercore/
Constants | |
SHT1X_HIGH_RESOLUTION | High resolution mode |
SHT1X_LOW_RESOLUTION | Low resolution mode |
Initialization | |
sht1x_initialize | Initialize SHT1x sensor |
sht1x_set_resolution | Select measurement resolution |
sht1x_set_supply_voltage | Set supply voltage for compensation |
Measurement | |
sht1x_read_linear_humidity | Read linear humidity |
sht1x_read_temperature | Read supply-compensated temperature |
sht1x_read_true_humidity | Read temperature-compensated true humidity |
Utility | |
sht1x_read_raw_humidity | Read raw humidity ADC |
sht1x_read_raw_temperature | Read raw temperature ADC |
sht1x_read_status | Read sensor STATUS register |
sht1x_soft_reset | Soft-reset sensor |
sht1x_write_status | Write sensor STATUS register |