Bosch Sensortec Community

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

    BNO055 detecting interrupt pin when waking up in Low Power Mode

    BNO055 detecting interrupt pin when waking up in Low Power Mode

    jlao
    Member

    Hi!

    I am developing a project where I need the BNO055 chip to work in low power mode consuming 0.5mA as the datasheet says. I am using and Arduino UNO which will be in a sleep mode. The task is to wake up the Arduino UNO when the BNO055 wake up inside the low power mode by the interrupt pin. I managed to configure and read the interrupt pin with all the possible motion interrupts in normal power mode. The problem comes in low power mode when the BNO055 goes to sleep after the 5 (default configuration) seconds, at this moment the interrupt pin is set to HIGH, although I only configured the INT_MSK register for any motion interrupts. I readed the register INT_STA to see which kind of interrupt was, only the bit 7 was 1, so it was a no motion interrupt(In the INT_MSK register this interrupt is disabled, so the PIN shouldn't be set to HIGH). Reading the current consumption with a multimeter, the interrupt PIN is set to HIGH at the moment when the current changes to 0.5mA. Once the interrupt PIN is set to HIGH i will not detect the new interrupt signal of waking up, as I need to reset de PIN. Can I reset the PIN while the BNO055 chip is sleeping inside the low power mode? All my attempts to reset the PIN wake up the chip.

    I would like to know if it's possible to achieve this task with the BNO055 chip, only set the interrupt PIN to HIGH when the BNO055 chip wakes up inside the low power mode. 

    5 REPLIES 5

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    Thanks for your inquiry.

    BNO055 can be configured to enter low power mode automatically when there is no motion and enter normal mode when any motion interrupt is triggered. Please refer to table 3-2 on page of BNO055 datasheet at https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bno055-ds000.pdf for the settings.

    This means that when there is no motion for 5 seconds, BNO055 will enter low power mode automatically consuming 0.5mA. At this time the INT line will stay high. Whenever any motion is detected, INT line will go low immediately and BNO055 will enter normal mode automatically. If your Arduino UNO can capture the falling edge of the INT line, then Arduino UNO can wake up and do something.

    When there is no motion for 5 seconds again, BNO055 will enter low power mode again and INT line will become high. So if your Arduino UNO can capture the rising edge of the INT line, then your Arduino UNO can go to sleep mode.

    Thanks.

    Hi,

    Thanks for your answer! 

    I tried again, this time reading the voltage of the INT line, as you mentioned, it goes HIGH when the BNO055 enter the low power mode and starts to consum 0.5mA. When the BNO055 detects movement it enters in normal power mode, I am sure because i am reading the consumption with the multimeter and it changes from 0.5mA to 4mA, but the INT line does not go LOW, it keeps on HIGH. So there is no falling edge that I can capture. Should I configure something else in any register?

    Thanks for your time.

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    There is a falling edge on the BNO055 INT pin, but the duration when low is only 1us as shown in the attached JPG file. That is the reason why you don't see the falling edge. If you use a logic analyzer or oscilloscope on the BNO055 INT pin, then you should be able to see the pulse.

    Thanks.

     

    Hi!

    Thanks for your answer! I was not able to detect the falling edge in the INT Pin, I guess my problem lies in the configuration of the registers. The attached file shows the register I am modifying. Could you tell me if my configuration is correct? Should I write any other register? 

    Thank you in advance!

    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