This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

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.