CCS811 Air Quality Sensor
R2026bMeasure equivalent CO2 (eCO2) and the equivalent total volatile organic compound concentration (eTVOC)
Since R2022b
Libraries:
Raspberry Pi Blockset /
Sensors /
Environmental Sensors
Simulink Support Package for Arduino Hardware /
Sensors
Description
The CCS811 Air Quality Sensor block measures the equivalent CO2 (eCO2) and the equivalent total volatile organic compound concentration (eTVOC) for indoor air quality monitoring. This block also provides the option to provide temperature and humidity data to enable compensation (either by specifying the humidity and temperature values or by interfacing CCS811 with an external sensor).
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/CCS811 Air Quality Sensor"
"arduinosensorlib/CCS811 Air Quality Sensor"
Example: add_block("raspberrypienvironmentalsensorslib/CCS811 Air Quality Sensor","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2022b
