adafruit / Adafruit_CCS811

Arduino driver for CCS811 digital gas sensor
MIT License
65 stars 36 forks source link

Wrong units in examples (ppm for TVOC) #12

Closed mereshow closed 5 years ago

mereshow commented 5 years ago

Hi!

In your web you indicate that TVOC is meassured in parts per billion (ppb) but in the examples you use parts per million (ppm). The CCS811 sensor datasheet, page 9 also indicates that the sensor meassures TVOC in ppb. I don't see any TVOC conversion (ppb --> ppm) in your library, so I suppose that the examples display the incorrect units.

Thanks a lot for your work :-)

ladyada commented 5 years ago

yep TVOC is in ppb and eCO2 is in ppm

image

ladyada commented 5 years ago

where do you see TVOC mentioned in ppm, exactly?

mereshow commented 5 years ago

Sorry! I didn't see the comma (that belongs to eCO2) and assumed that TVOC was in ppm. The examples are correct! The TVOC units are not specified:

Serial.print("ppm, TVOC: ");

Sorry for wasting your time :-/