주요 콘텐츠

LPS25h Pressure Sensor

Measure barometric air pressure and ambient temperature

  • LPS25h Pressure Sensor block

Libraries:
Raspberry Pi Blockset / Sense HAT

Description

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

Note

To generate code C/C++ code for this block, you must have an Embedded Coder® license.

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.

Extended Capabilities

expand all

Version History

Introduced in R2017a