Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    BME680 on ESP8266 IAQ, CO2, ... do not change

    BME680 on ESP8266 IAQ, CO2, ... do not change

    Desh
    Member

    Hi,

    I use a  Wemos D1 ESP8266 Board with a BME680 connected to I2C , BSEC libary installed and adjustments done as decribed in the Github pages (https://github.com/BoschSensortec/BSEC-Arduino-library) and using the "basic" example from there. Temp., humidity, pressure look OK, but all other values do not change since 9 days (IAC =25, Accuracy=0, CO2 = 500, VOC = 0.5).

    Edit: Gas resitance changes, esp. when I breath on it, so Iassume the sensor works, but caclulation of the values not.

    I've tested three versions of the BSEC library, but no change (1.2.1474, 1.4.703, 1.4.8.0).

    I'm using Arduino IDE 1.8.13, includes are: bsec.h (as per example provided)

    Any ideas?

    Thanks

    Desh

    18 REPLIES 18

    Jet
    Occasional Contributor

    Hi Sir:

         You mean temperature, humidity, pressure look OK, and Gas resistance changed, only don't get correct IAQ/CO2, which don't update.

         Need more information you offer and ask for internal expert help.

     

    papamidas
    Occasional Visitor

    I have exactly the same problem as Desh:

    This is the output of the Basic example "basic.ino" with my ESP32 Board: Temperature, pressure, humidity  and gas values give reasonable readings, but IAQ, Static IAQ, CO2 equivalent and breath VOC equivalent never change!  

    What is wrong here?

    BSEC library version 1.4.8.0
    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
    87, 22.17, 95529.00, 35.35, 109908.00, 25.00, 0, 22.17, 35.35, 25.00, 500.00, 0.50
    3087, 22.19, 95529.00, 35.25, 109908.00, 25.00, 0, 22.13, 35.36, 25.00, 500.00, 0.50
    6086, 22.22, 95527.00, 35.16, 118124.00, 25.00, 0, 22.16, 35.22, 25.00, 500.00, 0.50
    9087, 22.25, 95527.00, 35.06, 124443.00, 25.00, 0, 22.19, 35.09, 25.00, 500.00, 0.50
    12086, 22.27, 95527.00, 34.99, 131786.00, 25.00, 0, 22.21, 35.01, 25.00, 500.00, 0.50
    15087, 22.28, 95529.00, 34.92, 136179.00, 25.00, 0, 22.22, 34.95, 25.00, 500.00, 0.50
    18086, 22.29, 95529.00, 34.87, 138889.00, 25.00, 0, 22.23, 34.90, 25.00, 500.00, 0.50
    21087, 22.32, 95529.00, 35.11, 140050.00, 25.00, 0, 22.26, 35.11, 25.00, 500.00, 0.50
    24087, 22.32, 95531.00, 35.47, 144521.00, 25.00, 0, 22.26, 35.50, 25.00, 500.00, 0.50
    27087, 22.33, 95531.00, 35.46, 147447.00, 25.00, 0, 22.27, 35.50, 25.00, 500.00, 0.50
    30086, 22.34, 95529.00, 35.37, 150090.00, 25.00, 0, 22.28, 35.42, 25.00, 500.00, 0.50
    33086, 22.34, 95529.00, 35.28, 153670.00, 25.00, 0, 22.28, 35.34, 25.00, 500.00, 0.50
    36087, 22.35, 95531.00, 35.17, 156250.00, 25.00, 0, 22.29, 35.23, 25.00, 500.00, 0.50
    39087, 22.36, 95529.00, 35.36, 149287.00, 25.00, 0, 22.30, 35.42, 25.00, 500.00, 0.50
    42087, 22.36, 95529.00, 36.97, 148889.00, 25.00, 0, 22.30, 37.05, 25.00, 500.00, 0.50
    45087, 22.37, 95529.00, 37.26, 152273.00, 25.00, 0, 22.31, 37.34, 25.00, 500.00, 0.50
    48086, 22.37, 95531.00, 37.12, 153670.00, 25.00, 0, 22.31, 37.21, 25.00, 500.00, 0.50
    51086, 22.38, 95529.00, 36.86, 156104.00, 25.00, 0, 22.32, 36.95, 25.00, 500.00, 0.50
    54087, 22.39, 95531.00, 36.62, 158019.00, 25.00, 0, 22.33, 36.70, 25.00, 500.00, 0.50
    57086, 22.39, 95529.00, 36.41, 160134.00, 25.00, 0, 22.33, 36.50, 25.00, 500.00, 0.50

    @ jet: yes, it seems, that the calculated values (IAQ, CO2, VOC) are not calculated at all. The output looks exactly as in the post by papamidas.

    Jet
    Occasional Contributor

    Hi Sir:

    There was a integration guide doc in besc zip. In the integration guide doc, there was "IAQ output does not change or accuracy remains 0" FAQ section. Did you refer this part to check your code?

    Timestamp is very important for IAQ output.

    You also needed to check bme680_bsec_update_subscription() function, confirm whether you enabled the related virtual sensor, otherwise, you didn't get its data.

    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