Wiring Forum
http://wiring.org.co/cgi-bin/yabb/YaBB.pl
Programming Questions & Help >> Library writers >> GPS library available (NMEA protocol)
http://wiring.org.co/cgi-bin/yabb/YaBB.pl?num=1220963382

Message started by maartenl on 09/09/08 at 12:29:41

Title: GPS library available (NMEA protocol)
Post by maartenl on 09/09/08 at 12:29:41
I am a novice forum user, but I have written a library for the Wiring i/o board, to connect it to GPS receivers. The library is called NMEA:: (after the protocol that it implements). It can be downloaded from: http://www.maartenlamers.com/nmea/.

  • It makes it very easy to decode data from any GPS receiver.
  • It comes with programming examples that cover most of its applications.
  • It can be used in two different modes: one for normal users and one for GPS experts.
  • It includes routines for calculating distances and directions over the Earth's surface, so you don't have to write them.
  • It decodes GPRMC and all other sentence types.


The NMEA:: library works very well on my Wiring i/o board, but I am very curious about how it works for others and open for feedback. It is my first contribution ever, and I hope you like it.

Kind regards, and keep Wiring!
Maarten Lamers, The Netherlands

Title: Re: GPS library available (NMEA protocol)
Post by Vaccumdiode2 on 09/10/08 at 14:59:11
That looks great!

             I hope to try it out in the future.  


Title: Re: GPS library available (NMEA protocol)
Post by maartenl on 09/10/08 at 15:07:49

Vaccumdiode2 wrote on 09/10/08 at 14:59:11:
 I hope to try it out in the future.


well, I'm happy to hear that. let me know if you like it. I will be making minor updates the coming period, so keep an eye on the abovementioned webpage.

thanks,
Maarten

Title: Re: GPS library available (NMEA protocol)
Post by Titus on 09/11/08 at 16:15:16
Well, Since Gps isn't accurate on a 2 by 1 meter soccerfield, I won't be using it soon.
Little part in dutch(sorry guys, just for us):

Hey maarten, ik heb ook wel op je site gekeken. Jij geeft les in leiden? Wat leg je eigenlijk uit? Ik doe samen met kars mee aan Robocup junior, ooit van gehoord?

Titus

Title: Re: GPS library available (NMEA protocol)
Post by maartenl on 09/12/08 at 12:43:56

Titus wrote on 09/11/08 at 16:15:16:
Well, Since Gps isn't accurate on a 2 by 1 meter soccerfield, I won't be using it soon.


True. GPS won't get you far on that small a field...


Titus wrote on 09/11/08 at 16:15:16:
Little part in dutch(sorry guys, just for us):
Hey maarten, ik heb ook wel op je site gekeken. Jij geeft les in leiden? Wat leg je eigenlijk uit? Ik doe samen met kars mee aan Robocup junior, ooit van gehoord?

Titus


Interesting! Let me know if you ever demonstrate your Robocup system near Leiden or Utrecht (where I live). I'd like to see it. To answer your question: I work for the Media Technology master-of-science programme at Leiden University, teaching courses like "Creative Research", "Artifical Creatures", "Artificial Intelligence for Cocktail Parties", etcetera.

Title: Re: GPS library available (NMEA protocol)
Post by morrowsend on 03/09/10 at 21:21:47
Yo Dawg, I heard you like Altitude data from your GPS devices, so I put a GGA parser in your NMEA library ;)

Ignore the stupid line above if you don't get the internet reference. Seriously though, I was using the NMEA library in Wiring 0026 and wanted to parse some GPGGA data to get the altitude.  Basically I copied what was already there for the RMC data and modified it for GGA.  Works pretty good for me.


Here's alink to the library folder, You can simply unzip it and overwrite keywords.txt, nmea.cpp and nmea.h in the path:

.../wiring 0026/libraries/NMEA

Library zip file here: http://www.projectbloc.com/NMEA_GPGGA.zip  Let me know if it is useful to anyone.

Title: Re: GPS library available (NMEA protocol)
Post by barragan on 03/09/10 at 23:48:39
hey, that's great, I'll look into it :) thanks for posting it.

Title: Re: GPS library available (NMEA protocol)
Post by barragan on 09/01/10 at 09:07:35
hi, I am testing your include for 0027, also sent a note to Maarten to remind him to look at it. : )

Wiring Forum » Powered by YaBB 2.5 AE!
YaBB Forum Software © 2000-2010. All Rights Reserved.