DF Robot Air Quality Sensor - CCS811
CCS811 Air Quality Sensor can measure the eCO2 (equivalent CO2) and TVOC (Total Volatile Organic Compounds) density. It can be widely used in many applications, such as air quality detection, air purifiers, ventilation system and so on. This CCS811 air quality sensor uses AMS's unique micro-hot plate technology. Compared to conventional gas sensors, this sensor has lower power consumption and a small form factor (only 16 x 15mm). Internally integrated ADCs and MCUs allow data to be collected, calculated, and returned via IIC. The CCS811 supports a concentration alarm, which is triggered when the concentration exceeds the user-set threshold.
The CCS811 air quality sensor supports multiple modes, such as detect in every second, in every 10s, in every one minute, in every 250ms and sleep mode. These modes are optimized for low power consumption during the sensor measurement, so the CCS811 is also suitable for portable applications.
Quick Spec
- Operating Voltage: 3.3V~5.5V
- Warm-up Time: <15s
- I2C Address: 0x5A (in default) / 0x5B
- Operating Temperature: -40 ~ 85°C
- Operating Humidity: 10%RH ~ 95%RH
- eCO2 Measuring Range: 400 ~ 8000ppm
- TVOC Measuring Range: 0ppb ~ 1100ppb
- Dimension: 16 x 20mm
- Net Weight: 8g
The effects of carbon dioxide and TVOC on the human body
Carbon Dioxide (PPM) | Effect on Human Body | TVOC Concentration (PPB) | Effect on Human Body |
---|---|---|---|
<500 | Normal | <50 | Normal |
500-1000 | A little uncomfortable | 50-750 | Anxious, Uncomfortable |
1000-2500 | Tired | 750-6000 | Depressive, Headache |
2500-5000 | Unhealthy | >6000 | Headache and other nerve problems |
Pinout

Pin Number | Label | Description |
---|---|---|
1 | VCC | + |
2 | GND | - |
3 | SCL | IIC clock line |
4 | SDA | IIC data line |
5 | INT | Interrupt Pin: interrupt in low level |
6 | WAKE | Switch Pin: awake in low level / sleep in high level |
7 | RST | Reset Pin: reset in low level |
Wiring Diagram

Sample Code
/*!
* @file getBaseLine.ino
* @brief Put the module in clear air and work a few minutes, wait for baseline doing not change
* @n Experiment phenomenon: get
* @copyright Copyright (c) 2010 DFRobot Co.Ltd (https://www.dfrobot.com)
* @licence The MIT License (MIT)
* @author [LuoYufeng](yufeng.luo@dfrobot.com)
* @version V0.1
* @date 2019-07-19
* @https://github.com/DFRobot/DFRobot_CCS811
*/
#include "DFRobot_CCS811.h"
/*
* IIC address default 0x5A, the address becomes 0x5B if the ADDR_SEL is soldered.
*/
//DFRobot_CCS811 sensor(&Wire, /*IIC_ADDRESS=*/0x5A);
DFRobot_CCS811 sensor;
void setup(void)
{
Serial.begin(115200);
/*Wait for the chip to be initialized completely, and then exit*/
while(sensor.begin() != 0){
Serial.println("failed to init chip, please check if the chip connection is fine");
delay(1000);
}
/**
* @brief Set measurement cycle
* @param cycle:in typedef enum{
* eClosed, //Idle (Measurements are disabled in this mode)
* eCycle_1s, //Constant power mode, IAQ measurement every second
* eCycle_10s, //Pulse heating mode IAQ measurement every 10 seconds
* eCycle_60s, //Low power pulse heating mode IAQ measurement every 60 seconds
* eCycle_250ms //Constant power mode, sensor measurement every 250ms
* }eCycle_t;
*/
sensor.setMeasCycle(sensor.eCycle_250ms);
}
void loop() {
if(sensor.checkDataReady() == true){
/*!
* @brief Set baseline
* @return baseline in clear air
*/
Serial.println(sensor.readBaseLine(), HEX);
} else {
Serial.println("Data is not ready!");
}
//delay cannot be less than measurement cycle
delay(1000);
}
Resources
Shipping List
- 1 x DF Robot Air Quality Sensor - CCS811
- 1 x 2.54-7P Black Single Row Pin
DF Robot Air Quality Sensor - CCS811
- Brand: DF Robot
- Product Code: SEN0339
- Weight: 0.008kg
- Product Status : Active
Stock
Warehouse | Stock Status | Location |
---|---|---|
Centurion | No Stock | |
Stellenbosch | No Stock |
We ship free of charge between branches to complete your order.
-
R258.00 (Inc Tax: R296.70)
Related Products
SparkFun Environment Combo Breakout (Qwiic)
SparkFun Environment Combo Breakout - CCS811/BME280 (Qwiic) The SparkFun CCS811/BME280 Environmental Combo Breakout takes care of all your atmospheric-quality sensing needs with the popular CCS811 an..
R756.00 (Inc Tax: R869.40)
Air Quality Sensor - UART Serial Output
Air Quality Sensor - UART Serial Output PMS5003 is a kind of digital and universal particle concentration sensor, which can be used to obtain the number of suspended particles in the air, i.e. the ..
R459.00 (Inc Tax: R527.85)
DF Gravity Air Quality Sensor CCS811
DF Gravity Air Quality Sensor CCS811 Gravity: CCS811 Air Quality Sensor can measure the eCO2 (equivalent CO2) and TVOC (Total Volatile Organic Compounds) density. It can be widely used in many appl..
R238.00 (Inc Tax: R273.70)
Wave SGP40 VOC Ethanol Gas Sensor - I2C
Wave SGP40 VOC Ethanol Gas Sensor - I2C The SGP40 VOC Sensor is a digital VOC (Volatile Organic Compounds) sensor module which incorporates SGP40, designed for air quality monitoring. It can be use..
R238.00 (Inc Tax: R273.70)
SparkFun Air Quality Sensor - Qwiic
SparkFun Air Quality Sensor - Qwiic The SparkFun SGP40 Air Quality Sensor provides a measurement of the quality of the air in your room or house. The SGP40 is based on Sensirion's CMOSens® technolo..
R328.00 (Inc Tax: R377.20)
SparkFun CO2 Temp and Humidity Sensor (400-5000ppm) Qwiic Ready
SparkFun CO2 Temp and Humidity Sensor (400-5000ppm) Qwiic Ready The SCD41 from Sensirion is a high quality Photoacoustic based CO₂ sensor capable of detecting 0 to 40000ppm with high accuracy over ..
R1,598.00 (Inc Tax: R1,837.70)
Adafruit SGP30 Air Quality Sensor - Qwiic
Adafruit SGP30 Air Quality Sensor - Qwiic This is a very fine air quality sensor from the sensor experts at Sensirion, with I2C interfacing and fully calibrated output signals with a typical accura..
R336.00 (Inc Tax: R386.40)
Tags: gravity, air, quality, sensor, ccs811, ccs, 811, co2, tvoc, i2c, carbon, gas, ventilator, diy