Humidity and Thermometer Sensirion HTS221(I2C)

From Visuino
Jump to navigation Jump to search

File:TArduinoHTS221.png

Summary

Measures ambient temperature and relative humidity using the Sensirion HTS221 digital sensor over I²C.

Description

The **Humidity and Thermometer Sensirion HTS221 (I2C)** component provides high-precision temperature and humidity readings. It communicates via the I²C bus and supports features such as averaging, one-shot measurement mode, and built-in heater control. Data availability can be monitored using the configurable **Data Ready** pin.

Diagram:

Properties

  • Enabled – Enables or disables the component.
  • In Fahrenheit – Outputs temperature in Fahrenheit instead of Celsius.
  • Address – I²C address of the HTS221 sensor.
  • Average - Humidity – Number of samples averaged for humidity measurement (default 32).
  • Average - Temperature – Number of samples averaged for temperature measurement (default 16).
  • Data Ready - Signal Enabled – Enables the data ready output pin.
  • Data Ready - Active Low – Makes the data ready pin active low.
  • Data Ready - Open Drain – Configures the data ready pin as open-drain.
  • Heater Enabled – Turns on the sensor’s internal heater.
  • One Shot – Initiates a single measurement cycle.
  • Power Down – Puts the sensor into low-power mode.
  • Sample Rate – Measurement frequency in Hz (options: 1.0, 7.0, 12.5).

Pins

Input Pins

  • Clock – Triggers reading or controls timing for one-shot measurements.
  • Sensor (I2C) – I²C communication lines for the sensor.

Output Pins

  • Temperature (analog) – Ambient temperature in Celsius or Fahrenheit.
  • Humidity (%) (analog) – Relative humidity output as a percentage.

Categories