CMPS14 and BNO055 modules - software compatability

I have an existing project that uses the BNO055 module as a compass, but it doesn’t work well. I’m hoping that the CMPS14 will solve my problems.

I would like to know if the two modules are compatible from a software perspective. I expect to make some small changes to my Arduino sketch if necessary but I’m hoping that nothing major is required since these two breakout modukes use a near identical chipset.

CAn anybody confirm?

Many thanks

Bob W

Hello @robkw!

Can you provide the links for the modules you are planning on using? (I’m asking because there are different modules that use those sensors)

Also, if you are using any libraries can you share the link?

Hi @geraldinebc15 ,

Many thanks for the response. I am using the Adafruit BNO055 module and library. I have been doing some research myself and have now read the CMPS14 datasheet. I can see that the interface is different but, it will not be too difficult to adapt my sketch. Is there an Arduino library for the CMPS14?

Thanks

Hi @robkw,

I’m not aware if the CMPS12/11 I2C uses the same protocol as the CMPS14 but perhaps this could work:

https://www.robot-electronics.co.uk/htm/arduino_examples.htm#Tilt%20Compensated%20Magnetic%20Compass

If not, this should work:

Regards

@geraldinebc15 - Thanks Geraldine, I’ll give them a try