2014-06-06 05:24:19 +07:00
|
|
|
Kernel driver shtc1
|
|
|
|
===================
|
|
|
|
|
|
|
|
Supported chips:
|
2019-04-17 16:46:28 +07:00
|
|
|
|
2014-06-06 05:24:19 +07:00
|
|
|
* Sensirion SHTC1
|
2019-04-17 16:46:28 +07:00
|
|
|
|
2014-06-06 05:24:19 +07:00
|
|
|
Prefix: 'shtc1'
|
2019-04-17 16:46:28 +07:00
|
|
|
|
2014-06-06 05:24:19 +07:00
|
|
|
Addresses scanned: none
|
2019-04-17 16:46:28 +07:00
|
|
|
|
2020-07-20 00:55:12 +07:00
|
|
|
Datasheet: https://www.sensirion.com/file/datasheet_shtc1
|
2014-06-06 05:24:19 +07:00
|
|
|
|
2019-04-17 16:46:28 +07:00
|
|
|
|
|
|
|
|
2014-06-06 05:24:19 +07:00
|
|
|
* Sensirion SHTW1
|
2019-04-17 16:46:28 +07:00
|
|
|
|
2014-06-06 05:24:19 +07:00
|
|
|
Prefix: 'shtw1'
|
2019-04-17 16:46:28 +07:00
|
|
|
|
2014-06-06 05:24:19 +07:00
|
|
|
Addresses scanned: none
|
2019-04-17 16:46:28 +07:00
|
|
|
|
2020-07-20 00:55:12 +07:00
|
|
|
Datasheet: https://www.sensirion.com/file/datasheet_shtw1
|
2019-09-05 08:45:53 +07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sensirion SHTC3
|
|
|
|
|
|
|
|
Prefix: 'shtc3'
|
|
|
|
|
|
|
|
Addresses scanned: none
|
|
|
|
|
2020-07-20 00:55:12 +07:00
|
|
|
Datasheet: https://www.sensirion.com/file/datasheet_shtc3
|
2014-06-06 05:24:19 +07:00
|
|
|
|
2019-04-17 16:46:28 +07:00
|
|
|
|
|
|
|
|
2014-06-06 05:24:19 +07:00
|
|
|
Author:
|
2019-04-17 16:46:28 +07:00
|
|
|
|
2014-06-06 05:24:19 +07:00
|
|
|
Johannes Winkelmann <johannes.winkelmann@sensirion.com>
|
|
|
|
|
|
|
|
Description
|
|
|
|
-----------
|
|
|
|
|
2019-09-05 08:45:53 +07:00
|
|
|
This driver implements support for the Sensirion SHTC1, SHTW1, and SHTC3
|
|
|
|
chips, a humidity and temperature sensor. Temperature is measured in degrees
|
|
|
|
celsius, relative humidity is expressed as a percentage.
|
2014-06-06 05:24:19 +07:00
|
|
|
|
|
|
|
The device communicates with the I2C protocol. All sensors are set to I2C
|
2019-07-26 19:51:16 +07:00
|
|
|
address 0x70. See Documentation/i2c/instantiating-devices.rst for methods to
|
2014-06-06 05:24:19 +07:00
|
|
|
instantiate the device.
|
|
|
|
|
|
|
|
There are two options configurable by means of shtc1_platform_data:
|
2019-04-17 16:46:28 +07:00
|
|
|
|
2014-06-06 05:24:19 +07:00
|
|
|
1. blocking (pull the I2C clock line down while performing the measurement) or
|
|
|
|
non-blocking mode. Blocking mode will guarantee the fastest result but
|
|
|
|
the I2C bus will be busy during that time. By default, non-blocking mode
|
|
|
|
is used. Make sure clock-stretching works properly on your device if you
|
|
|
|
want to use blocking mode.
|
|
|
|
2. high or low accuracy. High accuracy is used by default and using it is
|
|
|
|
strongly recommended.
|
|
|
|
|
|
|
|
sysfs-Interface
|
|
|
|
---------------
|
|
|
|
|
2019-04-17 16:46:28 +07:00
|
|
|
temp1_input
|
|
|
|
- temperature input
|
|
|
|
humidity1_input
|
|
|
|
- humidity input
|