Software Setup

Attention

If this is your first time using Arduino, please read through our tutorial on installing the Arduino IDE. If you have not installed an Arduino library before, we recommend you check out our installation guide.

Infineon has written an Arduino Library for the PAS CO2 sensor to make it easy to get CO2 data from the sensor along with other settings and features. Users can download the library through the Arduino Library Manager by searching for "XENSIVE PAS CO2x" as the screenshot below shows:

Those who prefer to manually install it can download a ZIP of the library from the GitHub repository or by clicking the button below:

XENSIV PAS CO2 Arduino Library (ZIP)

With the library installed let's move on to looking at a few of the examples included in it.