BMP280 Pressure Sensor
R2026bMeasure barometric air pressure and ambient temperature from BMP280 sensor
Since R2022b
Libraries:
Raspberry Pi Blockset /
Sensors /
Environmental Sensors
Simulink Support Package for Arduino Hardware /
Sensors
Description
The BMP280 Pressure Sensor block measures barometric air pressure and ambient temperature using the BMP280 Pressure sensor interfaced with the Raspberry Pi® board.
Note
To generate C/C++ code for this block, you must have an Embedded Coder® license.
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.
"raspberrypienvironmentalsensorslib/BMP280 Pressure Sensor"
"arduinosensorlib/BMP280 Pressure Sensor"
Example: add_block("raspberrypienvironmentalsensorslib/BMP280 Pressure Sensor","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2022b
