Skip to content

BNO086 hanging #109

@mihaioltean

Description

@mihaioltean

I have tried the SparkFun VR IMU Breakout - BNO086 with Arduino Mega (over I2C), but sometimes (not always) the sensor hangs when trying to connect to it.

It displays the "BNO08x Read Example" message, but nothing else.
I have to plug it in again or reset the Arduino board multiple times before it works.

How can I make it work reliably?

  Serial.println("BNO08x Read Example");

  Wire.begin();

  //if (myIMU.begin() == false) {  // Setup without INT/RST control (Not Recommended)
  if (myIMU.begin(BNO08X_ADDR, Wire, BNO08X_INT, BNO08X_RST) == false) {
    Serial.println("BNO08x not detected at default I2C address. Check your jumpers and the hookup guide. Freezing...");
    while (1)
      ;
  }
  Serial.println("BNO08x found!");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions