Humidity Sensor

Measure relative air humidity

Library

Simulink Support Package for Android Devices / Sensors

Description

Get the relative ambient air humidity measurement as a percentage (%) from the humidity sensor on the Android™ device.

The data type of the block output data is single.

Note

During simulations without hardware, this block outputs zeros. See Block Produces Zeros or Does Nothing in Simulation (Simulink).

Parameters

Sample time

Specify how often the block reads the sensor.

Smaller values require the processor to complete the same number of instructions in less time, which can cause task overruns.

Introduced in R2014a