Skip to article frontmatterSkip to article content

Sensirion SCD30 CO2 Sensors with Particle Argon

This the sensor we are going to build in this exercise.

Completed SCD30 Sensor

Figure 1:Completed SCD30 Sensor

We will need the following hardwares:

  1. Connect the Antenna to the Argon as shown in the previous figure.

  2. Solder the header to your SCD30. Follow similar soldering instructions here.

  3. Connect the Argon and SCD30 onto the breadboard as shown in the previous figure. Wire up the Argon and the sensor as follows:
    a. Connect the 3x3 pin of the Argon to VIN of the SCD30 sensor.

    3v3 to VIN pin.

    Figure 2:3v3 to VIN pin.

    b. Connect the Ground (GND) pin of Argon to GND of SCD30 sensor.

    GND to GND pin.

    Figure 3:GND to GND pin.

    c. Connect the Argon SCL pin to SCL of the SCD30 sensor.

    SCL to SCL pin.

    Figure 4:SCL to SCL pin.

    d. Connect the Argon SDA pin to SDA of the SCD30 sensor.

    SDA to SDA.

    Figure 5:SDA to SDA.

  4. Refer to to register the Argon Device with our Particle account.

  5. Flash the script ‘STAPI_1_scd30’ to the Argon. Fill in the mandatory parameters accordingly. You can choose to leave the optional parameters to their default values.

    ===================================================================================================================
    !!! MANDATORY PARAMETERS
    ===================================================================================================================
    String thingDesc = "for scd30"; //DESCRIBE THE DEPLOYMENT
    int sample_rate = 10 * 1000; // how often you want device to publish where the number in front of a thousand is the seconds you want
    ===================================================================================================================
    OPTIONAL PARAMETERS (if the device is already registered, these options are ignored)
    ===================================================================================================================
    //Description of the location
    String foiName = "na"; //THE LOCATION NAME
    String foiDesc = "na";//Define the geometry of the location. Refer to https://tools.ietf.org/html/rfc7946 for geometry types.
    String locType = "Point";
    String enType = "application/vnd.geo+json";
    //Define the location of the thing. If location is not impt, use [0,0,0] the null island position.
    float coordx = 0.0; //lon/x
    float coordy = 0.0; //lat/y
    float coordz = 0.0; //elv/z
  6. Refer to to visualize the data on Grafana.