NMEA to BS2P?
I've seen code to capture data from fields in a GPS sentence, but not for an
entire sentence. to capture an entire sentence, you must treat it as ASCII
data. However, there's lots of characters in a GPS sentence. I'd be
interested in seeing an example of capturing large portions of a GPS
sentence into RAM. Would the BS2P be capable of capturing an entire GPS
sentence, like the GGA or RMC sentence?
Paul
entire sentence. to capture an entire sentence, you must treat it as ASCII
data. However, there's lots of characters in a GPS sentence. I'd be
interested in seeing an example of capturing large portions of a GPS
sentence into RAM. Would the BS2P be capable of capturing an entire GPS
sentence, like the GGA or RMC sentence?
Paul
Comments
I believe I need only to find out how to structure the code
to "count" commas within the specific NMEA sentence using the
WAIT command. I really have no idea if that is how it will actually
work, but that is all the information I have come across so far.
Paul, have you seen code that "counts" commas within the NMEA
sentence? Is this a common thing?
oh help,
-Don
data from the GGA sentence. The data is read as DEC. Check my balloon
website, www.ksu.edu/humec/knsp/. You want to look at the code. I believe
it's under contrcuting the capsules.
Paul
> Paul & others,
> I believe I need only to find out how to structure the code
> to "count" commas within the specific NMEA sentence using the
> WAIT command. I really have no idea if that is how it will actually
> work, but that is all the information I have come across so far.
>
> Paul, have you seen code that "counts" commas within the NMEA
> sentence? Is this a common thing?
> oh help,
>
> -Don
>
>
>
>
> From: Michael Hendricks [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=_GIEPcFx4cX7qTW27HOm_CbPmQ-CzIiDULArvG1xluCnVAmUW-GKlfVo_htMlNXOTLeQ82zQmV6D]mjh80@b...[/url
> Sent: Monday, December 04, 2000 10:57 AM
> To: basicstamps@egroups.com
> Subject: Re: [noparse][[/noparse]basicstamps] NMEA commands?
>
>
> Here is a simple way to read in NMEA data....
>
> This reads the important data from RMC, GGA, and GSA strings... it
converts
> the data on the fly and can read fastenough to read all the data for each
> sample that is sent each second. Hope this saves you time/space.
> serin GPSRX, GPSBaud, GPSTimeout, ReadGpsNoData, [noparse][[/noparse]wait("RMC,"), Wait(","),
> SampleStatus, skip(1), dec5 Lat, skip(1), dec1 LatDec1, dec1 LatDec2, dec1
> LatDec3, Dec1 LatDec4, skip(1), LatRef, skip(1), dec5 Lon, skip(1), dec1
> LonDec1, dec1 LonDec2, dec1 LonDec3, Dec1 LonDec4, skip(1), Ref,
skip(1),dec
> speed, wait(","), dec heading, wait(","), dec1 DateD1, dec1 DateD2, dec1
> DateM1, dec1 DateM2, dec1 DateY1, dec1 DateY2, wait("GGA,"), dec1 TimeH1,
> dec1 TimeH2, dec1 TimeM1, dec1 TimeM2, dec1 TimeS1, dec1 TimeS2,
Wait(","),
> skip(1), wait(","), wait(","),wait(","),wait(","), wait(","), dec NumSats,
> wait(","),wait(","), dec alt, wait("GSA,"), wait(","), x]
>
and
> From: Victorf [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=L6y9NHrKxrMEMG0vJfoavUJdbvUCtjHm7u1tHrOwAsDV_057crQwyzIKAd5F0wQP8usObt7VI4KooqdEARTvHQ]vfraenc1@n...[/url
> Sent: Thursday, August 03, 2000 7:41 AM
> To: Stamp Mailing List
> Subject: [noparse][[/noparse]basicstamps] $GPRMC NMEA message layout
>
>
> This is the layout of a RMC message according to the NMEA standard. As you
> can see the Speed over Ground is in KNOTS.
> You can see the parsing of other GPS related NMEA sentences at:
>
> http://vancouver-webpages.com/peter/nmeafaq.txt
>
> RMC - Recommended minimum specific GPS/Transit data
> RMC,225446,A,4916.45,N,12311.12,W,000.5,054.7,191194,020.3,E*68
> 225446 Time of fix 22:54:46 UTC
> A Navigation receiver warning A = OK, V = warning
> 4916.45,N Latitude 49 deg. 16.45 min North
> 12311.12,W Longitude 123 deg. 11.12 min West
> 000.5 Speed over ground, Knots
> 054.7 Course Made Good, True
> 191194 Date of fix 19 November 1994
> 020.3,E Magnetic variation 20.3 deg East
> *68 mandatory checksum
>
> A good resource for GPS related matters is the sci.geo.satellite-nav news
> group.
> _____________________________________________________
>
> Victor Fraenckel - The Windman vfraenc1@n...
>
> www.windsway.com
> Home of the WindReader Electronic Theodolite
> Read the WIND
and
> From: Brian McClure [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=ytHuL1cImP5ZpRYPJ-3-9i2o9QHIFZxY841SEdmI719IsUzTClxcx-VKmEO0WxXfIvsHOTh5PLqr2A]bmcclure@p...[/url
> Sent: Monday, October 30, 2000 6:43 AM
> To: basicstamps@egroups.com
> Cc: silo@c...
> Subject: Re: [noparse][[/noparse]basicstamps] GPS and Basic Stamp Questions
>
>
> I have, on my webpage www.blmnet.com , an in depth description of the
> NMEA #GP??? strings.
> Using this it is possible to parse out the data using a stamp.
>
> I once used this to have a BS2 read GPS data and control a speech synth.
> If you need more help please email me
>
> regards
> Brian
> bmcclure@p...
> webmaster@b...
> http://www.blmnet.com
Regards,
Daniel McGlothin
Original Message
From: Paul Verhage [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=qmOqHUMev5l0l9bYJjlUVm40h8E1E2UX9E1ZOjSSx6kFMKJr5fssY7cvm4sZvG9bF7PhSYo6sVkNLz3jcmTfigc0dQ]pverhage@s...[/url
Sent: Thursday, December 21, 2000 9:41 AM
To: 'basicstamps@egroups.com'
Subject: [noparse][[/noparse]basicstamps] NMEA to BS2P?
I've seen code to capture data from fields in a GPS sentence, but not for an
entire sentence. to capture an entire sentence, you must treat it as ASCII
data. However, there's lots of characters in a GPS sentence. I'd be
interested in seeing an example of capturing large portions of a GPS
sentence into RAM. Would the BS2P be capable of capturing an entire GPS
sentence, like the GGA or RMC sentence?
Paul
let me know.
MH
Original Message
From: "D. Daniel McGlothin" <ddm@r...>
To: <basicstamps@egroups.com>
Sent: Thursday, December 21, 2000 11:05 AM
Subject: RE: [noparse][[/noparse]basicstamps] NMEA to BS2P?
> Code for an GPS entire sentence? Do these past messages help?
>
> > From: Michael Hendricks [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=e7xetKeXNK4r-pNeZzjDzflmvbCe6cGjJIPELFIuHIcsLbJsx1N5dsPTnghjDqGeLNyBMokVXXup]mjh80@b...[/url
> > Sent: Monday, December 04, 2000 10:57 AM
> > To: basicstamps@egroups.com
> > Subject: Re: [noparse][[/noparse]basicstamps] NMEA commands?
> >
> >
> > Here is a simple way to read in NMEA data....
> >
> > This reads the important data from RMC, GGA, and GSA strings... it
> converts
> > the data on the fly and can read fastenough to read all the data for
each
> > sample that is sent each second. Hope this saves you time/space.
> > serin GPSRX, GPSBaud, GPSTimeout, ReadGpsNoData, [noparse][[/noparse]wait("RMC,"),
Wait(","),
> > SampleStatus, skip(1), dec5 Lat, skip(1), dec1 LatDec1, dec1 LatDec2,
dec1
> > LatDec3, Dec1 LatDec4, skip(1), LatRef, skip(1), dec5 Lon, skip(1), dec1
> > LonDec1, dec1 LonDec2, dec1 LonDec3, Dec1 LonDec4, skip(1), Ref,
> skip(1),dec
> > speed, wait(","), dec heading, wait(","), dec1 DateD1, dec1 DateD2, dec1
> > DateM1, dec1 DateM2, dec1 DateY1, dec1 DateY2, wait("GGA,"), dec1
TimeH1,
> > dec1 TimeH2, dec1 TimeM1, dec1 TimeM2, dec1 TimeS1, dec1 TimeS2,
> Wait(","),
> > skip(1), wait(","), wait(","),wait(","),wait(","), wait(","), dec
NumSats,
> > wait(","),wait(","), dec alt, wait("GSA,"), wait(","), x]
> >
>
> and
>
> > From: Victorf [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=9soVqwRwSKF9zb1POsav6gsMD7O34NhGVav1pfHwEmLqsmoTwsz1-WdGfnfSFFI0K2PUt36gFVoiae-cL-e7]vfraenc1@n...[/url
> > Sent: Thursday, August 03, 2000 7:41 AM
> > To: Stamp Mailing List
> > Subject: [noparse][[/noparse]basicstamps] $GPRMC NMEA message layout
> >
> >
> > This is the layout of a RMC message according to the NMEA standard. As
you
> > can see the Speed over Ground is in KNOTS.
> > You can see the parsing of other GPS related NMEA sentences at:
> >
> > http://vancouver-webpages.com/peter/nmeafaq.txt
> >
> > RMC - Recommended minimum specific GPS/Transit data
> > RMC,225446,A,4916.45,N,12311.12,W,000.5,054.7,191194,020.3,E*68
> > 225446 Time of fix 22:54:46 UTC
> > A Navigation receiver warning A = OK, V = warning
> > 4916.45,N Latitude 49 deg. 16.45 min North
> > 12311.12,W Longitude 123 deg. 11.12 min West
> > 000.5 Speed over ground, Knots
> > 054.7 Course Made Good, True
> > 191194 Date of fix 19 November 1994
> > 020.3,E Magnetic variation 20.3 deg East
> > *68 mandatory checksum
> >
> > A good resource for GPS related matters is the sci.geo.satellite-nav
news
> > group.
> > _____________________________________________________
> >
> > Victor Fraenckel - The Windman vfraenc1@n...
> >
> > www.windsway.com
> > Home of the WindReader Electronic Theodolite
> > Read the WIND
>
> and
>
> > From: Brian McClure [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=6nsNnV7a2IjXqHvqueILURivyiceDjH1svpr2fBG_WEsLFDOsVkDX3j8IqNEu5_c9mh_ql792ARsD2A]bmcclure@p...[/url
> > Sent: Monday, October 30, 2000 6:43 AM
> > To: basicstamps@egroups.com
> > Cc: silo@c...
> > Subject: Re: [noparse][[/noparse]basicstamps] GPS and Basic Stamp Questions
> >
> >
> > I have, on my webpage www.blmnet.com , an in depth description of
the
> > NMEA #GP??? strings.
> > Using this it is possible to parse out the data using a stamp.
> >
> > I once used this to have a BS2 read GPS data and control a speech synth.
> > If you need more help please email me
> >
> > regards
> > Brian
> > bmcclure@p...
> > webmaster@b...
> > http://www.blmnet.com
>
>
> Regards,
> Daniel McGlothin
>
>
>
>
Original Message
> From: Paul Verhage [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=4oMwH9aBKm_cuQdZPA1zm3aX651OivuRsFOhspXlgXBqemLeQUVzIpDixuaL7tbgCtVFkn4cIu9fDbd3HPiVKJ9B]pverhage@s...[/url
> Sent: Thursday, December 21, 2000 9:41 AM
> To: 'basicstamps@egroups.com'
> Subject: [noparse][[/noparse]basicstamps] NMEA to BS2P?
>
>
> I've seen code to capture data from fields in a GPS sentence, but not for
an
> entire sentence. to capture an entire sentence, you must treat it as
ASCII
> data. However, there's lots of characters in a GPS sentence. I'd be
> interested in seeing an example of capturing large portions of a GPS
> sentence into RAM. Would the BS2P be capable of capturing an entire GPS
> sentence, like the GGA or RMC sentence?
>
> Paul
>
>
>
>
>
>
>
>
>
>
no, let me stress that, no idea exactly how to write the code
to capture a specific portion of the sentence.
For example, for a test I was going to have the BS2 look at the
data status ("a" or "v") in the RMC sentence and lite up
a green led for good, red your dead (v).
If someone could spare a little time and show me exactly
how to so this I could really use the help. I have only had a
BS2 for a few weeks and regret not having an abundance of
skill, ah... but I do have a considerable amount of desire
if that counts for anything.
thank you all for your responses
Come to think of it, is anyone willing to write this code for me?
I can compensate, a little, for your time.
-Don
under the section about making the near space capsules. I have a copy of
code that you can use to read alttitude data from the GGA sentence.
Paul
>
Original Message
> From: werememberthem@a... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=CWE2zO2LNCZs-cRiMR_h9bPNAMmRazYNIKOnErVS5j20i7ebGdUxo_awSCa2jVYhOuqkUoEp0NOibNjGSaI]werememberthem@a...[/url
> Sent: Friday, December 22, 2000 7:05 PM
> To: basicstamps@egroups.com
> Subject: [noparse][[/noparse]basicstamps] Re: NMEA to BS2P?
>
>
> I am somewhat fimilar with the NMEA structure however I have
> no, let me stress that, no idea exactly how to write the code
> to capture a specific portion of the sentence.
> For example, for a test I was going to have the BS2 look at the
> data status ("a" or "v") in the RMC sentence and lite up
> a green led for good, red your dead (v).
>
> If someone could spare a little time and show me exactly
> how to so this I could really use the help. I have only had a
> BS2 for a few weeks and regret not having an abundance of
> skill, ah... but I do have a considerable amount of desire
> if that counts for anything.
>
> thank you all for your responses
>
> Come to think of it, is anyone willing to write this code for me?
> I can compensate, a little, for your time.
>
> -Don
>
>
>
>
>