-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CCS811 Baseline Issues #69
Comments
Hi, I saw rising signals during nighttime before and it took me a lot of effort to identify the source of the VOCs. Finally I identified a breeze of air coming from a workshop/production floor through an elevator shaft. During daytime the ventilation system ventilated off the VOCs but at nighttime things were different. |
Hi Martin, thank you for your ideas. We will definitely add the sensor resistance to our debug. This sensor has been running for about 2 weeks now, uninterrupted. Below is a picture of the VOC plot from Friday. There is generally some human movement near the sensor throughout the week day, which is shown a bit during the day, Meanwhile, here's the VOC plot from Saturday (when no one is in this environment). Over the weekend, the VOC values hang at zero, and we don't see this crazy curve at night time.- |
I expect that the software just reads the values measured by the css811 chip. So I expect that the differences are caused by the chips. That you try swapping them to see what the differences come from? |
TVOC and eCO2 output is processed data and without looking at the sensor resistance it is hard to make a guess. Please log the two sensor aside each other and record eCO2/TVOC and sensor resistance. Data graphs of resistance should have a logarithmic y-axis. |
I have same issues as iCassius. How can I get the resistance in a graph? Might be obvious to you but I didn't see code how to read that yet. |
The last output parameter of the read() method returns the raw data. One part of that is the electrical current. The other part is an adc value which maps to a voltage. From current and voltage you can compute resistance. Hope this helps enough. |
Thank you. I have the sensor hooked up via a D1 mini to ESPHome to get and use the data in Home Assistant. In ESPhome I don't sees this raw data, I see however that the baseline shifts with the CO2 value although I've set a baseline value in the configuration. If I don't find another solution I will try to connect it to my pc and try the Arduino code. |
Hello,
I've been having baseline issues with my CCS811 sensor for a while. Below is a plot where the blue line is VOC, and red is the baseline value, scaled down (/100) to fit on the plot. During the day, there is a lot of activity, which is expected, but after 5 or 6 PM, no people or chemicals should really be in the area. The VOC value drifts pretty crazily during the night hours, and this has been witnessed for weeks (it is running continuosly). Currently writing the temp and humidity to the ENV registers, but not writing to the baseline at all, because that behaved oddly for me in the past. My questions are:
Thanks for any help
The text was updated successfully, but these errors were encountered: