BNO086 Breakout board spikey data with Euler Angles Examples

Hello,

I bought a Sparkfun BNO086 IMU breakout board from RoboSavvy in the UK. I’m trying to use the Eurler Angles Example which is included with the library: https://github.com/sparkfun/SparkFun_BN … ulerAngles

However the data has random spikes in of 10s or 100s of degrees that shouldn’t be there. I’ve attached a picture of the Arduino serial plotter output. Overall the data looks fine apart from the spikes which occur every second or two.

I’ve tried it with a Genuine Arduino Due and also two MKR Zeros, I’ve changed the jumper wires, the breadboard, and the USB cable. I’ve attached a pictureof the setup - its just GND and 3.3V connected and the two SDA/SCL wires.

Robosavvy also sent me a replacement BNO086 board but this gives exactly the same results.

The other Arduino examples seem to work ok, but I really want the fused sensor angles for balancing robot projects since that seems to be the main selling point.

Any ideas?

Thanks

James Bruton

Hello, thanks for reaching out.

Try and connect the INT and RESET pins in addition to defining them in the code. See here for details:

https://docs.sparkfun.com/SparkFun_VR_I … -via-qwiic

Doing so should assist with communication to the BNO086. SPI is also another option that seems to be more reliable than just SDA/SCL as far as testing shows.

Let us know if this fixes the issue.

Thanks, it works now I’ve added the pin definitions and altering the begin statement by copying them from example 17.

The guide says the two extra pins and definitions are only required for the advanced examples 17 & 18 though, so it’s probably updating the other examples like 13 that require it, and correcting the documentation, rather than leaving them incomplete.

Excellent, I am glad to hear thing are working now.

I will relay this information to our engineer and see if we can change documentation.