CCS811 Air Quality Sensor
R2026bMeasure equivalent CO2 (eCO2) and the equivalent total volatile organic compound concentration (eTVOC)
Since R2022a
Libraries:
Simulink Support Package for Arduino Hardware /
Sensors
Raspberry Pi Blockset /
Sensors /
Environmental Sensors
STM32 Microcontroller Blockset /
Sensors /
Environmental Sensors
Description
Add-On Required: This feature requires the Simulink Support Package for Arduino Hardware add-on.
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).
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/CCS811 Air Quality Sensor"
"raspberrypienvironmentalsensorslib/CCS811 Air Quality Sensor"
"stm32Environmentalsensorslib/CCS811 Air Quality Sensor"
Example: add_block("arduinosensorlib/CCS811 Air Quality Sensor","myModel/myBlock",MakeNameUnique="on")
Version History
Introduced in R2022a