# Linear compass display to use with a MPU

**URL:** <https://discourse.processing.org/t/linear-compass-display-to-use-with-a-mpu/48060>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [March 9, 2026, 8:18pm UTC](https://discourse.processing.org/t/linear-compass-display-to-use-with-a-mpu/48060 "2026-03-09T20:18:02Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [March 16, 2026, 12:40pm UTC](https://discourse.processing.org/t/linear-compass-display-to-use-with-a-mpu/48060/17 "2026-03-16T12:40:43Z")

</div>

> [@philtkp](#):
>
> going try it on some of the one’s i have here, mpu9250, GY80, gy521, BNO055

I remember my first experience with the BNO055!  
The yaw, pitch and roll were a firmware bug and I had to use quaternions and convert to Euler angles!  
That was a challenge I overcame.

> [@rotateZ() not working as expected](https://discourse.processing.org/t/rotatez-not-working-as-expected/843/9):
>
> I got my Adafruit BNO05 sensor! I do get “glitches” when I rotate at larger angles with my code and yours as well. [https://learn.adafruit.com/adafruit-bno055-absolute-orientation-sensor/faqs](https://learn.adafruit.com/adafruit-bno055-absolute-orientation-sensor/faqs) Adafruit states: "The Euler angles coming out of the chip are based on ‘automatic orientation detection’, which has the drawback of not being continuous for all angles and situations. According to Bosch BNO055 Euler angle output should only be used for eCompass, where pitch and roll stay below 45 degree…

You topic has inspired me to revisit some of my projects.

`:)`

---

_[View the full topic](https://discourse.processing.org/t/linear-compass-display-to-use-with-a-mpu/48060)._
