Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BME680 values of IAQ, bVOC and CO2e does not change

    BME680 values of IAQ, bVOC and CO2e does not change

    Carlos_Rafael
    Established Member

    Hi,

    I’m using BME680 with the BSEC library (lite version).

    The values of IAQ, bVOC and CO2e remain the same all the time.

    I'm using the bsec_integration.c sample code. Searching in other threads here, I found that the outputs of eCO2 and bVOC are not enabled by default, so it has to be set in the function bme680_bsec_update_subscription().

    Into bme680_bsec_update_subscription() I added:

        requested_virtual_sensors[8].sensor_id = BSEC_OUTPUT_CO2_EQUIVALENT;

        requested_virtual_sensors[8].sample_rate = sample_rate;

        requested_virtual_sensors[9].sensor_id = BSEC_OUTPUT_BREATH_VOC_EQUIVALENT;

        requested_virtual_sensors[9].sample_rate = sample_rate;

    And I changed the value of NUM_USED_OUTPUTS and BSEC_MAX_PHYSICAL_SENSOR from 8 to 10.

    After that, I started getting values of eCO2 and bVOC but those values never change, as we can see in the log below:

     

    P: 87877,000| GAS: 61936,000| T: 17,844| rH: 65,872| IAQ: 25,000| Static IAQ: 25,000| CO2e: 500,000| bVOC: 0,499

    P: 87879,000| GAS: 62165,000| T: 17,844| rH: 65,916| IAQ: 25,000| Static IAQ: 25,000| CO2e: 500,000| bVOC: 0,499

    P: 87877,000| GAS: 62028,000| T: 17,844| rH: 66,028| IAQ: 25,000| Static IAQ: 25,000| CO2e: 500,000| bVOC: 0,499

    P: 87879,000| GAS: 62304,000| T: 17,854| rH: 66,146| IAQ: 25,000| Static IAQ: 25,000| CO2e: 500,000| bVOC: 0,499

    P: 87877,000| GAS: 22818,000| T: 17,864| rH: 66,173| IAQ: 25,000| Static IAQ: 25,000| CO2e: 500,000| bVOC: 0,499

    P: 87881,000| GAS: 12577,000| T: 17,904| rH: 66,358| IAQ: 25,000| Static IAQ: 25,000| CO2e: 500,000| bVOC: 0,499

    P: 87881,000| GAS: 10785,000| T: 17,964| rH: 66,565| IAQ: 25,000| Static IAQ: 25,000| CO2e: 500,000| bVOC: 0,499

    P: 87883,000| GAS: 2768,000 | T: 17,994| rH: 67,229| IAQ: 25,000| Static IAQ: 25,000| CO2e: 500,000| bVOC: 0,499

    P: 87877,000| GAS: 3333,000 | T: 18,054| rH: 67,974| IAQ: 25,000| Static IAQ: 25,000| CO2e: 500,000| bVOC: 0,499

    P: 87879,000| GAS: 3007,000 | T: 18,104| rH: 68,384| IAQ: 25,000| Static IAQ: 25,000| CO2e: 500,000| bVOC: 0,499

    P: 87874,000| GAS: 3468,000 | T: 18,154| rH: 68,729| IAQ: 25,000| Static IAQ: 25,000| CO2e: 500,000| bVOC: 0,499

    P: 87879,000| GAS: 6773,000 | T: 18,204| rH: 68,964| IAQ: 25,000| Static IAQ: 25,000| CO2e: 500,000| bVOC: 0,499

     

    Please note that the value of gas is changing but IAQ, bVOC and CO2e remain the same.

    The interval of each output line is 3 seconds.

    Is there some additional configuration that I’m missing?

    Thanks.

    7 REPLIES 7

    Hello Carlos, 

     

    If you are using exactly same code, you should get within 20mins. 

    Could you share your code? 

    Thanks, 

    Hello Minhwan,

    Here is my main.c and the bsec_integration code where I included CO2e and bVOC in bme680_bsec_update_subscription(). I also changed the value of NUM_USED_OUTPUTS and BSEC_MAX_PHYSICAL_SENSOR from 8 to 10 in bsec_datatypes.h.

    Please note that for configuration I created a library (bsec_config) where I used the bsec_serialized_configurations_iaq file from generic_33v_3s_28d.

    Regarding generic_33v_3s_28d files, could you explain what XML and CSV files stand for? I’m not using any of them.

    Also I’m using the lite version of bsec library. Is there any chance this problem is related to the lite version?

    Thanks

     

    Hello, 

     

    Sorry for late response. 

    Did you solve this issue? 

    Please let me know. 

    Thanks, 

    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