Bosch Sensortec Community

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

    BHI260AB calibration

    BHI260AB calibration

    Gideon
    Long-established Member

    Hello,

    I want to know the way how to calibration all of the sensors(acc, gyro, mag) in BHI260AB.

    1. If you have any guide documents for it, please let me get them.

    2. "bhy2_set_calibration_profile", Do I have to use this for calibration? Then, let me get an example to do it.

    3. In the Development Desktop 2.0, there is a "sensor status", but no changes. How do I see it?

    Best Regards,

     

    11 REPLIES 11

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    Thanks for your inquiry.

    Please refer to the Youtube video about how to calibration BNO055 accel, gyro and mag at https://www.youtube.com/watch?v=Bw0WuAyGsnY. It is the same for BHI260AB.

    After you get accel, gyro and mag calibrated which means that their accuracy status reach 3 from 0, then you can save the calibration profile in your MCU flash memory and then load it to BHI260AB after its next time power on so that BHI260AB will be calibrated quickly.

    In DD2.0 GUI SW, you need to click "Refresh" button to see the accuracy status of accel, gyro and mag to see if they are fully calibrated or not. Please see the attached PDF file for more information.

    Thanks.

    Gideon
    Long-established Member

    Hello,

    Thanks for your support. 

    So, do I have to use bhy2_set_calibration_profile for save the profile in MCU flash? Then could you share an example code for it.

    Regards,

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    If your device works at fixed location, then saving calibration profile can help quickly get BHI260AB accel, gyro and mag calibrated and ready to go. But if your device travels from one place to another, then BHI260AB will always do calibration automatically on the background. You can use the sensor fusion results after each sensor calibration or accuracy status reaches 3. This means that you odn't need to save calibration profile in MCU's flash.

    Please refer to API code on the Github for the example of how to save and load calibration profile.

    Thanks.

    btruden_henway
    Long-established Member

    Hi FAE_CA1,

    As far as I know, the way to get the calibration status of the accel/gyro on the BHI260 is by catching the meta event "Sensor Status":

    btruden_henway_0-1645019791800.png

    In my case, I do not always get the Sensor Status meta event. And when I get it, It's just one meta event that indicates to me that the accelerometer calibration status changed to 3 (the highest value). But as I say, sometimes I don't get any Sensor Status meta event at all. No matter if I follow the procedure shown in the video:

    https://www.youtube.com/watch?v=Bw0WuAyGsnY

    So my question is:

    Is there some way to ask for the calibration status instead of waiting to the Sensor Status Meta Event?

    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