edit

Grove - VOC and eCO2 Gas Sensor(SGP30)

The Grove-VOC and eCO2 Gas Sensor(SGP30) is an air quality detection sensor. This grove module is based on SGP30, we provide TVOC(Total Volatile Organic Compounds) and CO2eq output for this module.

The SGP30 is a digital multi-pixel gas sensor designed for easy integration into air purifier, demand-controlled ventilation, and IoT applications. Sensirion’s CMOSens®technology offers a complete sensor system on a single chip featuring a digital I2C interface, a temperature controlled micro hotplate, and two preprocessed indoor air quality signals. As the first metal-oxide gas sensor featuring multiple sensing elements on one chip, the SGP30 provides more detailed information about the air quality.

Features

  • Multi-pixel gas sensor for indoor air quality applications
  • Outstanding long-term stability
  • I2C interface with TVOC and CO2eq output signals
  • Low power consumption
  • Chip module tape and reel packaged, reflow solderable

Specification

Parameter Signal Values
Working Voltage 3.3V/5V
Output range TVOC 0 ppb to 60000ppb
CO₂eq 400 ppm to 60000 ppm


Sampling rate
TVOC 1HZ
CO₂eq 1HZ







Resolution


TVOC
0 - 2008 ppb / 1 ppb
2008 - 11110 ppb / 6 ppb
11110 - 60000 ppb / 32 ppb



CO₂eq
400 - 1479 ppm / 1 ppm
1479 -5144 ppm / 3 ppm
5144 - 17597 ppm / 9 ppm
17597 - 60000 ppm / 31 ppm
Default I2C address 0X58

Applications

  • Air purifier
  • demand-controlled ventilation
  • IoT applications
  • New house air condition monitor

Platforms Supported

Arduino Raspberry Pi BeagleBone Wio LinkIt ONE

Caution

The platforms mentioned above as supported is/are an indication of the module's hardware or theoritical compatibility. We only provide software library or code examples for Arduino platform in most cases. It is not possible to provide software library / demo code for all possible MCU platforms. Hence, users have to write their own software library.

Getting Started

Note

If this is the first time you work with Arduino, we strongly recommend you to see Getting Started with Arduino before the start.

Play With Arduino

Hardware

Materials required

Seeeduino V4.2 Base Shield Grove-VOC and eCO2 Gas Sensor(SGP30)
enter image description here enter image description here enter image description here
Get One Now Get One Now Get One Now

Note

1 Please plug the USB cable gently, otherwise you may damage the port. Please use the USB cable with 4 wires inside, the 2 wires cable can't transfer data. If you are not sure about the wire you have, you can click here to buy

2 Each Grove module comes with a Grove cable when you buy. In case you lose the Grove cable, you can click here to buy.

  • Step 1. Connect Grove-VOC and eCO2 Gas Sensor(SGP30) to port I2C of Grove-Base Shield.

  • Step 2. Plug Grove - Base Shield into Seeeduino.

  • Step 3. Connect Seeeduino to PC via a USB cable.

Note

If we don't have Grove Base Shield, We also can directly connect Grove-VOC and eCO2 Gas Sensor(SGP30) to Seeeduino as below.

Seeeduino Grove-VOC and eCO2 Gas Sensor(SGP30)
5V Red
GND Black
SDA White
SCL Yellow

Software

  • Step 1. Download the Seeed SGP30 library from Github.

  • Step 2. Refer to How to install library to install library for Arduino.

  • Step 3. Extract the SGP30_Gas_Sensor-master.zip you've just downloaded, in the examples folder you will see 3 subfolders:

The absolute_humidity_example requires external humidity sensor calibration

The base_example is simplely collecting date without any calibration

The baseline_operation_example can save the data base value to flash. The software will automatically collects the base values and stores them.

We recommand to use the baseline_operation_example , then click the xxx.ino file to open the example.

  • Step 4. Upload the demo. If you do not know how to upload the code, please check How to upload code.

  • Step 5. Open the Serial Monitor of Arduino IDE by click Tool-> Serial Monitor. Or tap the Ctrl+Shift+M key at the same time. if every thing goes well, you will get the result.

The result should be like:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
318
tVOC  Concentration:74ppb
CO2eq Concentration:506ppm
319
tVOC  Concentration:80ppb
CO2eq Concentration:509ppm
320
tVOC  Concentration:66ppb
CO2eq Concentration:500ppm
321
tVOC  Concentration:69ppb
CO2eq Concentration:511ppm
322
tVOC  Concentration:70ppb
CO2eq Concentration:511ppm
323
tVOC  Concentration:60ppb
CO2eq Concentration:493ppm
324
tVOC  Concentration:72ppb
CO2eq Concentration:502ppm

Tips

1- ppm: parts per million. 1 ppm = 1000 ppb (parts per billion)

2- The result is based on baseline_operation_example.ino

3- We tested this demo in our office room, according to your test environment, the results may be different

Resources

Tech Support

Please do not hesitate to contact techsupport@seeed.cc if you have any technical issue. Or submit the issue into our forum.