I have been working on a mobile project that needs to know the direction of true north.The project I am interested in is a vehicle mounted solar tracker that will be used in Europe and northern Africa to keep our leisure batteries topped up.
#ifndef AP_Declination_h#define AP_Declination_h#include <Arduino.h> // added this#include <avr/pgmspace.h>#include <math.h>
//#include <FastSerial.h> // removed this//#include <AP_Common.h> // removed this#include <Arduino.h> // added this#include <AP_Declination.h>#include <avr/pgmspace.h>#include <math.h>
me again!+12 degrees in Northern FinlandBotswana -11 degreestrouble is magnetic substrata can have a massive local effectI recall seeing aeronautical isocline charts for Scandinavia with loops and whorls like a fingerprint
I don't understand why you're trying to deal with magnetic declination and so on. It seems that the objective is to predict the position of the sun so you can point a solar collector at it. To do that you need to know the lat/log, time and direction of North. But just how accurately do you need to know which way is North? Or put another way, just how directional is your solar collector? If it's a flat PV panel, it's not very directional at all. Surely, a GPS position and time fix plus a bog standard uncorrected magnetic compass is going to get you better accuracy than you need. If you don't think it is, then what sort of accuracy are you aiming for, and why?
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16