BMP280 Pressure Sensor
R2026bMeasure barometric air pressure and ambient temperature from BMP280 sensor
Since R2022b
Libraries:
Simulink Support Package for Arduino Hardware /
Sensors
Raspberry Pi Blockset /
Sensors /
Environmental Sensors
Description
Add-On Required: This feature requires the Simulink Support Package for Arduino Hardware add-on.
The BMP280 Pressure Sensor block measures barometric air pressure and ambient temperature using the BMP280 Pressure sensor interfaced with the Arduino® hardware.
Ports
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"arduinosensorlib/BMP280 Pressure Sensor"
"raspberrypienvironmentalsensorslib/BMP280 Pressure Sensor"
Example: add_block("arduinosensorlib/BMP280 Pressure Sensor","myModel/myBlock",MakeNameUnique="on")
Version History
Introduced in R2022b