sparkfun / SparkFun_BNO080_Arduino_Library

An Arduino Library for the BNO080 IMU combination triple axis accelerometer/gyro/magnetometer packaged with an ARM Cortex M0+ running powerful algorithms.
Other
81 stars 62 forks source link

[Request] BNO080 UART library #15

Closed m2oswald closed 4 years ago

m2oswald commented 6 years ago

Hi there. I was wondering if you have any sketches that communicate via UART? The I2C sketches work great, but I need UART because my device will be located a few meters away from the Arduino (I'm using the Serial1 pins on a Mega). I have been trying for a few days now but have gotten nowhere. Any help/advice you could give would be GREATLY appreciated. Thanks.

nseidle commented 6 years ago

Hi, we don't currently plan to add UART support right now. If there's anyone who'd like to take it on we'd be thrilled to have a preliminary PR.

Ajay-Embed commented 5 years ago

I'd like to take it on

nseidle commented 5 years ago

Great! Thank you! Please create a branch and let me know if you have any questions.

PaulZC commented 4 years ago

Hi @m2oswald , Looking at the BNO080 datasheet, there are two ways the UART can be used:

If RVC mode is all you need, you should be able to parse the data quite easily by following the protocol definition in the datasheet. If you need the full SHTP protocol then, sadly, 3Mb/s is out of reach for most standard platforms. I am going to close this issue as I don't think there is any way we can help you, but please reopen if we have missed something. Best wishes, Paul