Get solar panel direction
Magnetometer (mG) — assumes the pole is vertical
X (mx)
Z (mz)
—
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