Free 173 Best Homemade Tools eBook:  
Get 500+ homemade tool plans, tool build guides, ebooks, and much more.

User Tag List

Results 1 to 7 of 7

Thread: Global Positioning System Arduino Interface Software

  1. #1
    rgsparber's Avatar
    Join Date
    Nov 2012
    Location
    Phoenix, AZ
    Posts
    828
    Thanks
    408
    Thanked 1,727 Times in 448 Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    rgsparber's Tools

    Global Positioning System Arduino Interface Software

    Global Positioning System (GPS) and Global Navigation Satellite System (GNSS) devices are available at a wide range of prices and are fun to use in an Arduino based project. The hitch is that they spew out “NEMA Sentences” which are easy for people to read but tricky for software. I found a few programs online that convert the sentences to a collection of simple variables, but none would run on my Sparkfun Pro Micro. In the end, I found it necessary to code my own set of subroutines.

    If you are interested, please see

    https://rick.sparber.org/GNSS_InterfaceSoftware.pdf


    Your comments are welcome. All of us are smarter than any one of us.

    Thanks,

    Rick
    45 Best Harbor Freight Tool Modifications

    Rick

  2. The Following 8 Users Say Thank You to rgsparber For This Useful Post:

    byates (04-16-2020), DIYer (04-14-2020), FEM2008 (04-15-2020), JoeVanGeaux (04-19-2020), Jon (04-17-2020), lowracer (04-15-2020), nova_robotics (04-16-2020), Seedtick (04-15-2020)

  3. #2
    Content Editor
    Supporting Member
    DIYer's Avatar
    Join Date
    Aug 2013
    Posts
    3,090
    Thanks
    551
    Thanked 1,313 Times in 1,185 Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    500+ Homemade Tool Plans



    Thanks rgsparber! We've added your GPS Data Converter to our Electronics category,
    as well as to your builder page: rgsparber's Homemade Tools. Your receipt:



    Forge Build Guide


  4. #3

    Join Date
    Jul 2019
    Location
    Ohio, USA
    Posts
    41
    Thanks
    69
    Thanked 17 Times in 12 Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks rgsparber. I have saved a copy of your pdf. This will come in handy, If I ever get back to finishing a project I started a couple of years back.

  5. #4
    Supporting Member jdurand's Avatar
    Join Date
    May 2019
    Location
    Los Gatos, California, USA & Goryachy Klyuch, Krasnodar Krai, Russia
    Posts
    921
    Thanks
    78
    Thanked 531 Times in 286 Posts
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    jdurand's Tools
    Am I correct in assuming whatever Arduinos use for their scripting doesn't have an equivalent to SSCANF() from the C language? Now granted I often roll my own for specialized things so I don't need to load in the whole library, but the STRING.h stuff is awfully handy when it's there.

  6. #5
    rgsparber's Avatar
    Join Date
    Nov 2012
    Location
    Phoenix, AZ
    Posts
    828
    Thanks
    408
    Thanked 1,727 Times in 448 Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    rgsparber's Tools
    Quote Originally Posted by jdurand View Post
    Am I correct in assuming whatever Arduinos use for their scripting doesn't have an equivalent to SSCANF() from the C language? Now granted I often roll my own for specialized things so I don't need to load in the whole library, but the STRING.h stuff is awfully handy when it's there.
    I'm not familiar with SSCANF() but suspect someone has written a version that runs on some Arduinos. The problem I found is that people write such tools and they don't run on my version of Arduino. I figure that by keeping the code simple, it should be portable.

    It certainly was a lot more work than I thought it would be given all of the different failure modes. Yet, it was a fun challenge.

    Rick
    Rick

  7. #6
    Supporting Member Christophe Mineau's Avatar
    Join Date
    Jul 2014
    Location
    France, Brittany !
    Posts
    767
    Thanks
    510
    Thanked 1,290 Times in 415 Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Christophe Mineau's Tools
    Great work Rick, and useful indeed.
    Yes sscanf works fine in Arduino, but as often, on micro devices, firmwares often require to recode things to exactly fit the need.
    Nice to have error management for the robustness.
    I've never had so far the need for GPS application in standalone Arduino projects, what do you do with it ?
    However, I could see the interest for raspberry Pi project, which can communicate and store bulk data.
    It would be certainly portable for raspi I guess .
    Could use it to geolocalize pictures for instance on my raspi based Wilde life camera.
    Thanks for all the work !
    Cheers !
    Christophe
    ________________________________________________________________
    Visit my Website : http://www.labellenote.fr/
    Facebook : La Belle Note
    All my personal works, unless explicitly specified, are released under
    Creative Commons BY-NC-SA license.

  8. #7
    Supporting Member jdurand's Avatar
    Join Date
    May 2019
    Location
    Los Gatos, California, USA & Goryachy Klyuch, Krasnodar Krai, Russia
    Posts
    921
    Thanks
    78
    Thanked 531 Times in 286 Posts
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    jdurand's Tools
    A company I worked for long ago had a GPS module simply to keep the time in sync between units. The communicated via a leased radio channel and had to have accurate clocks for everything to work.


    Post your reply!
    Join 42,532 of us and get 500+ tool plans, tool eBooks, build guides, and much more.



    eBooks for Supporters

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •