But an easy option is to add support for the CMPS12 and CPMS14 that have all the calculations done internally at a cost, but I'd be prepared to pay for an accurate heading. This option should be really easy to add as it requires no significant coding, Libraries for Arduino are already available.
It is still probably NOT a good idea to try to use a single sensor as accuracy and instability occurs at high elevation angles. The Tilt compensation is I think important as the error seems to vary with heading even with 1 or 2 degree error from level.
Hello,
May be possible with the LSM303, but examples. https://www.instructables.com/id/Tilt-Compensated-Compass/
But an easy option is to add support for the CMPS12 and CPMS14 that have all the calculations done internally at a cost, but I'd be prepared to pay for an accurate heading. This option should be really easy to add as it requires no significant coding, Libraries for Arduino are already available.
It is still probably NOT a good idea to try to use a single sensor as accuracy and instability occurs at high elevation angles. The Tilt compensation is I think important as the error seems to vary with heading even with 1 or 2 degree error from level.
Robert