Bosch Sensortec Community

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

    BME680 ESP8266 Deepsleep

    BME680 ESP8266 Deepsleep

    amrtgv
    New Poster

    Hello,

    I'm building a new weather station based on BME680(ULP mode) and ESP8266 :Deepsleep(5min). Everything works fine with BSEC library except AIQ. It seems that after each deepsleep/wakeup, BME loses it states? Any idea how to implement this?

    My code is based on " basic_config_state.ino".

     

    Thank you.

     

    11 REPLIES 11

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    Thanks for your inquiry.

    In ULP mode, BSEC library updates IAQ values and IAQ accuracy status from 0 to 3 every 5 minutes. I am not sure what you mean by AIQ and BME loses its states. Could you please print out some data from your terminal window to show this?

    Thanks.

    Hello,

    Sorry AIQ was a typo. I meant  IAQ. Now to give you more idea:

    IAQ value shows 25 all the time when I use deepsleep on ESP8266(check the picture), accuracy is also 0 all the time. As far as I understand from other threads , each time after ESP8266 wakes up , it reset timestamp on BME680? and I understand it can be fixed by using RTC memory? but don't know how to do it?

    Thank you,

    More output: (3S_LP)

    19:53:12.141 -> Deep-Sleep Wake
    19:53:12.181 -> 0
    19:53:12.381 -> 000000244: setState:
    19:53:12.381 -> 000000245: Successfully set state from 1051588384933517
    19:53:12.461 -> 000000247: Sensor init done
    19:53:13.141 -> 000001019: IAQ 25 accuracy 0
    19:53:13.661 -> 000001523: getState:
    19:53:13.661 -> 000001523: Deep sleep for 2240 ms. BSEC next call at 3764 ms.

    .

    .

    .

    20:04:29.018 -> Deep-Sleep Wake
    20:04:29.018 -> 0
    20:04:29.218 -> 000000245: setState:
    20:04:29.258 -> 000000245: Successfully set state from 1059203732008448
    20:04:29.298 -> 000000247: Sensor init done
    20:04:30.218 -> 000001233: IAQ 25 accuracy 0
    20:04:30.738 -> 000001737: getState:
    20:04:30.738 -> 000001737: Deep sleep for 2240 ms. BSEC next call at 3978 ms.

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    Thanks for the information. We will get back to you shortly.

    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