aosong,dht

Vendor: Guangzhou Aosong Electronic Co., Ltd.

Description

Aosong DHT (Digital-output Humidity and Temperature Sensor)

The Aosong DHT family of sensors provide temperature and humidity
measurements through a bidirectional serial digital signal.  The
DHT11 uses a polymer humidity capacitor with NTC thermistor; the
DHT22 replaces the thermistor with a DS18B20 1-wire thermometer.

The DHT22 is also known as an AM2303.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

dio-gpios

phandle-array

Pin on which sensor communication will be performed.

Control and data are encoded by the duration of active low
signals.  A pull up may be appropriate.

This property is required.

dht22

boolean

Set to identify sensor as a DHT22/AM2303.  Leave unset to identify
sensor as a DHT11.

friendly-name

string

Human readable string describing the sensor. It can be used to
distinguish multiple instances of the same model (e.g., lid accelerometer
vs. base accelerometer in a laptop) to a host operating system.

This property is defined in the Generic Sensor Property Usages of the HID
Usage Tables specification
(https://usb.org/sites/default/files/hut1_3_0.pdf, section 22.5).