Get solar panel direction

Magnetometer (mG) — assumes the pole is vertical

Enter mx & mz to compute heading.
Formula: heading = atan2(-mx, mz) → 0° = North, 90° = East, 180° = South, 270° = West
Compass Shows magnetic heading computed from mx and mz. N E S W

Harper Adams Solar Station alignment tool