Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | BasicX | Re: GPS NMEA $GPRMC =>$GPRMB

Discussion forum for the BasicX family of microcontroller chips.

Re: GPS NMEA $GPRMC =>$GPRMB - Tom Becker - Mar 13 15:36:10 2008

> call getValidity
> call SkipCommas(2)
> call GetBytes(Navigate,3)

With the sample line you show:
$GPRMB,A,0.00,L,,SIGULD,5708.612,N,02450.922,E,25.760,61.5,,V,A*74

that code will put "L,," in Navigate, right?
Tom



(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )


Re: GPS NMEA $GPRMC =>$GPRMB - "guntis.laurins" - Mar 13 16:31:05 2008

--- In b...@yahoogroups.com, Tom Becker wrote:
>
> > call getValidity
> > call SkipCommas(2)
> > call GetBytes(Navigate,3)
>
> With the sample line you show:
> $GPRMB,A,0.00,L,,SIGULD,5708.612,N,02450.922,E,25.760,61.5,,V,A*74
>
> that code will put "L,," in Navigate, right?
> Tom
>
Yes , will put "L,," in Navigate !!! :)

I read about it in this website:

http://www.gpsinformation.org/dale/nmea.htm#RMB
------------------------------------

______________________________
controlSUITE™ software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!



(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: Re: GPS NMEA $GPRMC =>$GPRMB - Tom Becker - Mar 13 17:04:58 2008

> ...Yes, will put "L,," in Navigate...

That's probably not what you want, since the "L" and the following two
fields aren't related. Why Dim Navigate (1 to 3)?

According to Dale, RMB looks like:
$GPRMB,A,0.66,L,003,004,4917.24,N,12309.57,W,001.3,052.5,000.5,V*20
where

RMB Recommended minimum navigation information

A Data status A = OK, V = Void (warning)
0.66,L Cross-track error (nautical miles), steer L or R
003 Origin waypoint ID
004 Destination waypoint ID
.... etc.

but your sample is:
$GPRMB,A,0.00,L,,SIGULD,5708.612,N,02450.922,E,25.760,61.5,,V,A*74
so you don't have an Origin waypoint ID from your device.

If all you want from that part of the sentence is the steer direction, I
would get the data this way:
call getValidity
call SkipCommas(2) 'ignore Crosstrack error
call GetBytes(Navigate,1) 'Steer
call SkipCommas(2) 'ignore Origin Waypoint ID
Tom

------------------------------------



(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )