DHT11 humidity + temperature sensor

Schema identifier ($id): "http://devicetree.org/schemas/iio/humidity/dht11.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Harald Geyer <harald@ccbib.org>"

A simple and low cost module providing a non standard single GPIO based interface. It is believed the part is made by aosong but don't have absolute confirmation of this, or what the aosong part number is.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "dht11"

reg — not listed as required here #

Maximum number of items (maxItems): 1

gpios — required here #

Maximum number of items (maxItems): 1

Single, interrupt capable, GPIO used to communicate with the device.

Required in this object (required): "compatible", "gpios"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

humidity-sensor {
    compatible = "dht11";
    gpios = <&gpio0 6 0>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page