Main Content

LPS25h Pressure Sensor

Measure barometric air pressure and ambient temperature

Add-On Required: This feature requires the Simulink Support Package for Raspberry Pi Hardware add-on.

  • LPS25h Pressure Sensor block

Libraries:
Simulink Support Package for Raspberry Pi Hardware / Sense HAT

Description

Measure barometric air pressure and ambient temperature using the Pressure sensor on board Raspberry Pi® SenseHAT.

Ports

Output

expand all

The barometric air pressure measured in hectoPascal (hPa) from the Pressure sensor.

Data Types: double

The ambient temperature output measured in degree Celsius (C) from the Pressure sensor.

Data Types: double

Parameters

expand all

Select your Raspberry Pi hardware board. You can find this information on the target hardware, product packaging, or product documentation.

The rate at which the Pressure sensor measures barometric air pressure and the ambient temperature.

Specify how often this block reads the measured data from the Pressure sensor.

Version History

Introduced in R2017a

See Also