diff options
author | Urs Fleisch <urs.fleisch@gmail.com> | 2011-01-07 02:15:39 -0500 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-01-08 13:56:28 -0500 |
commit | 430400b86304ea729ba10f2966a8af67da60a37f (patch) | |
tree | 79abaa76d689a40923167103582bb11e69fd096c /Documentation/hwmon | |
parent | c6c2c1636e30bcd26c6b0d208324055a03c5ab9c (diff) |
hwmon: driver for Sensirion SHT21 humidity and temperature sensor
Signed-off-by: Urs Fleisch <urs.fleisch@sensirion.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r-- | Documentation/hwmon/sht21 | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Documentation/hwmon/sht21 b/Documentation/hwmon/sht21 new file mode 100644 index 000000000000..db17fda45c3e --- /dev/null +++ b/Documentation/hwmon/sht21 | |||
@@ -0,0 +1,49 @@ | |||
1 | Kernel driver sht21 | ||
2 | =================== | ||
3 | |||
4 | Supported chips: | ||
5 | * Sensirion SHT21 | ||
6 | Prefix: 'sht21' | ||
7 | Addresses scanned: none | ||
8 | Datasheet: Publicly available at the Sensirion website | ||
9 | http://www.sensirion.com/en/pdf/product_information/Datasheet-humidity-sensor-SHT21.pdf | ||
10 | |||
11 | * Sensirion SHT25 | ||
12 | Prefix: 'sht21' | ||
13 | Addresses scanned: none | ||
14 | Datasheet: Publicly available at the Sensirion website | ||
15 | http://www.sensirion.com/en/pdf/product_information/Datasheet-humidity-sensor-SHT25.pdf | ||
16 | |||
17 | Author: | ||
18 | Urs Fleisch <urs.fleisch@sensirion.com> | ||
19 | |||
20 | Description | ||
21 | ----------- | ||
22 | |||
23 | The SHT21 and SHT25 are humidity and temperature sensors in a DFN package of | ||
24 | only 3 x 3 mm footprint and 1.1 mm height. The difference between the two | ||
25 | devices is the higher level of precision of the SHT25 (1.8% relative humidity, | ||
26 | 0.2 degree Celsius) compared with the SHT21 (2.0% relative humidity, | ||
27 | 0.3 degree Celsius). | ||
28 | |||
29 | The devices communicate with the I2C protocol. All sensors are set to the same | ||
30 | I2C address 0x40, so an entry with I2C_BOARD_INFO("sht21", 0x40) can be used | ||
31 | in the board setup code. | ||
32 | |||
33 | sysfs-Interface | ||
34 | --------------- | ||
35 | |||
36 | temp1_input - temperature input | ||
37 | humidity1_input - humidity input | ||
38 | |||
39 | Notes | ||
40 | ----- | ||
41 | |||
42 | The driver uses the default resolution settings of 12 bit for humidity and 14 | ||
43 | bit for temperature, which results in typical measurement times of 22 ms for | ||
44 | humidity and 66 ms for temperature. To keep self heating below 0.1 degree | ||
45 | Celsius, the device should not be active for more than 10% of the time, | ||
46 | e.g. maximum two measurements per second at the given resolution. | ||
47 | |||
48 | Different resolutions, the on-chip heater, using the CRC checksum and reading | ||
49 | the serial number are not supported yet. | ||