Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BSEC basic stuck on IAQ 25.00 with accuracy of 0 (BSEC Warning code : 10)

    BSEC basic stuck on IAQ 25.00 with accuracy of 0 (BSEC Warning code : 10)

    gcoulby
    New Poster

    I am using the NodeMCU 1.0 ESP8266 Arduino with a CJMCU BME680 connected using i2c.

    When I use the Base BME680 library I get readings of gas, temp, hum, alt, pressure etc. However, after reading the datasheet I wanted to get IAQ, eCO2 and VOC values out. So I started looking at the BSEC library. At first it would not compile for my board, but after following the installation instructions (copying libalgobsec.a and adding flags etc) I got the Basic example to build and start logging to the Serial Monitor on Baud 115200.

    I understand that there is a warm up time with this sensor before it gives accurate readings, and it is expected that the sensor will out put 25.00 and 0 for IAQ and IAQ accurary respectively. However, after running the sensor for multiple times for more than an hour, there is no change in these values nor the eCO2 or VOC.

    here is what is output:

    4176097, 23.10, 101475.00, 48.61, 165967.00, 25.00, 0, 23.10, 48.61, 25.00, 400.00, 0.50

    and here is the header that is printed when the program starts:

    BSEC library version 1.4.6.0
    BSEC warning code : 10
    Timestamp [ms], raw temperature [°C], pressure [hPa], raw relative humidity [%], gas [Ohm], IAQ, IAQ accuracy, temperature [°C], relative humidity [%], Static IAQ, CO2 equivalent, breath VOC equivalent

    I don't understand why it is not changing and can't find anything on what Warning Code : 10 means.

    Any help would be appreciated. 

    p.s. I have attaced the Serial Monitor output and I have included a photo of the breadboard.

    2 REPLIES 2

    Vincent
    Community Moderator
    Community Moderator

    10 means "Output (virtual) sensor id passed to bsec_update_subscription() is not in the valid range; e.g., n_requested_virtual_sensors > actual number of output (virtual) sensors requested". 

    I attached one intergrate guidelines for Arduino platforms for our BSEC lib which you should also find in your BSEC downlaoded lib. 

    Please refer to the document.

    If it is still not working, please put your source code here.

     

    Hi

    I have the same problem with an esp8266, the temperature and humidity are well calculated, however the iaq remains fixed at 25.

    My sketch is the one provided by default basic.ino

    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