Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BNO055 Calibration Issue

    BNO055 Calibration Issue

    jdatqed
    New Poster

    I am trying to calibrate my BNO055 sensor but I am getting some strage results. My code first sends a reset signal to the sensor and then waits 1 second before sending a command over I2C to put it into NDOF mode. Then I try to read the CALIB_STAT register until I receive 0xFF as a response. If I send the command to enter NDOF mode just once at the beginning of my code, I just read 0 from the CALIB_STAT register no matter how much I mode the sensor around. If I send the command for NDOF mode continuously in the same loop that I try to read the CALIB_STAT register, I will read 0x3F sporadically for about 1-2 seconds and then the register will read 0 again. I'm not sure if my assumption that I should be getting 0xFF back is correct but even if I only need to read 0x3F, I can only seem to get that status for a couple of seconds at a time. Any suggestions would be much appreciated.

     

    Thank you

    1 REPLY 1

    Vincent
    Community Moderator
    Community Moderator

    The correct way to do sensor calibration is as following:

    1. power on the BNO055 sensor

    2. set to the NDoF mode

    3. keep board in still for few mini-seconds

    4. move the boards along to positive and negative position of each axis

    5. then trying to keep reading the CALIB_STAT register, then you will get 0xFF value in the end

    It will take a few seconds to get all calibration done.  but normally, you just make sure system calibration, gyro calibration and magnetic calibration goes to 3, then your output is good enough.  acc calibration will go to 3 during your usage. 

    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