Thanks RonW!

I was a bit vague as I didn't want to be pedantic about details. What you're referring to is "magnetic declination" and I am aware of that, and understand it's not being considered here.

My main purpose for this little contraption (it's going to end up looking something like this) is for when I'm on my multi-kilometre hikes in the mountains, I turn the device on, press a button that writes to EEPROM the current lat/lon, then turn it off and throw it in my backpack.

In the extraordinary event that my land orienteering fails me with my map/compass due to exhaustion or lack of visibility because I'm in a large stand of 300' cedar trees and I get lost, I pull the unit back out, turn it back on, and press another button to "go back to the last save point". It'll then display the degrees and direction and distance I need to travel to get back to home base, which I'll use along with my compass if need be.

For these cases, if I'm only hiking say 30-40 km, declination corrections not being preset shouldn't be much of an issue. If I find that it is during trial runs, I'll calculate that into the software and go from there :)

I've already got duplicates of all the hardware I need (Arduino Trinket Pro, OLED screen, batteries (I'm going to test several), and the GPS sensor itself. I'm also adding in for convenience after the initial rig is completed and tested, micro USB charging port for the battery (so I can connect it to my portable solar rig to charge), an FTDI interface for the microproc so I can easily connect via serial for troubleshooting new code, and an SD card breakout so I'll be able to actually save my hiking paths if I ever so desire.


In reply to Re^2: Calculate bearing between GPS coordinates by stevieb
in thread Calculate bearing between GPS coordinates by stevieb

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.