2021-01-08 03:40:14 +08:00
|
|
|
.. SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
|
|
|
Kernel driver aht10
|
|
|
|
=====================
|
|
|
|
|
|
|
|
Supported chips:
|
|
|
|
|
2023-05-25 04:19:12 +08:00
|
|
|
* Aosong AHT10/AHT20
|
2021-01-08 03:40:14 +08:00
|
|
|
|
|
|
|
Prefix: 'aht10'
|
|
|
|
|
|
|
|
Addresses scanned: None
|
|
|
|
|
2023-05-25 04:19:12 +08:00
|
|
|
Datasheet(AHT10):
|
2021-01-08 03:40:14 +08:00
|
|
|
|
|
|
|
Chinese: http://www.aosong.com/userfiles/files/media/AHT10%E4%BA%A7%E5%93%81%E6%89%8B%E5%86%8C%20A3%2020201210.pdf
|
|
|
|
English: https://server4.eca.ir/eshop/AHT10/Aosong_AHT10_en_draft_0c.pdf
|
|
|
|
|
2023-05-25 04:19:12 +08:00
|
|
|
Datasheet(AHT20):
|
|
|
|
|
|
|
|
English: http://www.aosong.com/userfiles/files/media/Data%20Sheet%20AHT20.pdf
|
|
|
|
|
2021-01-08 03:40:14 +08:00
|
|
|
Author: Johannes Cornelis Draaijer <jcdra1@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
Description
|
|
|
|
-----------
|
|
|
|
|
2023-05-25 04:19:12 +08:00
|
|
|
The AHT10/AHT20 is a Temperature and Humidity sensor
|
2021-01-08 03:40:14 +08:00
|
|
|
|
|
|
|
The address of this i2c device may only be 0x38
|
|
|
|
|
2023-05-25 04:19:12 +08:00
|
|
|
Special Features
|
|
|
|
----------------
|
|
|
|
|
|
|
|
AHT20 has additional CRC8 support which is sent as the last byte of the sensor
|
|
|
|
values.
|
|
|
|
|
2021-01-08 03:40:14 +08:00
|
|
|
Usage Notes
|
|
|
|
-----------
|
|
|
|
|
2023-05-25 04:19:12 +08:00
|
|
|
This driver does not probe for AHT10/ATH20 devices, as there is no reliable
|
|
|
|
way to determine if an i2c chip is or isn't an AHT10/AHT20. The device has
|
2021-01-08 03:40:14 +08:00
|
|
|
to be instantiated explicitly with the address 0x38. See
|
|
|
|
Documentation/i2c/instantiating-devices.rst for details.
|
|
|
|
|
|
|
|
Sysfs entries
|
|
|
|
-------------
|
|
|
|
|
|
|
|
=============== ============================================
|
2023-01-30 07:10:47 +08:00
|
|
|
temp1_input Measured temperature in millidegrees Celsius
|
2021-01-08 03:40:14 +08:00
|
|
|
humidity1_input Measured humidity in %H
|
|
|
|
update_interval The minimum interval for polling the sensor,
|
|
|
|
in milliseconds. Writable. Must be at
|
|
|
|
least 2000.
|
|
|
|
=============== ============================================
|