Gravity: CCS811 Air Quality Sensor

SKU: SEN0318

Gravity: CCS811 Air Quality Sensor measures eCO2 and TVOC density. It uses AMS micro-hot plate tech (low power, fast heating, compact). Integrated ADC/MCU outputs data via IIC, supports concentration alarms (threshold triggers). Multiple modes (1s,10s,1min,250ms,sleep) optimize power, suitable for portables. Note: IIC clock stretched, incompatible with some controllers (e.g., Raspberry Pi).

Overhead shot of CCS811 air quality sensor with PCB and connector, gas sensor for home and IoT applications.-DFRobot product sku:SEN0318 image.
  • Docs
  • Tech Specs
  • 1. Example Code for Arduino-Get Baseline

    Why should we get the baseline? Because once get it, we can show the air quality quickly after the sensor warm-up by inputting the baseline. Otherwise, it will cost a long time to read correctly when startup in polluted air. During the first week of running the sensor, it is recommended to save a new baseline every 24 hours. After 1 week of operation, it can be saved every 1-28 days

    2. Example Code for Arduino-Get Data

    Input the baseline value to the function `sensor.writeBaseLine();`If you don't want to set the baseline, please disable this function in the sample program. The sensor will automatically calibrate the baseline, but it would be a pretty long process. after the function uploaded to UNO, open the serial port monitor to check the carbide dioxide concentration and TVOC concentration.

    3. Example Code for Arduino-Concentration Alarm

    Input the baseline value to the function `sensor.writeBaseLine();` Upload it to UNO, when the CO2 concentration moves from the current range (low, medium, high) to another range (more than 50 ppm), an interruption is generated and the current CO2 value will be printed. **NOTE: This example requires the INT pin of the sensor to be connected to the corresponding interrupt pin on the main board (in the sample, D2 of UNO is selected).**

    Reference

    Specification

    Parameter Value
    Operating Voltage 3.3V~5.5V
    Warm-up Time <15s
    IIC Address 0x5A (in default) / 0x5B
    Operating Temperature -40℃~85℃
    Operating Humidity 0ppb~1100ppb
    Dimension 22x31mm / 0.87x1.22 inches

    Pinout

    Board Overview1

    Board Overview2

    Board Overview3

    Num Label Description
    1 +/VCC +
    2 -/GND -
    3 C/SCL IIC clock line
    4 D/SDA IIC data line
    5 3V3 + 3.3V
    6 WAKE Switch pin: awake in low level / sleep in high level
    7 INT Interrupt pin: interrupt in low level
    8 RST Reset pin: reset in low level
    9 ADDR_SEL Select IIC address: 0x45 in low(in default) / 0x5B in high

    Was this article helpful?

    TOP