| 1 |
.. SPDX-License-Identifier: GPL-2.0 |
| 2 |
|
| 3 |
Kernel driver aht10 |
| 4 |
===================== |
| 5 |
|
| 6 |
Supported chips: |
| 7 |
|
| 8 |
* Aosong AHT10/AHT20 |
| 9 |
|
| 10 |
Prefix: 'aht10' |
| 11 |
|
| 12 |
Addresses scanned: None |
| 13 |
|
| 14 |
Datasheet(AHT10): |
| 15 |
|
| 16 |
Chinese: http://www.aosong.com/userfiles/files/media/AHT10%E4%BA%A7%E5%93%81%E6%89%8B%E5%86%8C%20A3%2020201210.pdf |
| 17 |
English: https://server4.eca.ir/eshop/AHT10/Aosong_AHT10_en_draft_0c.pdf |
| 18 |
|
| 19 |
Datasheet(AHT20): |
| 20 |
|
| 21 |
English: http://www.aosong.com/userfiles/files/media/Data%20Sheet%20AHT20.pdf |
| 22 |
|
| 23 |
* Aosong DHT20 |
| 24 |
|
| 25 |
Prefix: 'dht20' |
| 26 |
|
| 27 |
Addresses scanned: None |
| 28 |
|
| 29 |
Datasheet: https://www.digikey.co.nz/en/htmldatasheets/production/9184855/0/0/1/101020932 |
| 30 |
|
| 31 |
Author: Johannes Cornelis Draaijer <[email protected]> |
| 32 |
|
| 33 |
|
| 34 |
Description |
| 35 |
----------- |
| 36 |
|
| 37 |
The AHT10/AHT20 is a Temperature and Humidity sensor |
| 38 |
|
| 39 |
The address of this i2c device may only be 0x38 |
| 40 |
|
| 41 |
Special Features |
| 42 |
---------------- |
| 43 |
|
| 44 |
AHT20, DHT20 has additional CRC8 support which is sent as the last byte of the sensor |
| 45 |
values. |
| 46 |
|
| 47 |
Usage Notes |
| 48 |
----------- |
| 49 |
|
| 50 |
This driver does not probe for AHT10/ATH20 devices, as there is no reliable |
| 51 |
way to determine if an i2c chip is or isn't an AHT10/AHT20. The device has |
| 52 |
to be instantiated explicitly with the address 0x38. See |
| 53 |
Documentation/i2c/instantiating-devices.rst for details. |
| 54 |
|
| 55 |
Sysfs entries |
| 56 |
------------- |
| 57 |
|
| 58 |
=============== ============================================ |
| 59 |
temp1_input Measured temperature in millidegrees Celsius |
| 60 |
humidity1_input Measured humidity in %H |
| 61 |
update_interval The minimum interval for polling the sensor, |
| 62 |
in milliseconds. Writable. Must be at |
| 63 |
least 2000. |
| 64 |
=============== ============================================ |