# Is there a good library for Adafruit 9-DOF Absolute Orientation IMU Fusion Breakout - BNO055

**URL:** https://community.particle.io/t/is-there-a-good-library-for-adafruit-9-dof-absolute-orientation-imu-fusion-breakout-bno055/31837
**Category:** Libraries
**Created:** [April 18, 2017, 10:02pm UTC](https://community.particle.io/t/is-there-a-good-library-for-adafruit-9-dof-absolute-orientation-imu-fusion-breakout-bno055/31837 "2017-04-18T22:02:12Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![zomerfeld](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/zomerfeld/32/14026_2.png) [@zomerfeld](https://community.particle.io/u/zomerfeld)
#### Post date: [April 18, 2017, 10:02pm UTC](https://community.particle.io/t/is-there-a-good-library-for-adafruit-9-dof-absolute-orientation-imu-fusion-breakout-bno055/31837/1 "2017-04-18T22:02:12Z")

</div>

that will let me get the compass data?

> **[Adafruit 9-DOF Absolute Orientation IMU Fusion Breakout - BNO055](https://www.adafruit.com/product/2472)**
>
> If you've ever ordered and wire up a 9-DOF sensor, chances are you've also realized the challenge of turning the sensor data from an accelerometer, gyroscope and magnetometer into ...

---

<div class="post-metadata">

### Author: ![RWB](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rwb/32/22599_2.png) [@RWB](https://community.particle.io/u/RWB)
#### Post date: [April 18, 2017, 10:16pm UTC](https://community.particle.io/t/is-there-a-good-library-for-adafruit-9-dof-absolute-orientation-imu-fusion-breakout-bno055/31837/2 "2017-04-18T22:16:50Z")

</div>

I’m working on the same thing right now but with a different sensor.

 ![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/4/4310e70726b688dddbe8e4dd19d0ca7821a2cc20.jpg)

> **[Adafruit Precision NXP 9-DOF Breakout Board](https://www.adafruit.com/product/3463)**
>
> The NXP Precision 9DoF breakout combines two of the best motion sensors we've tested here at Adafruit: The FXOS8700 3-Axis accelerometer and magnetometer, and the FXAS21002 3-axis ...

This seems to be one of the best sensors with tilt calibration built into the NXP Fusion library but for some reason the compass readings are not right even after running the Motion Cal software.

I was hoping this would be a sensor that just worked after all the previous chips fell short. Others have used this with no problems in the past so I know it’s possible to get great results with it.

I’m trying to use the Teensy 3.2 along with Adafruits sensor by using the Teensy Prop Shield with the same sensors but I can’t get the code Teensy provides to work with the Teensy 3.2 + Adafruit board yet.

[https://www.pjrc.com/store/prop\_shield.html](https://www.pjrc.com/store/prop_shield.html)

I’m just looking for compass heading 0-360 degrees with tilt compensation and after some more searching I feel that may happen.

Doesn’t the BNO055 have Sensor Fusion code built in?

---

<div class="post-metadata">

### Author: ![zomerfeld](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/zomerfeld/32/14026_2.png) [@zomerfeld](https://community.particle.io/u/zomerfeld)
#### Post date: [April 23, 2017, 5:24am UTC](https://community.particle.io/t/is-there-a-good-library-for-adafruit-9-dof-absolute-orientation-imu-fusion-breakout-bno055/31837/3 "2017-04-23T05:24:58Z")

</div>

I don’t know, how do I check?

but I gotta say - I have one of the BNO055 and they seem to be one of Adafruit’s more popular one.  
Would love to be able to use it with the particle. I’m as likely to use an arduino mkr1000 over a photon than to buy one more breakout for this project.

---

<div class="post-metadata">

### Author: ![nrobinson2000](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nrobinson2000/32/15624_2.png) [@nrobinson2000](https://community.particle.io/u/nrobinson2000)
#### Post date: [April 23, 2017, 6:31am UTC](https://community.particle.io/t/is-there-a-good-library-for-adafruit-9-dof-absolute-orientation-imu-fusion-breakout-bno055/31837/4 "2017-04-23T06:31:30Z")

</div>

Here is my port of the Adafruit\_BNO055 library. It works very well with my Photon and BNO055 board.

> **[nrobinson2000/particle-BNO055](https://github.com/nrobinson2000/particle-BNO055)**
>
> particle-BNO055 - Particle port of Adafruit\_BNO055

---

<div class="post-metadata">

### Author: ![zomerfeld](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/zomerfeld/32/14026_2.png) [@zomerfeld](https://community.particle.io/u/zomerfeld)
#### Post date: [April 25, 2017, 12:19am UTC](https://community.particle.io/t/is-there-a-good-library-for-adafruit-9-dof-absolute-orientation-imu-fusion-breakout-bno055/31837/5 "2017-04-25T00:19:40Z")

</div>

Nathan, I’m not getting anything on Serial with this library and the example code.  
Can you share your code?

---

<div class="post-metadata">

### Author: ![nrobinson2000](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nrobinson2000/32/15624_2.png) [@nrobinson2000](https://community.particle.io/u/nrobinson2000)
#### Post date: [April 25, 2017, 2:42am UTC](https://community.particle.io/t/is-there-a-good-library-for-adafruit-9-dof-absolute-orientation-imu-fusion-breakout-bno055/31837/6 "2017-04-25T02:42:23Z")

</div>

When you say you are not getting anything on serial do you mean serial is not working or do you mean you are getting garbage readings?

My library should have all the code…

---

<div class="post-metadata">

### Author: ![duckman](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@duckman](https://community.particle.io/u/duckman)
#### Post date: [May 14, 2017, 12:12pm UTC](https://community.particle.io/t/is-there-a-good-library-for-adafruit-9-dof-absolute-orientation-imu-fusion-breakout-bno055/31837/7 "2017-05-14T12:12:20Z")

</div>

Hi, l have on order the adafruit NXP. I have also used the BNO055 and they don’t work as hoped. They fail when velocity is applied to the IMU, due to the auto calibration which can’t be switched off. Adafruit are saying the new IMU can do as well on the tilt compensated heading which is what l’m after for a yacht auto pilot.  
The BNO055 was very accurate ± 2 degrees tilt error but would drift when velocity was applied or would not update, plenty of posts re this problem.

Quote “Others have used this with no problems in the past so I know it’s possible to get great results with it.”

I haven’t yet seen/read anyone even write about the latest IMU (apart from this post, please give posts), its only been out for less than 1 month from what l am aware.

BNO055 has fusion built into the chip, that is were the problem comes from, the NXP has to have all the data calculated on your board.  
Are you using the latest ARHS from Adafruit, as it has the NXP calibration via Motion Cal and has a version for ardunio.  
Regards Kevin

---

<div class="post-metadata">

### Author: ![vincenthure](https://avatars.discourse-cdn.com/v4/letter/v/c2a13f/32.png) [@vincenthure](https://community.particle.io/u/vincenthure)
#### Post date: [February 2, 2018, 11:18am UTC](https://community.particle.io/t/is-there-a-good-library-for-adafruit-9-dof-absolute-orientation-imu-fusion-breakout-bno055/31837/8 "2018-02-02T11:18:11Z")

</div>

hello I am working with IMU and arduino (mini) to make a autopilot for sailing boat.  
I first try the BNO055 and I was happy with the autocalibration process.  
So I jump to the NXP FXOS8700CQ and I become crazy because it don’t work well.  
I successfully calibrate it with the MotionCal software and use the AHRS\_fusion\_usb library to get the yaw. But it get bad value and I don’t understand what’s wrong.  
Hardware problem or Software problem I can’t say!  
Has somebody the same problem?  
I make test since 2 weeks, but never get the north.  
best regards  
Vincent

---

<div class="post-metadata">

### Author: ![nrobinson2000](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nrobinson2000/32/15624_2.png) [@nrobinson2000](https://community.particle.io/u/nrobinson2000)
#### Post date: [February 2, 2018, 12:27pm UTC](https://community.particle.io/t/is-there-a-good-library-for-adafruit-9-dof-absolute-orientation-imu-fusion-breakout-bno055/31837/9 "2018-02-02T12:27:34Z")

</div>

> [@vincenthure](#):
>
> arduino (mini)

This forum is intended for discussion of Particle devices and services.
