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