Free 186 More Best Homemade Tools eBook:  
Get tool plans

User Tag List

Results 1 to 7 of 7

Thread: Global Positioning System Arduino Interface Software

  1. #1
    Supporting Member rgsparber's Avatar
    Join Date
    Nov 2012
    Location
    Phoenix, AZ
    Posts
    1,321
    Thanks
    778
    Thanked 2,840 Times in 670 Posts

    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

    186 More Best Homemade Tools eBook
    Rick

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

    byates (Apr 16, 2020), clydeman (Dec 1, 2022), DIYer (Apr 14, 2020), FEM2008 (Apr 15, 2020), JoeVanGeaux (Apr 19, 2020), Jon (Apr 17, 2020), lowracer (Apr 16, 2020), nova_robotics (Apr 16, 2020), Seedtick (Apr 15, 2020)

  3. #2
    Content Editor
    Supporting Member
    DIYer's Avatar
    Join Date
    Aug 2013
    Posts
    3,055
    Thanks
    793
    Thanked 1,888 Times in 1,683 Posts


    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:




    2,000+ Tool Plans

  4. #3

    Join Date
    Jul 2019
    Location
    Ohio, USA
    Posts
    170
    Thanks
    200
    Thanked 101 Times in 51 Posts
    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
    Krasnodar Krai, Russian Federation
    Posts
    1,469
    Thanks
    127
    Thanked 769 Times in 427 Posts

    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
    Supporting Member rgsparber's Avatar
    Join Date
    Nov 2012
    Location
    Phoenix, AZ
    Posts
    1,321
    Thanks
    778
    Thanked 2,840 Times in 670 Posts

    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
    913
    Thanks
    832
    Thanked 1,705 Times in 481 Posts

    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
    Krasnodar Krai, Russian Federation
    Posts
    1,469
    Thanks
    127
    Thanked 769 Times in 427 Posts

    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.



    2,000+ Tool Plans

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
  •