LPS25h Pressure Sensor
Measure barometric air pressure and ambient temperature
Simulink Support Package for Raspberry Pi Hardware / Sense HAT
Measure barometric air pressure and ambient temperature using the Pressure sensor on board Raspberry Pi™ SenseHAT.
Pressure — Barometric air pressure output port
The barometric air pressure measured in hectoPascal (hPa) from the Pressure sensor.
Temp — Ambient temperature output port
The ambient temperature output measured in degree Celsius (C) from the Pressure 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 |
Model B+ |
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
12.5 Hz (default) | 1 Hz | 7 Hz
The rate at which the Pressure sensor measures barometric air pressure and the ambient temperature.
Sample time — Frequency at which data is measured data is read from Pressure sensor
0.1 (default) | scalar
Specify how often this block reads the measured data from the Pressure sensor.
Introduced in R2017a