Searching \ for '[PIC]: RE: [jallist] nmea repeater (fwd)' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'RE: [jallist] nmea repeater (fwd)'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: RE: [jallist] nmea repeater (fwd)'
2001\04\26@074236 by Vasile Surducan

flavicon
face
---------- Forwarded message ----------
Date: Thu, 26 Apr 2001 16:44:40 +0930
From: "Johnson, Stuart (ENet)" <spam_OUTJohnson.StuartTakeThisOuTspamelectranet.com.au>
Reply-To: .....jallistKILLspamspam@spam@yahoogroups.com
To: "'jallistspamKILLspamyahoogroups.com'" <.....jallistKILLspamspam.....yahoogroups.com>
Subject: RE: [jallist] nmea repeater

hello,
I am a new user of jal and have limited experience with pic programming.
I am building a lcd nmea/gps repeater for my boat. I have connected the
serial output from the gps to the pic via jserial, but am unsure how to
interpret the input (4800baud 1 stop no parity).  The nmea sentences are as
follows (this repeats every few seconds):

$GPRMC,193546,A,3851.334,N,09447.941,W,000.0,360.0,070105,003.8,E*6C
$GPRMB,A,,,,,,,,,,,,V*71
$GPGGA,193546,3851.334,N,09447.941,W,1,00,2.0,29.5,M,-29.5,M,,*4A
$GPGSA,A,3,,,,,,,,,,,,,--00,2.0,3.0*1D
$GPGSV,3,1,12,01,00,000,00,02,00,000,00,03,00,000,00,04,00,000,00*7C
$GPGSV,3,2,12,05,00,000,00,06,00,000,00,07,00,000,00,08,00,000,00*77
$GPGSV,3,3,12,09,00,000,00,10,00,000,00,11,00,000,00,12,00,000,00*71
$PGRME,15.0,M,22.5,M,15.0,M*1B
$GPGLL,3851.334,N,09447.941,W,193546,A*3D
$PGRMZ,97,f,3*25
$PGRMM,WGS 84*06
$GPBOD,,T,,M,,*47
$GPRTE,1,1,c,0*07

The sentence I am interested in is:

$GPGLL,3851.334,N,09447.941,W,193546,A*3D

this translates to, longitude = 38 degrees 51.334 minutes North
and latitude = 94 degrees 47.941 minutes west. This is what I want to send
to the lcd.

my first attempt at reading the serial data was to look for "L" and then
read the subsequent bytes and send them to the lcd.

can anyone help with some code examples of how they have used jserial?



Regards,

Stuart Johnson


************************************************************************************
This email message has been swept by MIMESweeper for
content security threats, including computer viruses.
No warranty is made that this material is free from computer
virus or other defect.
The information in this email expresses the opinion of the
author and does not necessarily represent the views of ElectraNet SA
************************************************************************************



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

--
http://www.piclist.com hint: To leave the PICList
EraseMEpiclist-unsubscribe-requestspam_OUTspamTakeThisOuTmitvma.mit.edu


More... (looser matching)
- Last day of these posts
- In 2001 , 2002 only
- Today
- New search...