CCS811 | CJMCU-811 VOCs Gas Sensors
Table of Contents
- 1 CCS811 | CJMCU-811 VOCs Gas Sensors
- 1.1 Where to Buy?
- 1.2 About CCS811
- 1.3 Applications of CCS811 air quality sensor
- 1.4 Features of CCS811 air quality sensor
- 1.5 CCS811 Datasheet
- 1.6 CCS811 Arduino Circuit
- 1.7 CCS811 Arduino Code
- 1.8 Further Reading
CCS811 air quality sensor is an extremely-low power digital gas detector sensor that incorporates a metal oxide gas sensor to identify a broad range of Volatile Organic Compounds (VOCs) for air quality monitoring with a microcontroller that provides an ADC and an I2C interface.
CCS811 light sensor is best digital gas sensor Sensor for accurate air quality monitoring using Arduino, STM32, Raspberry Pi etc. This ccs811 sensor module gy-811 breakout board is a small size, Wide range and High resolution.
This sensor is designed for indoor air quality tracking in personal gadgets such as smartwatches and phones, for easy access CJMCU-811 module is preferred so that you can use it as a standard I2C device.
|Total Volatile Organic Compound (TVOC) sensing from||0 to 32,768 parts per billion|
|eCO2 sensing from||400 parts per million to 29,206 ppm|
|Working voltage||1.8V ~ 3.3V DC|
|Storage Temperature||-40 ~ 125C|
Applications of CCS811 air quality sensor
This device can be mainly used for indoor air quality monitoring equipments such as
- Smart home
- Wearables gadgets
- Smart Watch
- Home and Building automation
Features of CCS811 air quality sensor
- I2C bus Interface
- Ultra-low power consumption can be used in battery powered equipment
- high sensitivity
- fast heating
- Integrated MCU
- Onboard Processing
- Five Operating Modes
|Pin Number||Pin Name||Description|
|1||VCC||Power supply for the module can typically 3.3V is used|
|2||GND||Ground of the module, connected to ground of the circuit|
|3||SCL||Serial Clock Line, used to provide clock pulse for I2C communication|
|4||SDA||Serial Data Address, used to transfer the data through I2C communication|
|5||WAK||Wake (active low)|
|6||INT||Interrupt (active low)|
|7||RST||Reset (active low)|
|8||ADD||Single address select bit to allow alternate address to be selected|
Download datasheet, it provide details specification, features, dimensions, mounting guidelines etc.
To interface the CJMCU-811 module with Arduino we need only four jumper wire and we can get basic air quality readings from the sensor.
The digital output of CJMCU-811 air quality sensor mudule communicates via I2C Bus. Connect sensor board’s 3.3V pin to Arduino 3.3V pin and Gnd to Gnd pin of Arduino, then connect I2C bus pin SDA to A4 and SCL to A5 pin of Arduino board same for Arduino uno and arduino nano. for arduino mega you can use pin 20 -SDA an pin 21-SCL.
To get the basic result we use the Sparkfunccs811 arduino library and below circuit diagram,
For this sensor we use a library this is the adafruit one – you can use the library manager and add this. or download
And this is the out of the box ccs811 arduino code example.
*The change in resistance is greatest over the first 48 hours of operation. ams advises customers to run CCS811 for 48 hours in the selected mode of operation to ensure sensor performance is stable. run CCS811 for 20 minutes everytime, before accurate readings are generated.