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?
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.
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.