Description
The CCS811 is a digital gas sensor that measures Total Volatile Organic Compounds (TVOC) and eCO₂ (equivalent carbon dioxide) levels in the air. It communicates using the I²C interface and includes an integrated microcontroller that processes sensor data and applies compensation algorithms.
Key Features
- Integrated MCU
- Operating Voltage: 1.8V to 3.6V
- On-board processing
- A standard I²C digital interface with an I2C Address of 0x5A or 0X5B
- Optimized low-power modes
- 2.7mm x 4.0mm x 1.1mm LGA package
- Low component count
- Proven technology platform, Compact and economical
- eCO2 Measurement range: 400 to 8192ppm
- TVOC Measurement range: 0 to 1187ppb
- Multiple drive modes for measurements every 1s, 10s, 60s, or every 250ms
- Arduino and CircuitPython compatibility
- Integrated 12-bit ADC for sensor readings and digitized conversions
- Reset / interrupt control
Wiring CCS811 with ESP32 or Arduino
CCS811 Pin | ESP32 / Arduino Pin |
---|---|
VIN | 3.3V / 5V |
GND | GND |
SDA | D21 (ESP32) / A4 (Arduino) |
SCL | D22 (ESP32) / A5 (Arduino) |
WAKE | GND (to enable I²C) |
INT | (Optional – Interrupt pin) |
RST | (Optional – Reset pin) |
Installing the library
- Go to ,Tools > Manage libraries
- Type”CCS811″ and install the one by adafruit or download it here
See how to install the library here
Connecting the CCS811 TVOC Air Quality Gas Sensor to the ESP32
Connecting the CCS811 TVOC Air Quality Gas Sensor to the Arduino
Example Code (ESP32 / Arduino)
You’ll need the Adafruit CCS811 library. Install it via the Arduino Library Manager.
Reviews
There are no reviews yet.