GPS and Basic Stamp Questions
Hi,
Does anyone know if the Basic Stamp II can actually recognize the GPS
information that the GPS reciever will give to the Basic Stamp on a
serial interface? What I want to do is something like:
If GPS information (x,y,z maybe? ) = constant
Then .... <some other part of the program>
If anyone can help out that would be great, my senior design team
(for college) is making a small satellite, in case anyone is
wondering.
Hope to hear back,
Mike.
Silo@c...
Does anyone know if the Basic Stamp II can actually recognize the GPS
information that the GPS reciever will give to the Basic Stamp on a
serial interface? What I want to do is something like:
If GPS information (x,y,z maybe? ) = constant
Then .... <some other part of the program>
If anyone can help out that would be great, my senior design team
(for college) is making a small satellite, in case anyone is
wondering.
Hope to hear back,
Mike.
Silo@c...
Comments
The Stamp certainly can. You can look at further references like the NMEA
protocol, used in most modern GPS receivers. This is a serial 4800bps
protocol, with various sentences which may or may not be implemented in a
particular receiver. Refer to the receiver's documentation for this.
Each sentence begins with a $ sign, followed by a 5-letter code, and
information, ending with a two-character checksum. A typical GPS coordinates
sentence may look like:
$GPRMC,225446,A,4916.45,N,12311.12,W,000.5,054.7,191194,020.3,E*68
This translates into a fix taken at 22:54:46 UTC, the fix is valid (A=valid,
V=invalid), the latitude is N 49o 16.45' and the longitude W 123o 11.12', a
ground speed of 000.5 knots, a course (true) of 054.7o, date of fix 19th Nov
1994, magnetic variation 20.3o East, and the checksum 68.
With the stamp, you would issue an instruction SerIn, with a timeout, and a
wait string of, for example, "$GPRMC", and then skip characters to get data
as needed.
All the best, and good luck in your project.
Mike
> Does anyone know if the Basic Stamp II can actually recognize the GPS
> information that the GPS reciever will give to the Basic Stamp on a
> serial interface? What I want to do is something like:
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
Original Message
From: "Miguel Puchol" <mpuchol@w...>
To: <basicstamps@egroups.com>
Sent: Sunday, October 29, 2000 5:57 PM
Subject: RE: [noparse][[/noparse]basicstamps] GPS and Basic Stamp Questions
> Hi Mike,
>
> The Stamp certainly can. You can look at further references like the NMEA
> protocol, used in most modern GPS receivers. This is a serial 4800bps
> protocol, with various sentences which may or may not be implemented in a
> particular receiver. Refer to the receiver's documentation for this.
> Each sentence begins with a $ sign, followed by a 5-letter code, and
> information, ending with a two-character checksum. A typical GPS
coordinates
> sentence may look like:
>
> $GPRMC,225446,A,4916.45,N,12311.12,W,000.5,054.7,191194,020.3,E*68
>
> This translates into a fix taken at 22:54:46 UTC, the fix is valid
(A=valid,
> V=invalid), the latitude is N 49o 16.45' and the longitude W 123o 11.12',
a
> ground speed of 000.5 knots, a course (true) of 054.7o, date of fix 19th
Nov
> 1994, magnetic variation 20.3o East, and the checksum 68.
>
> With the stamp, you would issue an instruction SerIn, with a timeout, and
a
> wait string of, for example, "$GPRMC", and then skip characters to get
data
> as needed.
>
> All the best, and good luck in your project.
>
> Mike
>
> > Does anyone know if the Basic Stamp II can actually recognize the GPS
> > information that the GPS reciever will give to the Basic Stamp on a
> > serial interface? What I want to do is something like:
>
>
>
>
>
>
look at
http://www.inetport.com/~davisele/fc.html
richard
Original Message
From: <silo@c...>
To: <basicstamps@egroups.com>
Sent: Sunday, October 29, 2000 5:25 PM
Subject: [noparse][[/noparse]basicstamps] GPS and Basic Stamp Questions
> Hi,
>
> Does anyone know if the Basic Stamp II can actually recognize the GPS
> information that the GPS reciever will give to the Basic Stamp on a
> serial interface? What I want to do is something like:
>
> If GPS information (x,y,z maybe? ) = constant
>
> Then .... <some other part of the program>
>
> If anyone can help out that would be great, my senior design team
> (for college) is making a small satellite, in case anyone is
> wondering.
>
>
> Hope to hear back,
>
> Mike.
>
> Silo@c...
>
>
>
>
>
>
receiver and interrupt it. I have code that can set system parameters, send
serial data out, etc. Let me know
Ralph
Original Message
From: <silo@c...>
To: <basicstamps@egroups.com>
Sent: Sunday, October 29, 2000 6:25 PM
Subject: [noparse][[/noparse]basicstamps] GPS and Basic Stamp Questions
> Hi,
>
> Does anyone know if the Basic Stamp II can actually recognize the GPS
> information that the GPS reciever will give to the Basic Stamp on a
> serial interface? What I want to do is something like:
>
> If GPS information (x,y,z maybe? ) = constant
>
> Then .... <some other part of the program>
>
> If anyone can help out that would be great, my senior design team
> (for college) is making a small satellite, in case anyone is
> wondering.
>
>
> Hope to hear back,
>
> Mike.
>
> Silo@c...
>
>
>
>
>
>
>
Maybe you could send me on an example as well, I writing some code at the
moment, but I don't know how efficent it is.
Paul
Original Message
From: Ralph Rogers [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=2emP0HpEW9i7JxMJ6aXc9BCuGGMUt07JieSC72u8d47COGGYnTIgicUWAoozN23WHQo4wRwnOj3tKK4T]fdcsouth@9...[/url
Sent: Thursday, November 02, 2000 12:18 AM
To: basicstamps@egroups.com
Subject: Re: [noparse][[/noparse]basicstamps] GPS and Basic Stamp Questions
I have code that can interrupt the GPRMC serial data from a gps
receiver and interrupt it. I have code that can set system parameters, send
serial data out, etc. Let me know
Ralph
Original Message
From: <silo@c...>
To: <basicstamps@egroups.com>
Sent: Sunday, October 29, 2000 6:25 PM
Subject: [noparse][[/noparse]basicstamps] GPS and Basic Stamp Questions
> Hi,
>
> Does anyone know if the Basic Stamp II can actually recognize the GPS
> information that the GPS reciever will give to the Basic Stamp on a
> serial interface? What I want to do is something like:
>
> If GPS information (x,y,z maybe? ) = constant
>
> Then .... <some other part of the program>
>
> If anyone can help out that would be great, my senior design team
> (for college) is making a small satellite, in case anyone is
> wondering.
>
>
> Hope to hear back,
>
> Mike.
>
> Silo@c...
>
>
>
>
>
>
>
NMEA data to words and bytes. You can do all the numeric conversions on they
fly that way.. Use DEC, Wait(','), etc to frame it...
MH
Original Message
From: "Byrne, Paul" <paul.byrne@b...>
To: <basicstamps@egroups.com>
Sent: Thursday, November 02, 2000 3:36 AM
Subject: RE: [noparse][[/noparse]basicstamps] GPS and Basic Stamp Questions
> Ralph,
> Maybe you could send me on an example as well, I writing some code at the
> moment, but I don't know how efficent it is.
> Paul
>
>
Original Message
> From: Ralph Rogers [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=0e1ObhTDRq82wLwnVT7GT6uZkfVX071MufMLjslXH2zNv8rurNMuJ5R8Mqp_0BwxNnIJGGR9PDEb5--F]fdcsouth@9...[/url
> Sent: Thursday, November 02, 2000 12:18 AM
> To: basicstamps@egroups.com
> Subject: Re: [noparse][[/noparse]basicstamps] GPS and Basic Stamp Questions
>
>
> I have code that can interrupt the GPRMC serial data from a gps
> receiver and interrupt it. I have code that can set system parameters,
send
> serial data out, etc. Let me know
>
> Ralph
>
Original Message
> From: <silo@c...>
> To: <basicstamps@egroups.com>
> Sent: Sunday, October 29, 2000 6:25 PM
> Subject: [noparse][[/noparse]basicstamps] GPS and Basic Stamp Questions
>
>
> > Hi,
> >
> > Does anyone know if the Basic Stamp II can actually recognize the GPS
> > information that the GPS reciever will give to the Basic Stamp on a
> > serial interface? What I want to do is something like:
> >
> > If GPS information (x,y,z maybe? ) = constant
> >
> > Then .... <some other part of the program>
> >
> > If anyone can help out that would be great, my senior design team
> > (for college) is making a small satellite, in case anyone is
> > wondering.
> >
> >
> > Hope to hear back,
> >
> > Mike.
> >
> > Silo@c...
> >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>
>
out mopre about your code ... please e-mail me @ silo@c...
thanks,
mike
--- In basicstamps@y..., "Ralph Rogers" <fdcsouth@9...> wrote:
> I have code that can interrupt the GPRMC serial data from a gps
> receiver and interrupt it. I have code that can set system
parameters, send
> serial data out, etc. Let me know
>
> Ralph
>
Original Message
> From: <silo@c...>
> To: <basicstamps@egroups.com>
> Sent: Sunday, October 29, 2000 6:25 PM
> Subject: [noparse][[/noparse]basicstamps] GPS and Basic Stamp Questions
>
>
> > Hi,
> >
> > Does anyone know if the Basic Stamp II can actually recognize the
GPS
> > information that the GPS reciever will give to the Basic Stamp on
a
> > serial interface? What I want to do is something like:
> >
> > If GPS information (x,y,z maybe? ) = constant
> >
> > Then .... <some other part of the program>
> >
> > If anyone can help out that would be great, my senior design team
> > (for college) is making a small satellite, in case anyone is
> > wondering.
> >
> >
> > Hope to hear back,
> >
> > Mike.
> >
> > Silo@c...
> >
> >
> >
> >
> >
> >
> >