Urs Fleisch | 430400b | 2011-01-07 07:15:39 +0000 | [diff] [blame] | 1 | Kernel driver sht21 |
| 2 | =================== |
| 3 | |
| 4 | Supported chips: |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 5 | |
Urs Fleisch | 430400b | 2011-01-07 07:15:39 +0000 | [diff] [blame] | 6 | * Sensirion SHT21 |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 7 | |
Urs Fleisch | 430400b | 2011-01-07 07:15:39 +0000 | [diff] [blame] | 8 | Prefix: 'sht21' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 9 | |
Urs Fleisch | 430400b | 2011-01-07 07:15:39 +0000 | [diff] [blame] | 10 | Addresses scanned: none |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 11 | |
Urs Fleisch | 430400b | 2011-01-07 07:15:39 +0000 | [diff] [blame] | 12 | Datasheet: Publicly available at the Sensirion website |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 13 | |
Alexander A. Klimov | ad736c1 | 2020-07-19 19:55:12 +0200 | [diff] [blame] | 14 | https://www.sensirion.com/file/datasheet_sht21 |
Urs Fleisch | 430400b | 2011-01-07 07:15:39 +0000 | [diff] [blame] | 15 | |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 16 | |
| 17 | |
Urs Fleisch | 430400b | 2011-01-07 07:15:39 +0000 | [diff] [blame] | 18 | * Sensirion SHT25 |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 19 | |
Danilo Bargen | 8e1d6fe | 2018-02-02 11:40:52 +0100 | [diff] [blame] | 20 | Prefix: 'sht25' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 21 | |
Urs Fleisch | 430400b | 2011-01-07 07:15:39 +0000 | [diff] [blame] | 22 | Addresses scanned: none |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 23 | |
Urs Fleisch | 430400b | 2011-01-07 07:15:39 +0000 | [diff] [blame] | 24 | Datasheet: Publicly available at the Sensirion website |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 25 | |
Alexander A. Klimov | ad736c1 | 2020-07-19 19:55:12 +0200 | [diff] [blame] | 26 | https://www.sensirion.com/file/datasheet_sht25 |
Urs Fleisch | 430400b | 2011-01-07 07:15:39 +0000 | [diff] [blame] | 27 | |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 28 | |
| 29 | |
Urs Fleisch | 430400b | 2011-01-07 07:15:39 +0000 | [diff] [blame] | 30 | Author: |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 31 | |
Urs Fleisch | 430400b | 2011-01-07 07:15:39 +0000 | [diff] [blame] | 32 | Urs Fleisch <urs.fleisch@sensirion.com> |
| 33 | |
| 34 | Description |
| 35 | ----------- |
| 36 | |
| 37 | The SHT21 and SHT25 are humidity and temperature sensors in a DFN package of |
| 38 | only 3 x 3 mm footprint and 1.1 mm height. The difference between the two |
| 39 | devices is the higher level of precision of the SHT25 (1.8% relative humidity, |
| 40 | 0.2 degree Celsius) compared with the SHT21 (2.0% relative humidity, |
| 41 | 0.3 degree Celsius). |
| 42 | |
| 43 | The devices communicate with the I2C protocol. All sensors are set to the same |
| 44 | I2C address 0x40, so an entry with I2C_BOARD_INFO("sht21", 0x40) can be used |
| 45 | in the board setup code. |
| 46 | |
| 47 | sysfs-Interface |
| 48 | --------------- |
| 49 | |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 50 | temp1_input |
| 51 | - temperature input |
| 52 | |
| 53 | humidity1_input |
| 54 | - humidity input |
| 55 | eic |
| 56 | - Electronic Identification Code |
Urs Fleisch | 430400b | 2011-01-07 07:15:39 +0000 | [diff] [blame] | 57 | |
| 58 | Notes |
| 59 | ----- |
| 60 | |
| 61 | The driver uses the default resolution settings of 12 bit for humidity and 14 |
| 62 | bit for temperature, which results in typical measurement times of 22 ms for |
| 63 | humidity and 66 ms for temperature. To keep self heating below 0.1 degree |
| 64 | Celsius, the device should not be active for more than 10% of the time, |
| 65 | e.g. maximum two measurements per second at the given resolution. |
| 66 | |
Peter A. Bigot | 53e678d | 2016-12-24 07:22:44 -0600 | [diff] [blame] | 67 | Different resolutions, the on-chip heater, and using the CRC checksum |
| 68 | are not supported yet. |