I am still not a genius in programming. I have trouble getting the Bosch BNO055 handled.
I need simply to get out the heading data when connected through I2C (50, 0x29) but somehow I don`t get that handled..
Of course, this is part of a bigger thing and I need this to come further.
I could calibrate the sensor and I tried also to restore the calibration data to avoid a recalibration each time the sensor gets powerless. This I already dropped for now because it just does not find any documentation I do understand yet. This, of course, does not mean that there is no...
Is there anybody so kind and shows me the lines I need to get the heading in degrees out of the sensor?
Yes, I do experiment with the library from Adafruit and there I do get the data out.
But as soon as I try to integrate this or just reduce the sketch down to heading data nothing happens.
I do put the stuff from header section, the setup (what I think is necessary) and from the loop section into the reduced heading sketch but... like mentioned I don`t get it handled.
When if have figured out how to restore the calibration
Follow the proper calibration procedure, described in the BNO055 manual and on line.
Calibration continues in the background, so you need to periodically read the calibration status register, and ignore readings when the value is not satisfactory.
jremington:
Follow the proper calibration procedure, described in the BNO055 manual and on line.
Calibration continues in the background, so you need to periodically read the calibration status register, and ignore readings when the value is not satisfactory.
I thought so. The thing is that the device I want to build does not have power when it is not used and there is no chance to calibrate it before each use. Several people have been in this situation how I could read. So to avoid the calibration each time the best solution I found was to do a lot of calibrations, average the values and restore them each time the calibration is lost when the BNO055 lost the power to long.
I could use a coin cell for backup right and in suspend the BNO uses just a couple of microA but the environment where the whole thing should be installed let me be skeptical about the Coin cell.