Hi, this is my first post, go easy.
I am trying to use the GPS Bee and have got it working, except the data string it's outputting is strangely missing characters from a standard NMEA string. I have checked the code, tested it outside, I am using the standard antenna, I have tried different serial readers, I'm really not sure what else to try, if anyone could help it would be really appreciated.
This is the code I'm using to read the GPS Bee, and this is the data I am getting from it:
$PT,7.6T,,.5,,.7,,*B91W028146,821,A7
GGA144.053.16,,02.16,,,433,97M4.,,*8
GGAA32,41,3,,,,65,.156*5
GGV311,22,0,0,9223,70,6,1,1263*9
GGV321,36,9,72,9083,40,4,2,135*0
GGV331,00,6,3,007
$PT,7.5T,,.9,,.0,,*195W112148,821,A7
GGA144.053.17,,02.18,,,433,00M4.,,*A
GGAA32,41,3,,,,65,.156*5
GGV311,22,0,0,9223,70,6,1,1263*9
GGV321,36,9,72,9083,40,4,2,135*1
GGV331,00,6,3,007
$PT,7.2T,,.6,,.1,,*D97W075148,821,A7
GGA144.053.13,,02.19,,,433,03M4.,,*4
GGAA32,41,3,,,,65,.156*5
GGV311,22,0,0,9223,70,6,1,1263*A
GGV321,36,9,72,9083,40,4,2,135*1
GGV331,00,6,3,007
I am trying to use the GPS Bee and have got it working, except the data string it's outputting is strangely missing characters from a standard NMEA string. I have checked the code, tested it outside, I am using the standard antenna, I have tried different serial readers, I'm really not sure what else to try, if anyone could help it would be really appreciated.
Code:
#use rs232(baud=9600, xmit=PIN_A7, STREAM=HOSTPC) //HOST PC STREAM
#use rs232(baud=9600, xmit=PIN_A3, rcv=PIN_A2, STREAM=GPS) //GPS MODULE STREAM
void TEST_GPS(){
unsigned char c;
fprintf(HOSTPC, "Now starting to test GPS\n");
while(1) {
c=fgetc(GPS);
fprintf(HOSTPC, "%c", c);
}
}
void main(){
TEST_GPS();
}
This is the code I'm using to read the GPS Bee, and this is the data I am getting from it:
$PT,7.6T,,.5,,.7,,*B91W028146,821,A7
GGA144.053.16,,02.16,,,433,97M4.,,*8
GGAA32,41,3,,,,65,.156*5
GGV311,22,0,0,9223,70,6,1,1263*9
GGV321,36,9,72,9083,40,4,2,135*0
GGV331,00,6,3,007
$PT,7.5T,,.9,,.0,,*195W112148,821,A7
GGA144.053.17,,02.18,,,433,00M4.,,*A
GGAA32,41,3,,,,65,.156*5
GGV311,22,0,0,9223,70,6,1,1263*9
GGV321,36,9,72,9083,40,4,2,135*1
GGV331,00,6,3,007
$PT,7.2T,,.6,,.1,,*D97W075148,821,A7
GGA144.053.13,,02.19,,,433,03M4.,,*4
GGAA32,41,3,,,,65,.156*5
GGV311,22,0,0,9223,70,6,1,1263*A
GGV321,36,9,72,9083,40,4,2,135*1
GGV331,00,6,3,007