STMicroelectronics HTS221 Element

The HTS221 element is used to measure temperature and humidity. This element is for using the STMicroelectronics HTS221 humidity and temperature sensor.

The HTS221 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.


The following properties can be changed for the HTS221 element:


The name of the element.

I2C Driver Instance

The I2C bus used to communicate with the sensor.

I2C Address

The I2C address the element sends data to.


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


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

Temperature Read

Execute an event when temperature data is read.

Humidity Read

Execute an event when humidity data is read.


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


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

Read Temperature (°C)

Read the sensor’s temperature data (in Celsius).

Read Humidity (%rh)

Read the sensor’s humidity data in relative humidity percentage.