Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BME680 with the PIC18

    BME680 with the PIC18

    xeroblaze
    Member

    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?

    Specifics:
    MCU: PIC18LF26K42
    Compiler: XC8
    IDE: MPLAB X v 5.45
    COMM: SPI


    Just looking to get pointed in the right direction.

    4 REPLIES 4

    BSTRobin
    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 https://www.bosch-sensortec.com/about-us/contact/contact-form, 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-
    gnueabihf-gcc
    71k 56k 1k armv6-32bits
    Raspberry PI3 linux arm-linux-
    gnueabihf-gcc
    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: https://cdn-shop.adafruit.com/product-files/3660/BME680.pdf

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

    BSTRobin
    Community Moderator
    Community Moderator

    Hello xeroblaze,

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

    https://www.bosch-sensortec.com/software-tools/software/bsec/

    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