htool / ESP32_Precision-9_compass

MPU9250 and ESP32 emulation of Precision-9 compass
Apache License 2.0
7 stars 1 forks source link

ESP32_Precision-9_compass

MPU9250 and ESP32 emulation of Precision-9 compass

The aim is to use standard config screen in the B&G Zeus/Vulcan/Triton(2) to configure offsets and do calibration.

Heavily borrowed code from here: https://www.instructables.com/Quaternion-Compass/

As first use, TASK needs to be set to 1 for compass (figure 8) calibration. Then TASK 2 for gyro/accel calibration. This is to allow sensor calibration to happen at home. The calibration offsets are stored in EEPROM so they don't have to be done again when mounted in the boat.

Afterwards leave in TASK 5.

What's working:

What's half working:

What's not working