Skip to content

CCS811 CO2 TVOC

Carlos Paradis edited this page Sep 8, 2018 · 4 revisions

Warning: This VOC sensor can't be used on the Raspberry Pi. See issue #39.

Hardware Setup

I was able to complete the setup by following the documentation provided by Adafruit. If you ever buy parts from adafruit or sparkfun, they normally provide great documentation.

Software Setup

We would need to manually set the baudrate for the sensor so

sudo vim /boot/config.txt

Add the following line to the file

dtparam=i2c_baudrate=10000

I took the CCS811_example.py provided by Adafruit and modified it will save the recorded values to a .csv file.