1# Copyright (c) 2019 Nordic Semiconductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4description: | 5 Aosong DHT (Digital-output Humidity and Temperature Sensor) 6 7 The Aosong DHT family of sensors provide temperature and humidity 8 measurements through a bidirectional serial digital signal. The 9 DHT11 uses a polymer humidity capacitor with NTC thermistor; the 10 DHT22 replaces the thermistor with a DS18B20 1-wire thermometer. 11 12 The DHT22 is also known as an AM2303. 13 14compatible: "aosong,dht" 15 16include: sensor-device.yaml 17 18properties: 19 dio-gpios: 20 type: phandle-array 21 required: true 22 description: | 23 Pin on which sensor communication will be performed. 24 25 Control and data are encoded by the duration of active low 26 signals. A pull up may be appropriate. 27 28 dht22: 29 type: boolean 30 description: | 31 Set to identify sensor as a DHT22/AM2303. Leave unset to identify 32 sensor as a DHT11. 33