Quote Originally Posted by MichelJasmin View Post
Some modules requires you to send a checksum at the end of the command. Here for a NEO-6M GPS Module:

Code:
'Turn off RMC - Recommended minimum specific GPS/Transit data
hserout2 ["$PUBX,40,RMC,0,0,0,0,0,0*47", 13, 10]
pause 500

'Turn off GSA - GPS DOP and active satellites
hserout2 ["$PUBX,40,GSA,0,0,0,0,0,0*4E", 13, 10]
pause 500

'Turn off GSV - GPS Satellites in view
hserout2 ["$PUBX,40,GSV,0,0,0,0,0,0*59", 13, 10]
pause 500

'Turn off GLL - Geographic position, latitude / longitude
hserout2 ["$PUBX,40,GLL,0,0,0,0,0,0*5C", 13, 10]
pause 500

'Turn on  ZDA
hserout2 ["$PUBX,40,ZDA,0,1,0,0,0,0*45", 13, 10]
pause 500
Do you really need to change the baud rate? If you are just logging then 9600 is more than enough.

FYI, here is my source for most of the NMEA sequences: http://aprs.gids.nl/nmea/
Yep, thanks a lot.....i've seen all that, for my case i have the MKT 3333 and 3339 module. Which have the following

Code:
'serout2 gps_rx,84, ["$PMTK314,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0*0D",13,10]      
'serout2 gps_rx,84, ["$PMTK251,57600*2C",13,10]      ' baudrate, check MTK manual configuration
'serout2 gps_rx,84, ["$PMTK220,200*2C",13,10]        ' 200(millisecond)=0.2(sec)-->1/0.2 pps=5 Hz
The problem is that it does not work for some reason.

I think i need to use the HSEROUT2 instead of SEROUT2. I'm confused at this point.

I get online help for checksum from this site

http://www.hhhh.org/wiml/proj/nmeaxor.html