xref: /openbmc/linux/Documentation/hwmon/aht10.rst (revision 9134211f)
1.. SPDX-License-Identifier: GPL-2.0
2
3Kernel driver aht10
4=====================
5
6Supported 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
23Author: Johannes Cornelis Draaijer <jcdra1@gmail.com>
24
25
26Description
27-----------
28
29The AHT10/AHT20 is a Temperature and Humidity sensor
30
31The address of this i2c device may only be 0x38
32
33Special Features
34----------------
35
36AHT20 has additional CRC8 support which is sent as the last byte of the sensor
37values.
38
39Usage Notes
40-----------
41
42This driver does not probe for AHT10/ATH20 devices, as there is no reliable
43way to determine if an i2c chip is or isn't an AHT10/AHT20. The device has
44to be instantiated explicitly with the address 0x38. See
45Documentation/i2c/instantiating-devices.rst for details.
46
47Sysfs entries
48-------------
49
50=============== ============================================
51temp1_input     Measured temperature in millidegrees Celsius
52humidity1_input Measured humidity in %H
53update_interval The minimum interval for polling the sensor,
54                in milliseconds. Writable. Must be at
55                least 2000.
56=============== ============================================
57