Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BNO055 always reads zero on all sensors and fusions

    BNO055 always reads zero on all sensors and fusions

    Eirenliel
    Member

    Hello, I'm running BNO055 via I2C, basically using examples from the driver https://github.com/BoschSensortec/BNO055_driver, I can talk to the IC, and get those versions:

    chip id A0, softwared rev 311, accel id FB, mag id 32, gyro id F, bootloader rev 15

    I set it into power mode 0 (BNO055_POWER_MODE_NORMAL) and I tried all operation modes, but when I try reading sensor data or fusion data, I get all 0, my quaternion is 0,0,0,0 and each sensor also returns 0,0,0. Calibration status status first reads 0330 (3 for accel and gyro, 0 for sys and mag) in IMU mode, but then reads 0000 for all sensors.

    I tried two different chips, they give the same results. Looks like sensors themselves don't start by some reason, and I can't figure out why.

    9 REPLIES 9

    Eirenliel
    Member

    Additional information: I'm getting 1 from SYS_STATUS and 5 from SYS_ERR, but there don't seem to be any reason for it. I checked all read/writes, I always write at proper addresses and always on page 0, the driver itself properly handles it.

    Another piece of information: if I set operation mode to 8 (IMU) right before reading quaternion, I can get data. But I need to do it every time, it quickly resets to 0 (Config) otherwise. This. obviously, shouldn't be like this, because it's slow and readings seem to be not very good in this way.

    I monitor my I2C, nothing resets it to, it does it by itself. Almost like something restarts the sensor, but there is nothing that could do it.

    BSTRobin
    Community Moderator
    Community Moderator

    Hello Eirenliel,

    Both power mode and operation mode should be configured. You could refer it from "https://github.com/BoschSensortec/BNO055_driver/blob/master/bno055_support.c".
    Is there any difference between your code and github code?

    Hello Sir, I face similar issue in the bno55. What do you mean by setting 8 to operation mode? Can you explain about that?

    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