TE Connectivity HTU21D Element

The HTU21D element is used to read ambient temperature and humidity. This element is for using the TE Connectivity HTU21D temperature and humidity sensor.

The HTU21D is a sensor element that can be imported into the Element Toolbox through the Add Element Add Element button located in the toolbox from the Embedded tab.

Element Icon
HTU21D Element

Properties

The following properties can be changed for the HTU21D element:

Name

The name of the element.

I2C Driver Instance

I2C driver instance to use for communication.

GPIO Driver Instance

GPIO driver instance to use.

TE Weather Shield

This sensor is included on the TE Weather Shield, which requires three extra GPIO lines to be used as a “chip select.” If this field is disabled, the following three properties will be ignored.

Weather Shield CSA

Weather Shield chip select A GPIO pin. This property is ignored if the TE Weather Shield property is disabled.

Weather Shield CSB

Weather Shield chip select B GPIO pin. This property is ignored if the TE Weather Shield property is disabled.

Weather Shield En

Weather Shield chip select enable pin. This property is ignored if the TE Weather Shield property is disabled.

Triggers

The following triggers are available to execute events from within the HTU21D element:

Triggered

Execute an event when the source element connected to the HTU21D triggers.

Temperature Read

Execute an event when the temperature is read from the HTU21D.

Humidity Read

Execute an event when the humidity is read from the HTU21D.

Abilities

The following abilities are available for the HTU21D element when its source element triggers:

Trigger

Trigger the element(s) that follow the HTU21D element.

Read Temperature

Read the temperature in degrees Celsius.

Read Humidity

Read the humidity in % relative humidity.