Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. Particle Powered Air Quality Sensor Logging to Google Docs

Particle Powered Air Quality Sensor Logging to Google Docs

Scheduled Pinned Locked Moved My Project
si7021air qualitypm2.5particlehpma115s0ccs811
69 Posts 6 Posters 6.4k Views 8 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • FotoFieberF FotoFieber

    @jaredwolff said in Particle Powered Air Quality Sensor Logging to Google Docs:

    @fotofieber I've had some luck with removing the fraction portion of the temperature readings. It looks like the Adafruit code does use it. The suggested code from AMS does not use it.

    Could you please share your code?

    There is an application note about update frequency on https://ams.com/documents/20143/36005/CCS811_AN000369_2-00.pdf/fb08da36-5b40-732b-39b0-62d2d9db5a3c

    It is recommended that the T+RH data is read from the ENS210 at the same frequency as the
    CCS811 generates eCO2 and TVOC outputs. For example in mode 3, 60 second mode, the
    application software should read the ENS210 data once every minute.

    The code in the application notes

    i2c_buff[0] = ((RH % 1000) / 100) > 7 ? (RH/1000 + 1)<<1 : (RH/1000)<<1;
    i2c_buff[1] = 0;
    if(((RH % 1000) / 100) > 2 && (((RH % 1000) / 100) < 8))
    {
    i2c_buff[0] |= 1;
    }
    

    looks quit different to the adafruit implementation:

    uint8_t hum_perc = humidity << 1;
    	
    // other code
    
    
    	uint8_t buf[] = {hum_perc, 0x00,
    		(uint8_t)((temp_conv >> 8) & 0xFF), (uint8_t)(temp_conv & 0xFF)};
    

    In the same document the handling of baseline is described. I think the adafruit code may be incomplete... :)

    I'll try the sparkfun lib, it hase baseline support and looks more like the programming note from aws.

    FotoFieberF Offline
    FotoFieberF Offline
    FotoFieber
    Hardware Contributor
    wrote on last edited by
    #13

    The CCS81 seems to be much more complicated to handle than the MH-Z14A. There is an MCU on the sensor and you can make firmware upgrades which should reduce the burn in time. After burn in, you shoul save the actual baseline from time to time (e.g. every 24 hours) and restore it, when you reboot.

    My hacked code looks now much more complicated:

    void readCCS811(JsonObject &root)
    {
      static int loopCount = 0;
      static bool bFirst = true;
      static CCS811 myCCS811(CCS811_ADDR);
      JsonObject rootCCS811;
    
      loopCount++;
      if (bFirst)
      {
        DEBUG_PRINTLN("Initializing CCS811");
        CCS811Core::status returnCode = myCCS811.begin();
        DEBUG_PRINT("CCS811 begin exited with: ");
        printDriverError(returnCode);
        DEBUG_PRINTLN("");
    
        if (returnCode == CCS811Core::SENSOR_SUCCESS)
          bFirst = false;
    
        //This sets the mode to 60 second reads, and prints returned error status.
        returnCode = myCCS811.setDriveMode(3);
        DEBUG_PRINT("Mode request exited with: ");
        printDriverError(returnCode);
        DEBUG_PRINTLN("");
    
        if ((EEPROM.read(0) == 0xA5) && (EEPROM.read(1) == 0xB2))
        {
          DEBUG_PRINTLN("EEPROM contains saved data.");
          //The recovered baseline is packed into a 16 bit word
          unsigned int baselineToApply = ((unsigned int)EEPROM.read(2) << 8) | EEPROM.read(3);
          DEBUG_PRINT("Saved baseline: 0x");
          if (baselineToApply < 0x100)
            DEBUG_PRINT("0");
          if (baselineToApply < 0x10)
            DEBUG_PRINT("0");
          DEBUG_PRINT(baselineToApply, HEX);
          //This programs the baseline into the sensor and monitors error states
          CCS811Core::status errorStatus = myCCS811.setBaseline(baselineToApply);
          if (errorStatus == CCS811Core::SENSOR_SUCCESS)
          {
            DEBUG_PRINTLN("Baseline written to CCS811.");
          }
          else
          {
            printDriverError(errorStatus);
          }
        }
      }
    
      if (myCCS811.dataAvailable())
      {
    
        myCCS811.readAlgorithmResults();
        myCCS811.setEnvironmentalData(lasthum, lasttemp);
    
        uint16_t lastppm = myCCS811.getCO2();
    
        if (lastppm > 0)
        { // bis und mit 400 nur an der Initialisierung
          rootCCS811 = root.createNestedObject("ccs811");
          rootCCS811["co2"] = lastppm;
          rootCCS811["tvoc"] = myCCS811.getTVOC();
        }
      }
    
      // save Baseline every 24 hours
      if (loopCount >= 24 * 60)
      {
        // read baseline
        unsigned int baseline = myCCS811.getBaseline();
    
        rootCCS811["baseline"] = baseline;
    
        DEBUG_PRINTLN("baseline for this sensor: 0x");
        if (baseline < 0x100)
          DEBUG_PRINT("0");
        if (baseline < 0x10)
          DEBUG_PRINT("0");
        DEBUG_PRINTLN(baseline, HEX);
        //The baseline is saved (with valid data indicator bytes)
        EEPROM.write(0, 0xA5);
        EEPROM.write(1, 0xB2);
        EEPROM.write(2, (baseline >> 8) & 0x00FF);
        EEPROM.write(3, baseline & 0x00FF);
        EEPROM.commit();
    
        loopCount = 0;
      }
    }
    

    The results in the first 24 hours don't seem better. Hope they will getting better after 48 hours. :(

    I am not really keen on programming a firmware upgrade program for the CCS811. The second sensor I ordered from aliexpress is hopefully better.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jaredwolff
      wrote on last edited by
      #14

      I have no experience with the MH-Z14A but compared to other comparable parts I think the CCS811 is a bit more simple to implement. (And less costly, despite it's $$$ price)

      Since my firmware improvements here (MSB for temp and humidity for saving the environmental data) seems to have helped tremendously. I have implemented the baseline save/restore but I haven't seen any crazy jumps or differences in operation. Maybe your MOX sensor is contaminated.

      I'm playing with some other sensors to see how they compare. I'll share my results here too.

      FotoFieberF 1 Reply Last reply
      0
      • J jaredwolff

        I have no experience with the MH-Z14A but compared to other comparable parts I think the CCS811 is a bit more simple to implement. (And less costly, despite it's $$$ price)

        Since my firmware improvements here (MSB for temp and humidity for saving the environmental data) seems to have helped tremendously. I have implemented the baseline save/restore but I haven't seen any crazy jumps or differences in operation. Maybe your MOX sensor is contaminated.

        I'm playing with some other sensors to see how they compare. I'll share my results here too.

        FotoFieberF Offline
        FotoFieberF Offline
        FotoFieber
        Hardware Contributor
        wrote on last edited by
        #15

        @jaredwolff said in Particle Powered Air Quality Sensor Logging to Google Docs:

        I have no experience with the MH-Z14A but compared to other comparable parts I think the CCS811 is a bit more simple to implement. (And less costly, despite it's $$$ price)

        The MH-Z14A is really simple to implement. Just send some characters over serial interface and get the CO2 value. You don't need to think about baselines and firmware versions. A cheap sensor is of no use, if you can't get correct readings. Maybe I am doing something wrong? :)

        But maybe you can share your code and I can get better results?

        The CCS811 I have here maybe cheap….
        0_1555968023025_sensor-comparison.png

        J 1 Reply Last reply
        0
        • FotoFieberF FotoFieber

          @jaredwolff said in Particle Powered Air Quality Sensor Logging to Google Docs:

          I have no experience with the MH-Z14A but compared to other comparable parts I think the CCS811 is a bit more simple to implement. (And less costly, despite it's $$$ price)

          The MH-Z14A is really simple to implement. Just send some characters over serial interface and get the CO2 value. You don't need to think about baselines and firmware versions. A cheap sensor is of no use, if you can't get correct readings. Maybe I am doing something wrong? :)

          But maybe you can share your code and I can get better results?

          The CCS811 I have here maybe cheap….
          0_1555968023025_sensor-comparison.png

          J Offline
          J Offline
          jaredwolff
          wrote on last edited by
          #16

          @fotofieber after assembling and testing a few more boards. I've noticed that the fresh sensors, do need some time to "burn-in." I'm seeing wild values in the 1000's whereas the one I've been using for a few weeks is rock solid.

          Here's a capture of one I'm testing right now:

          0_1556208457191_Screen Shot 2019-04-25 at 12.07.09 PM.png

          The blue is the one that's been running for a while. The red is a fresh unused sensor.

          I haven't had a chance to play with the MH-Z14A. I'm currently doing an eval of all sensors that I can (easily) get my hands on to compare side by side.

          All the latest and greatest code for my project is located under the Beam me Up section in my original post above. #3 I think. Here's the link again though.

          FotoFieberF 1 Reply Last reply
          0
          • J jaredwolff

            @fotofieber after assembling and testing a few more boards. I've noticed that the fresh sensors, do need some time to "burn-in." I'm seeing wild values in the 1000's whereas the one I've been using for a few weeks is rock solid.

            Here's a capture of one I'm testing right now:

            0_1556208457191_Screen Shot 2019-04-25 at 12.07.09 PM.png

            The blue is the one that's been running for a while. The red is a fresh unused sensor.

            I haven't had a chance to play with the MH-Z14A. I'm currently doing an eval of all sensors that I can (easily) get my hands on to compare side by side.

            All the latest and greatest code for my project is located under the Beam me Up section in my original post above. #3 I think. Here's the link again though.

            FotoFieberF Offline
            FotoFieberF Offline
            FotoFieber
            Hardware Contributor
            wrote on last edited by
            #17

            @jaredwolff
            Thx for the link to your sourcecode.
            How long is the time interval on the graph in your post?

            I tried to use drive mode 1 (measurement every second) with an average calculation for every minute. But it didn't get better... :(

            I added now a MH-Z19B to the testbed.

            Awaiting still from aliexpress:
            SGP30
            MICS-VZ-89TE
            GY-MCU680V1 BME680
            Senseair S8-0053
            and another CCS811.
            0_1556312751563_IMG_3814.JPG

            J 1 Reply Last reply
            0
            • FotoFieberF FotoFieber

              @jaredwolff
              Thx for the link to your sourcecode.
              How long is the time interval on the graph in your post?

              I tried to use drive mode 1 (measurement every second) with an average calculation for every minute. But it didn't get better... :(

              I added now a MH-Z19B to the testbed.

              Awaiting still from aliexpress:
              SGP30
              MICS-VZ-89TE
              GY-MCU680V1 BME680
              Senseair S8-0053
              and another CCS811.
              0_1556312751563_IMG_3814.JPG

              J Offline
              J Offline
              jaredwolff
              wrote on last edited by
              #18

              @fotofieber said in Particle Powered Air Quality Sensor Logging to Google Docs:

              How long is the time interval on the graph in your post?

              The interval was either 20 seconds or 2 minutes. My code defaults to 2 minutes. There's just no reason to be checking it that often.

              The CCS811 on the other hand takes a measurement every second. (I left it in the default mode) I just take the latest measurement when it's time to send the update to the server.

              Curious to see what conclusions you come to with your tests. I think we'll get there right around the same time!

              FotoFieberF 1 Reply Last reply
              0
              • J jaredwolff

                @fotofieber said in Particle Powered Air Quality Sensor Logging to Google Docs:

                How long is the time interval on the graph in your post?

                The interval was either 20 seconds or 2 minutes. My code defaults to 2 minutes. There's just no reason to be checking it that often.

                The CCS811 on the other hand takes a measurement every second. (I left it in the default mode) I just take the latest measurement when it's time to send the update to the server.

                Curious to see what conclusions you come to with your tests. I think we'll get there right around the same time!

                FotoFieberF Offline
                FotoFieberF Offline
                FotoFieber
                Hardware Contributor
                wrote on last edited by FotoFieber
                #19

                @jaredwolff
                The MHZ19B is working out of the box without tuning. NDIR sensors seem to be easier to handle but are more power hungry.
                0_1556347989054_sensor-comparison co2.png
                In addition to the CO2 ppm, it has a temperature reading, which is not to bad:
                0_1556348218175_sensor-comparison temp.png
                The temperature of the BMP280 and ST7012 are quite high. They are on the same small pcb as the CCS811.

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  jaredwolff
                  wrote on last edited by jaredwolff
                  #20

                  @fotofieber said in Particle Powered Air Quality Sensor Logging to Google Docs:

                  The MHZ19B is working out of the box without tuning. NDIR sensors seem to be easier to handle but are more power hungry.

                  Nice! Glad to see something working for you. The MHZ19B seems like a good option when you have the space. I wonder how it is long term.

                  How many hours have you continuously run your CCS811? I'm seeing the fresh one I had normalize to zero over almost 24h of continuous running. (See the blue trace below for TVOC & C02)

                  0_1556375221442_Screen Shot 2019-04-27 at 10.26.57 AM.png

                  I'm also not surprised by the readings you're getting on temp. Unless you get a sensors that is specifically more precise you could get some significant deviations. I would expect ±1 °C from most sensors though..

                  FotoFieberF 1 Reply Last reply
                  0
                  • J jaredwolff

                    @fotofieber said in Particle Powered Air Quality Sensor Logging to Google Docs:

                    The MHZ19B is working out of the box without tuning. NDIR sensors seem to be easier to handle but are more power hungry.

                    Nice! Glad to see something working for you. The MHZ19B seems like a good option when you have the space. I wonder how it is long term.

                    How many hours have you continuously run your CCS811? I'm seeing the fresh one I had normalize to zero over almost 24h of continuous running. (See the blue trace below for TVOC & C02)

                    0_1556375221442_Screen Shot 2019-04-27 at 10.26.57 AM.png

                    I'm also not surprised by the readings you're getting on temp. Unless you get a sensors that is specifically more precise you could get some significant deviations. I would expect ±1 °C from most sensors though..

                    FotoFieberF Offline
                    FotoFieberF Offline
                    FotoFieber
                    Hardware Contributor
                    wrote on last edited by
                    #21

                    @jaredwolff said in Particle Powered Air Quality Sensor Logging to Google Docs:

                    Nice! Glad to see something working for you. The MHZ19B seems like a good option when you have the space.

                    The MH-Z19B does use less space than the MH-Z14B. I thinkt the footprint is similar to my CCS811 PCB from aliexpress. But it is taller. I think the main argument against the MH-Z19B could be power consumption.

                    I wonder how it is long term.

                    I have some MH-Z14B working fine for more than two years. Accoriding to the datasheet, the MH-Z19B should last more than 15 years.

                    How many hours have you continuously run your CCS811?

                    More than two days. It didn't get better.

                    I'm seeing the fresh one I had normalize to zero over almost 24h of continuous running. (See the blue trace below for TVOC & C02)

                    I can't see the time on your graph. I only see 2019-0... would it be possible to show the time?

                    The manufacturer has improved accuracy with the last firmware of the CCS811. Which version of firmware do you have on your CCS811?

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      jaredwolff
                      wrote on last edited by jaredwolff
                      #22

                      @fotofieber said in Particle Powered Air Quality Sensor Logging to Google Docs:

                      The manufacturer has improved accuracy with the last firmware of the CCS811. Which version of firmware do you have on your CCS811?

                      Good question. According to my code: 1.1.0

                      @fotofieber said in Particle Powered Air Quality Sensor Logging to Google Docs:

                      I can't see the time on your graph. I only see 2019-0... would it be possible to show the time?

                      Hmm. Yea they're full timestamps. Pretty useless huh? What are you using to create your graphs? That way we're looking at the same thing.

                      On another note: I did get SPG30 and BME680 up and running. I ran the SPG30 while I was tinkering with the BME680. It's about 12 hours of data. (Sorry the x axis is not quite working out.)

                      0_1556496951580_Screen Shot 2019-04-28 at 8.06.17 PM.png

                      My initial impressions from the integration:

                      SPG30 is about as easy as the CCS811. As you can see it has its own demons. It does require another power supply (1.8V typical for this part) And it can get power hungry if you run it tons (48mA when the heater is on).

                      The BME680 is not so easy to integrate into the Particle platform. Mostly due to the added archive file (i.e. static library, i.e..a file). After tinkering with what they had I have it taking in and processing data. The only thing I really care about is the IAQ calculation which is not open source. It does some other calculations on the temperature and humidity if you choose to integrated it with a space heater. (or HVAC unit for that matter)

                      FotoFieberF 1 Reply Last reply
                      0
                      • J jaredwolff

                        @fotofieber said in Particle Powered Air Quality Sensor Logging to Google Docs:

                        The manufacturer has improved accuracy with the last firmware of the CCS811. Which version of firmware do you have on your CCS811?

                        Good question. According to my code: 1.1.0

                        @fotofieber said in Particle Powered Air Quality Sensor Logging to Google Docs:

                        I can't see the time on your graph. I only see 2019-0... would it be possible to show the time?

                        Hmm. Yea they're full timestamps. Pretty useless huh? What are you using to create your graphs? That way we're looking at the same thing.

                        On another note: I did get SPG30 and BME680 up and running. I ran the SPG30 while I was tinkering with the BME680. It's about 12 hours of data. (Sorry the x axis is not quite working out.)

                        0_1556496951580_Screen Shot 2019-04-28 at 8.06.17 PM.png

                        My initial impressions from the integration:

                        SPG30 is about as easy as the CCS811. As you can see it has its own demons. It does require another power supply (1.8V typical for this part) And it can get power hungry if you run it tons (48mA when the heater is on).

                        The BME680 is not so easy to integrate into the Particle platform. Mostly due to the added archive file (i.e. static library, i.e..a file). After tinkering with what they had I have it taking in and processing data. The only thing I really care about is the IAQ calculation which is not open source. It does some other calculations on the temperature and humidity if you choose to integrated it with a space heater. (or HVAC unit for that matter)

                        FotoFieberF Offline
                        FotoFieberF Offline
                        FotoFieber
                        Hardware Contributor
                        wrote on last edited by
                        #23

                        @jaredwolff said in Particle Powered Air Quality Sensor Logging to Google Docs:

                        Hmm. Yea they're full timestamps. Pretty useless huh? What are you using to create your graphs? That way we're looking at the same thing.

                        I am using grafana with influxdb (both in docker).

                        @jaredwolff

                        SPG30 is about as easy as the CCS811. As you can see it has its own demons. It does require another power supply (1.8V typical for this part) And it can get power hungry if you run it tons (48mA when the heater is on).

                        Awaiting mine impatiently. :) Power consumption is not a real problem in my usage scenario.

                        @jaredwolff

                        The BME680 is not so easy to integrate into the Particle platform. Mostly due to the added archive file (i.e. static library, i.e..a file).

                        Do you build with platform.io? I only found instructions for the arduino ide...

                        Temp and hum are measured on the heated sensor and must be calibrated to be useful according to some discussions I read.

                        1 Reply Last reply
                        0
                        • J Offline
                          J Offline
                          jaredwolff
                          wrote on last edited by jaredwolff
                          #24

                          @fotofieber said in Particle Powered Air Quality Sensor Logging to Google Docs:

                          I am using grafana with influxdb (both in docker).

                          I like it. It may make sense to have my own infrastructure in the future. But then again, I don't feel like dealing with it all. :laughing:

                          @fotofieber said in Particle Powered Air Quality Sensor Logging to Google Docs:

                          Do you build with platform.io? I only found instructions for the arduino ide...

                          I'm building using the Particle SDK on my machine. They can build Arduino libraries but can't quite include external/static libraries yet (As far as I can tell) out of the box. The Particle platform, in general, has been for convenience and getting to proof of concept (really) fast. Plus they're an awesome company.

                          As for the data, I'm just pushing the data from the Particle platform into Google docs (as my original post described). It's great for short tests but longer data streams you definitely need a time-based database and some nice front end graphing capabilities. :smile:

                          Another update on the TVOC eval. Looks like the BME680 outputs on the same scale as the SPG30 and CCS811. (i.e. 500ppb == a reading of 500 IAQ on the BME680)

                          0_1556567219754_chart.png

                          (The timestamps are there if you click on the image itself. )

                          @fotofieber said in Particle Powered Air Quality Sensor Logging to Google Docs:

                          Temp and hum are measured on the heated sensor and must be calibrated to be useful according to some discussions I read.

                          I was thinking about this more considering the discrepancy I'm seeing in temperatures and humidity. If you're serious about the results and the accuracy of the temp & humidity it may require a 3rd temperature sensor with no heater inside.

                          Supposedly the BME680 has a calibrated output but it hasn't fired up. I'll have to figure that out..

                          1 Reply Last reply
                          0
                          • FotoFieberF Offline
                            FotoFieberF Offline
                            FotoFieber
                            Hardware Contributor
                            wrote on last edited by
                            #25

                            Firmware upgrade time!

                            My CCS811 has bootloader version: 1000

                            and had application version: 1100

                            I upgraded to the newest firmware (2.0.1). Now waiting for another two days.... :) Hope then I get reasonable results like you have....

                            J 1 Reply Last reply
                            0
                            • FotoFieberF FotoFieber

                              Firmware upgrade time!

                              My CCS811 has bootloader version: 1000

                              and had application version: 1100

                              I upgraded to the newest firmware (2.0.1). Now waiting for another two days.... :) Hope then I get reasonable results like you have....

                              J Offline
                              J Offline
                              jaredwolff
                              wrote on last edited by
                              #26

                              @fotofieber yeehaw. I hope that fixes the craziness you were seeing. I'm curious if that will fix the early unreliable data I've been seeing too..

                              1 Reply Last reply
                              0
                              • J Offline
                                J Offline
                                jaredwolff
                                wrote on last edited by
                                #27

                                @FotoFieber if you check out my tvoc_test branch, I implemented the CCS811 update routine. I'm interested to see how it compares to the SPG30 and BME680..

                                FotoFieberF 1 Reply Last reply
                                0
                                • J jaredwolff

                                  @FotoFieber if you check out my tvoc_test branch, I implemented the CCS811 update routine. I'm interested to see how it compares to the SPG30 and BME680..

                                  FotoFieberF Offline
                                  FotoFieberF Offline
                                  FotoFieber
                                  Hardware Contributor
                                  wrote on last edited by
                                  #28

                                  @jaredwolff
                                  The update has brought a big improvement.
                                  I think one could derive airquality from the measurements, but the CO2 ppm value is still way off.
                                  0_1556686461628_sensor-comparison.png

                                  J 1 Reply Last reply
                                  0
                                  • FotoFieberF FotoFieber

                                    @jaredwolff
                                    The update has brought a big improvement.
                                    I think one could derive airquality from the measurements, but the CO2 ppm value is still way off.
                                    0_1556686461628_sensor-comparison.png

                                    J Offline
                                    J Offline
                                    jaredwolff
                                    wrote on last edited by jaredwolff
                                    #29

                                    @fotofieber that's great news! Pretty much what I've seen. I've stopped eC02 all together because it correlates 1:1 with TVOC on that part. Plus I don't know how actionable the C02 reading is. Does it indicate stale air? C02 is a byproduct of the VOCs? Maybe it's more useful for more industrial environments..

                                    Are you logging anything other than C02?

                                    FotoFieberF 1 Reply Last reply
                                    0
                                    • J jaredwolff

                                      @fotofieber that's great news! Pretty much what I've seen. I've stopped eC02 all together because it correlates 1:1 with TVOC on that part. Plus I don't know how actionable the C02 reading is. Does it indicate stale air? C02 is a byproduct of the VOCs? Maybe it's more useful for more industrial environments..

                                      Are you logging anything other than C02?

                                      FotoFieberF Offline
                                      FotoFieberF Offline
                                      FotoFieber
                                      Hardware Contributor
                                      wrote on last edited by FotoFieber
                                      #30

                                      @jaredwolff
                                      CO2 is an indicator of air quality. I use it since years mainly with consumer devices from Netatmo. In my graphs you can see, when people are in the rooms consume the air, when they leave, when I open the windows...

                                      The CO2 measurement with NDIR-sensors seems much more reliable than what I see here from CCS811. They usually show quite good results just plugged in without calibration. They are easier to handle, because you don''t need to bother with handling basline (save and restore). And they don't need a temp/hum measurement to correct their values.

                                      Yesterday arrived another NDIR-Sensor (Senseair S8) and a SGP30. I am curious, how they perform. Hope I have the first results in two days.

                                      Are you logging anything other than C02?

                                      In general I have much more values I log (radioactivity, luminosity, window open/close, motion...)

                                      In this setup I log what I can get from the sensors.

                                      FotoFieberF 2 Replies Last reply
                                      0
                                      • FotoFieberF FotoFieber

                                        @jaredwolff
                                        CO2 is an indicator of air quality. I use it since years mainly with consumer devices from Netatmo. In my graphs you can see, when people are in the rooms consume the air, when they leave, when I open the windows...

                                        The CO2 measurement with NDIR-sensors seems much more reliable than what I see here from CCS811. They usually show quite good results just plugged in without calibration. They are easier to handle, because you don''t need to bother with handling basline (save and restore). And they don't need a temp/hum measurement to correct their values.

                                        Yesterday arrived another NDIR-Sensor (Senseair S8) and a SGP30. I am curious, how they perform. Hope I have the first results in two days.

                                        Are you logging anything other than C02?

                                        In general I have much more values I log (radioactivity, luminosity, window open/close, motion...)

                                        In this setup I log what I can get from the sensors.

                                        FotoFieberF Offline
                                        FotoFieberF Offline
                                        FotoFieber
                                        Hardware Contributor
                                        wrote on last edited by
                                        #31

                                        This night was a complete fail for the CCS811 I have here:

                                        Fresh air at 20:00
                                        Sleep till 6:15 with closed windows
                                        -> NDIR sensors show, how air quality gets worse
                                        -> CCS811 shows, how the air quality gets better during sleep with closed window!
                                        Fresh air at 06:15

                                        WTF.... :)
                                        0_1556788324572_sensor-comparison.png

                                        1 Reply Last reply
                                        0
                                        • FotoFieberF FotoFieber

                                          @jaredwolff
                                          CO2 is an indicator of air quality. I use it since years mainly with consumer devices from Netatmo. In my graphs you can see, when people are in the rooms consume the air, when they leave, when I open the windows...

                                          The CO2 measurement with NDIR-sensors seems much more reliable than what I see here from CCS811. They usually show quite good results just plugged in without calibration. They are easier to handle, because you don''t need to bother with handling basline (save and restore). And they don't need a temp/hum measurement to correct their values.

                                          Yesterday arrived another NDIR-Sensor (Senseair S8) and a SGP30. I am curious, how they perform. Hope I have the first results in two days.

                                          Are you logging anything other than C02?

                                          In general I have much more values I log (radioactivity, luminosity, window open/close, motion...)

                                          In this setup I log what I can get from the sensors.

                                          FotoFieberF Offline
                                          FotoFieberF Offline
                                          FotoFieber
                                          Hardware Contributor
                                          wrote on last edited by
                                          #32

                                          S8 readings seem quite goot. (NDIR)
                                          SGP30 :( Will try with the adafruit library instead of the sparktech.
                                          0_1556954956512_sensor-comparison.png

                                          J 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          19

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular