1.. zephyr:code-sample:: ams_iaqcore 2 :name: ams iAQcore indoor air quality sensor 3 :relevant-api: sensor_interface 4 5 Get CO2 equivalent and VOC data from an ams iAQcore sensor. 6 7Overview 8******** 9 10This sample application demonstrates how to use the ams iAQcore sensor to 11measure CO2 equivalent and VOC. The CO2 value is a predicted value derived from 12VOC. The values are fetched and printed every second. 13 14Building and Running 15******************** 16 17This sample application uses the sensor connected to the i2c stated in the 18app.overlay file. 19Flash the binary to a board of choice with a sensor connected. 20This sample can run on every board with i2c. 21For example build for a nucleo_f446re board: 22 23.. zephyr-app-commands:: 24 :zephyr-app: samples/sensor/ams_iAQcore 25 :board: nucleo_f446re 26 :goals: build flash 27 :compact: 28 29Sample Output 30============= 31 32.. code-block:: console 33 34 device is 0x20001a08, name is IAQ_CORE 35 Co2: 882.000000ppm; VOC: 244.000000ppb 36 Co2: 863.000000ppm; VOC: 239.000000ppb 37 Co2: 836.000000ppm; VOC: 232.000000ppb 38