Adafruit BNO08x Tare Functionality

Hello,

I am using the BNO08X and its Adafruit Library. However, this sensor spits out random values and although I've seen people use some magnetometer calibration to solve this, I want to use the tare functionality offered by Adafruit to solve the issue. However, I have less experience in coding with Arduino and I could use some sample code in order to use the tare. Can someone help?

Thanks,
ShivPat

1 Like

Have you tried the examples in the Adafruit Library?

Hi!

So I tried this example from Sparkfun Library with its own Tare Example, but because I do not have the hardware component in order to run this sketch, I am not able to run the Tare Example. Unfortunately, the Adafruit Library has only 3 examples but none of them use the tare functionality.

1 Like

It should not be that hard. Weigh your empty container and note that value. Place product in the container and weigh again. Subtract the first reading (Tare) and you will get the net weight. If you want further help post your schematic and your code explaining where the problem appears. We are more then willing to help. Think of tare as zero offset.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.