Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BME680 rules for running BSEC with timer

    dduehren
    New Visitor

    BME680 rules for running BSEC with timer

    I hve a couple of questions that could be answered if you had some clear rules defined about using the BSEC library. 

    I have an application where I want to log data evry minute.  Currently I average 3 readings at 20 seconds sampling to get the data at the minute mark. I currently have the BME680 running with the Adafruit_BME680.h library and getting the T, H, Raw Resistance, and Pressure, sampling at the 20s interval.

    I'd like to add the BSEC library eCO2 to that list.

    So I several questions.

    1. Can I run the Adafruit library and BSEC library at the same time? 

    2. In ULP mode, from what I read, the libary has to be "read" every 3 seconds (ie.  iaqSensor.run() has to run every 3 seconds, at which time I could read the eC02 value.  And this could be triggered by a timer.  Is this correct?

    3. In ULP plus mode, I could then also do iaq.Sensor() at the 20 second mark.  And very 3rd 20 second read would correspond to a 3 second read too. Is this correct?

    4. What isn't clear is what values are really only able to be read at the 3 second interval?  Clearly with the Adafruit library I can read at various intervals.  So the raw signals are available more regularly.  What bout the compensated T and H readings?  Are they only at the 3 second mark?

    5. I saw somewhere on this forum that one of the iaq values has to be 3 in order for the eCO2 value to be valid.  Which one is that?

    6. Why isn't some basic info like this in the data sheet or the integration guide.  Most of the world doesn't run its software on a busy loop.

     

     

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist