Hello all,
I have the following
SETFREQ M8
SEROUT 7,T2400,("$PSRF103,00,00,00,01*24\r\n") 'Turn off GGA
SEROUT 7,T2400,("$PSRF103,01,00,00,01*25\r\n") 'Turn off GLL
SEROUT 7,T2400,("$PSRF103,02,00,00,01*26\r\n") 'Turn off GSA
SEROUT 7,T2400,("$PSRF103,03,00,00,01*27\r\n") 'Turn off GSV
SEROUT 7,T2400,("$PSRF103,04,00,00,01*20\r\n") 'Turn off RMC
SEROUT 7,T2400,("$PSRF103,05,00,00,01*21\r\n") 'Turn off VTG
SEROUT 7,T2400,("$PSRF103,01,01,00,01*24\r\n") 'Turn on GLL
LOOPX:
SERIN 1,T2400,("G"),B1,B2,B3,B4,B5
SERTXD("G",B1,B2,B3,B4,B5,"\r\n")
GOTO LOOPX
When I do this the GPS stops outputting data, in fact if I only put in one command it stops putting out data. If I remove all of the NEMA commands it scrolls thru all the GPGGA,GPGSA,GPGSV etc.
I am using a EM-406a and it uses 2.8v for the serial data, I have connected the TX from the GPS directly to the PICAXE and RX is connected via 2 zener diodes to drop the voltage. I figure this must work as the GPS stops when I send it anything.
Anyone have any ideas, I figure it is the string I am sending down but I have tried all sorts of combinations
Cheers