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.

We've written an Arduino library for the SCD4X sensors to make it easy to get CO2 data from these sensors along with other settings and features for these breakouts. Users can download the library through the Arduino Library Manager by searching for "SparkFun SCD4x" like the screenshot below shows:

Highlighting the power LED

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

SparkFun SCD4x Arduino Library (ZIP)

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