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, featured on the TE Connectivity MEAS weather shield for Arduino/Genuino.
The HTU21D is a sensor element that can be imported into the Element Toolbox through the Add Element button located in the toolbox from the Embedded tab.
The following properties can be changed for the HTU21D element:
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.
The following triggers are available to execute events from within the HTU21D element:
Execute an event when the source element connected to the HTU21D triggers.
Execute an event when the temperature is read from the HTU21D.
Execute an event when the humidity is read from the HTU21D.
The following abilities are available for the HTU21D element when its source element triggers:
Trigger the element(s) that follow the HTU21D element.
Read the temperature in degrees Celsius.
Read the humidity in % relative humidity.