k3ng / k3ng_rotator_controller

K3NG Arduino Amateur Radio Rotator Controller
http://blog.radioartisan.com/yaesu-rotator-computer-serial-interface/
GNU General Public License v3.0
174 stars 125 forks source link

Tilt Compensated Compass #63

Open RCStephen opened 4 years ago

RCStephen commented 4 years ago

Hello,

I would like to suggest that the compass sensors be tilt compensated as a 1-2 error in level has a very significant affect on indicated heading.

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

Supermagnum commented 3 years ago

It's not that hard to do using a BerryGPS-IMU v3 or similar: https://ozzmaker.com/compass2/