Measure relative humidity and ambient temperature from Humidity sensor
Simulink Support Package for Raspberry Pi Hardware / Sense HAT
Measure the relative humidity and the ambient temperature using the Humidity sensor (HTS221) on board Raspberry Pi SenseHAT.
Humidity— Relative humidity output port
The relative humidity measured in percentage from the Humidity sensor.
Temperature— Ambient temperature output port
The ambient temperature measured in degree Celsius from the Humidity sensor.
Board— Model of the Raspberry Pi™ board to which the SenseHAT is connected
Pi 2 Model B(default) |
Model B Rev1|
Model B Rev2|
Pi 2 Model B|
Pi 3 Model B
Select the Raspberry Pi hardware to which the SenseHAT is connected.
Sensor output data rate (ODR)— Rate at which the sensor measures data
The rate at which the Humidity sensor measures relative humidity and ambient temperature.
Sample time— Frequency at which data is measured data is read from Humidity sensor
Specify how often this block reads the measured data from the Humidity sensor.