AMS CCS811 Element

The CCS811 element is used to measure the CO2 levels and total volatile organic compounds (TVOC) in the air. This element is for using the AMS CCS811 air quality sensor.

The CCS811 is a sensor element that can be imported into the Element Toolbox through the Add ElementAdd Elementbutton located in the toolbox from the Embedded tab. NXP Rapid IoT projects have this element imported by default.

Element Icon
CCS811 Element

Properties

The following properties can be changed for the CCS811 element:

Name

The name of the element.

I2C Driver Instance

The I2C bus used to communicate with the sensor.

I2C Address

The I2C address the element sends data to.

Operating Mode

The mode of data measurement rate. The sensor has four operating modes:

  • Mode 0: Idle
  • Mode 1 (default): Constant power mode, measurement every second
  • Mode 2: Pulse heating mode, measurement every 10 seconds
  • Mode 3: Constant power mode, measurement every 250ms

Triggers

The following triggers are available to execute events from within the CCS811 element:

Triggered

Execute an event when the source element connected to the CCS811 triggers.

TVOC Read

Execute an event when TVOC data is read.

CO2 Read

Execute an event when CO2 data is read.

Abilities

The following abilities are available for the CCS811 element when its source element triggers:

Trigger

Trigger the element(s) that follow the CCS811 element.

Enable

Enable the sensor.

Disable

Disable the sensor.

Set Enabled State

Set the state of the sensor: enabled or disabled.

Read TVOC

Read the sensor’s TVOC data.

Read CO2

Read the sensor’s CO2 data.