Bosch Sensortec Community

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

    BME688 sensor not sensing

    BME688 sensor not sensing

    Christoforos
    Established Member

    Hello,

    I am trying to use the BME688 sensor from Bosch to detect VOCs. I am using the Sparkfun 19096 breakout board, Arduino IDE 1.8.19 and SV-Zanshin library, as recommended. I can read the Temperature, Humidity and Pressure data on the serial monitor but the altitude and gas resistance data are wrong. They show negative numbers (-41.73 and -999.35 for alt and gas, respectively), which I assume it’s variable overflow, and the values don’t change. I can fix the issue with the negative number by modifying the data types and scaling the reading down. However, the fact that the sensor gas resistance reading doesn’t change at all even after 48 hours burn in and exposure to acetone and IPA is worrisome. Here is the full list of the specifications I am using.

    System:

    macOS Monterey 12.6.2

    Arduino IDE version 1.8.19

    Sensor:

    Bosch BME688

    Breakout board:

    Sparkfun 19096 - https://www.sparkfun.com/products/19096

    Libraries:

    Adafruit - https://github.com/adafruit/Adafruit_BME680 - Doesn’t find sensor.

    SV-Zanshin - https://github.com/Zanduino/BME680 (recommended by Sparkfun)

    Bosch - https://github.com/BoschSensortec/Bosch-BME68x-Library - Doesn’t find sensor.

    Development board:

    esp32 pico d4 kit - https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-pico-kit....

    esp32 WROOM32 - https://www.az-delivery.de/en/products/esp32-developmentboard

    Tutorial followed:

    Sparkfun - https://learn.sparkfun.com/tutorials/sparkfun-environmental-sensor-breakout---bme68x-qwiic-hookup-gu...

    Random Tutorials - https://randomnerdtutorials.com/esp32-bme680-sensor-arduino/ - This doesn’t find the sensor.

    Arduino Example used:

    BME688 I2C demo

    Screenshot 2023-02-02 at 11.05.26.png

    sensor value the same.png

    Questions:

    1. How to interpret gas sensor raw data? What does it measure (resistance in Ohms)?
    2. Can I use the Sparkfun 19096 on Arduino UNO with 5V supply and logic?
    3. Why does the gas sensor reading not change? Is it incompatibility with the Arduino IDE version, development board or communication protocol?

    Apologies if this was answered already. Many thanks! Greatly appreciated!

     

    7 REPLIES 7

    BSTRobin
    Community Moderator
    Community Moderator

    Hi Christoforos,

    The RAW data of the gas is the resistance value with ohm unit. Under different heating configurations, the gas corresponds to the resistance output, after processing by BSEC algorithm, output IAQ, etc.

    The maximum supply voltage of the BME688 is 3.6V.

    https://github.com/boschsensortec/BSEC-Arduino-library is Arduino project for BSEC1. As you used BME688, recommend you download latest BSEC2 package from https://www.bosch-sensortec.com/software-tools/software/bme688-software, refer readme file https://github.com/boschsensortec/BSEC-Arduino-library/blob/master/README.md to migrate BME688 BSEC2 Arduino project to project.

    BSEC2.2.0.0 download.png

    Dear BSTRobbin,

    Thank you for your reply!

    I am interested in the raw data in Ohms and then I can calibrate the sensor with different substances. Therefore, do I actually need the BSEC? 

    Also, I am using the sensor with esp32 and Arduino IDE. Might this be the problem? Should I migrate to Visual code and PlatformIO? 

    Many thanks!

    Regards,

    Christoforos

    Hi Christoforos,

    You could refer BSEC output signal from this list.

    Supported virtual sensor output signals.png

    If you do not use output such as IAQ, you don't need BSEC.
    BME688 Arduino example code has been supported, you could migrate it to ESP32 platform and read raw data from BME688.

    Dear BSTRobin,

    Thank you for you reply!

    Yes, I can use only BME68x library on Arduino IDE 2.0 for MKR Wifi 1010 or esp32.

    Many 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