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.
  • J jaredwolff

    @nca78 I mean, you can run it on a battery. Just need a really big one! 😬

    Because of the internal heater it does make it hard to integrate into a battery powered application.

    I haven’t measured the low power mode on the BME. What were you getting @Nca78

    Nca78N Offline
    Nca78N Offline
    Nca78
    Hardware Contributor
    wrote on last edited by
    #61

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

    I haven’t measured the low power mode on the BME. What were you getting @Nca78

    With 5mn interval it's supposed to use only 90uA, it's good enough for a li-ion battery of a reasonable size.

    J 1 Reply Last reply
    0
    • Nca78N Nca78

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

      I haven’t measured the low power mode on the BME. What were you getting @Nca78

      With 5mn interval it's supposed to use only 90uA, it's good enough for a li-ion battery of a reasonable size.

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

      @nca78 agreed. It totally depends on the application. On a 225mA button cell that may not work especially if it has to last a year or two!

      1 Reply Last reply
      0
      • SebexS Offline
        SebexS Offline
        Sebex
        wrote on last edited by
        #63

        So @jaredwolff & @FotoFieber what sensor would you suggest to use for measuring air quality using an Arduino (nano/uno), with the option to make it battery powered in the future. From my understanding this will remove the BME from the list due to memory/computing requirements. What are your suggestions?

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

          Hey @Sebex

          After running my setup for more than 8 months here are a few suggestions:

          1. If you care about particulates then the PM2.5 sensor works wonders. I've been using the HPMA115S0. It uses UART which you should be able to use with any Arduino variant.
          2. If you're more concerned with chemicals, a MOx sensor like the CCS811 is still my choice.

          The CCS811 is available as development boards from Adafruit and Sparkfun. The HPMA115S0 can be purchased from Arrow, Mouser and Digikey.

          I actually developed an all-in-one for Featherwing board. You can check that out for inspiration as well.

          SebexS 1 Reply Last reply
          1
          • NeverDieN Offline
            NeverDieN Offline
            NeverDie
            Hero Member
            wrote on last edited by NeverDie
            #65

            Regarding the bme680, has anyone yet figured out the correct amount of pre-heating that should be applied to it, or is that still unknown? See https://forum.mysensors.org/topic/7788/bosch-bme680-sensor/15?_=1578489395821 .

            J 1 Reply Last reply
            0
            • J jaredwolff

              Hey @Sebex

              After running my setup for more than 8 months here are a few suggestions:

              1. If you care about particulates then the PM2.5 sensor works wonders. I've been using the HPMA115S0. It uses UART which you should be able to use with any Arduino variant.
              2. If you're more concerned with chemicals, a MOx sensor like the CCS811 is still my choice.

              The CCS811 is available as development boards from Adafruit and Sparkfun. The HPMA115S0 can be purchased from Arrow, Mouser and Digikey.

              I actually developed an all-in-one for Featherwing board. You can check that out for inspiration as well.

              SebexS Offline
              SebexS Offline
              Sebex
              wrote on last edited by
              #66

              @jaredwolff thanks. I noticed that for the CSS811 there's no mysensor sketch example, any suggestions for a good guide to build one myself?

              Something else I wondered is adding multiple sensors to 1 pin. I want to combine the CCS811 with the Si7021 that I am running now on an Arduino. Perhaps I don't necessarily need to use the same pins but lets say you have running X amount of sensors that it becomes inevitable to use a similar pin. Is it possible to share pins in arduino sketches, if so how does this work? Or is every value sent by the sensor tagged. Couldn't find the answer anywhere on the forum.

              Nca78N 1 Reply Last reply
              0
              • SebexS Sebex

                @jaredwolff thanks. I noticed that for the CSS811 there's no mysensor sketch example, any suggestions for a good guide to build one myself?

                Something else I wondered is adding multiple sensors to 1 pin. I want to combine the CCS811 with the Si7021 that I am running now on an Arduino. Perhaps I don't necessarily need to use the same pins but lets say you have running X amount of sensors that it becomes inevitable to use a similar pin. Is it possible to share pins in arduino sketches, if so how does this work? Or is every value sent by the sensor tagged. Couldn't find the answer anywhere on the forum.

                Nca78N Offline
                Nca78N Offline
                Nca78
                Hardware Contributor
                wrote on last edited by
                #67

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

                Perhaps I don't necessarily need to use the same pins

                Both the sensors you quote are using I2C. So they both use the same 2 pins (SDA, SCL) to communicate. You can put many I2C sensors on those same pins, they each have an address to know which sensor is receiving/sending data to the master (here, your arduino).
                Look for a tutorial on I2C first.

                SebexS 1 Reply Last reply
                0
                • NeverDieN NeverDie

                  Regarding the bme680, has anyone yet figured out the correct amount of pre-heating that should be applied to it, or is that still unknown? See https://forum.mysensors.org/topic/7788/bosch-bme680-sensor/15?_=1578489395821 .

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

                  @NeverDie

                  I've set up the BME680 to use low power mode. I saw that the temperature readings were much higher in normal mode. Here's the init:

                    // Begin BME680 work
                    #ifdef HAS_BME680
                    bsec.begin(BME680_I2C_ADDR_PRIMARY, Wire);
                    checkIaqSensorStatus();
                  
                    // Set up BME680 sensors
                    bsec_virtual_sensor_t sensorList[7] = {
                      BSEC_OUTPUT_RAW_TEMPERATURE,
                      BSEC_OUTPUT_RAW_PRESSURE,
                      BSEC_OUTPUT_RAW_HUMIDITY,
                      BSEC_OUTPUT_RAW_GAS,
                      BSEC_OUTPUT_IAQ,
                      BSEC_OUTPUT_SENSOR_HEAT_COMPENSATED_TEMPERATURE,
                      BSEC_OUTPUT_SENSOR_HEAT_COMPENSATED_HUMIDITY
                    };
                  
                    bsec.updateSubscription(sensorList, 7, BSEC_SAMPLE_RATE_LP); //BSEC_SAMPLE_RATE_LP
                    checkIaqSensorStatus();
                    #endif
                  

                  @Sebex I agree with @Nca78, you can look into how I2C works. The cool thing is you can add up to 255 sensors as long as they have different addresses. (or if you do some tricky hardware stuff for devices with the same address) Unfortunately I only have implementations for my Featherwing.

                  1 Reply Last reply
                  0
                  • Nca78N Nca78

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

                    Perhaps I don't necessarily need to use the same pins

                    Both the sensors you quote are using I2C. So they both use the same 2 pins (SDA, SCL) to communicate. You can put many I2C sensors on those same pins, they each have an address to know which sensor is receiving/sending data to the master (here, your arduino).
                    Look for a tutorial on I2C first.

                    SebexS Offline
                    SebexS Offline
                    Sebex
                    wrote on last edited by
                    #69

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

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

                    Perhaps I don't necessarily need to use the same pins

                    Both the sensors you quote are using I2C. So they both use the same 2 pins (SDA, SCL) to communicate. You can put many I2C sensors on those same pins, they each have an address to know which sensor is receiving/sending data to the master (here, your arduino).
                    Look for a tutorial on I2C first.

                    Thanks I get it now :smile:

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


                    25

                    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