Bosch Sensortec Community

    Showing results for 
    Search instead for 
    Did you mean: 

    BME680 with the PIC18

    BME680 with the PIC18


    I'd like to use the BME680 with the PIC18 for a gardening project. There's an XC32 library floating around, but are there any resources for XC8?

    MCU: PIC18LF26K42
    Compiler: XC8
    IDE: MPLAB X v 5.45

    Just looking to get pointed in the right direction.

    4 REPLIES 4

    Community Moderator
    Community Moderator

    Hello xeroblaze,

    We support hundreds of microcontrollers and application processors that are the most popular at the moment. As PIC18 is not supported, I would recommend that you select a more common MCU architecture, such as ARM Cortex M series.  If you have to use PIC18 in your design, you could visit, and use the contact form to submit your request.

    Platform Compiler ROM (BSEC) ROM (BSEC lite*) RAM TYPE
    Cortex-ARM ARMCC 19-20k 12-13k 1k Cortex-M0, M0+, M3, M4, M4_FPU, M7
    Cortex-ARM GCC 20-22k 12-14k 1k Cortex-M0, M0+, M3, M4, M4_FPU, M7
    Cortex-A* GCC 21k 13k 1k Cortex-A7
    AVR_8bit AVR-GCC 42k 25k 1k MegaAVR, XMEGA
    AVR_32bit AVR-GCC 24k 13k 1k 32-bit AVR UC3
    ESP8266 xtensa-lx106-elf-gcc 28k 17k 1k ESP8266
    ESP32 xtensa-esp32-elf-gcc 24k 14k 1k ESP32
    MSP430 msp430-elf-gcc 34k 20k 1k MSP430
    Android system-x86 gcc 39-49k 22-26k 1k x86, x86_64
    Android system-arm gcc 21-38k 13-19k 1k arm, arm64
    IAR gcc 20k 12-13k 1k Cortex-M0, M0+, M3, M4, M4_FPU, M7
    Raspberry PI0 linux arm-linux-
    71k 56k 1k armv6-32bits
    Raspberry PI3 linux arm-linux-
    72k 57k 1k armv8-a-64bits

    Thanks for the contact link. I'd prefer to keep to MCU as-is due to power constraints.

    I found this data sheet:

    I'm going to see if I can read the chip id using the SPI functions the MCC spat out.

    Community Moderator
    Community Moderator

    Hello xeroblaze,

    You could download SW package from the following link, it included BME680 sensor API and BSEC example code.