LOCOSYS Technology Inc.
20F.-13, No.79, Sec. 1, Xintai 5th Rd.,
Xizhi District, New Taipei City 221, Taiwan
℡ 886-2-8698-3698
886-2-8698-3699
www.locosystech.com
Page
12/20
© 2006 LOCOSYS Technology Inc.
contact us.
5.5 Examples to configure the update rate of GPS module
The GPS module supports up to 10Hz update rate that user can configure by issuing
software commands. Note that the configurations by software commands are stored in the
battery-backed SRAM that is powered through VBACKUP pin. Once it drains out, the
default/factory settings will be applied.
Due to the transmitting capacity per second of the current baud rate, GPS module has to be
changed to higher baud rate for high update rate of position fix. The user can use the following
software commands to change baud rate.
Baud rate Software command
Factory default $PMTK251,0*28<CR><LF>
4800 $PMTK251,4800*14<CR><LF>
9600 $PMTK251,9600*17<CR><LF>
19200 $PMTK251,19200*22<CR><LF>
38400 $PMTK251,38400*27<CR><LF>
57600 $PMTK251,57600*2C<CR><LF>
115200 $PMTK251,115200*1F<CR><LF>
Note: <CR> means Carriage Return, i.e. 0x0D in hexadecimal. <LF> means Line Feed, i.e. 0x0A in
hexadecimal.
If the user does not want to change baud rate, you can reduce the output NMEA sentences
by the following software commands.
NMEA sentence Software command
Factory default $PMTK314,-1*04<CR><LF>
Only GLL at 1Hz $PMTK314,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*29<CR><LF>
Only RMC at 1Hz
$PMTK314,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*29<CR><LF>
Only VTG at 1Hz $PMTK314,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*29<CR><LF>
Only GGA at 1Hz $PMTK314,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*29<CR><LF>
Only GSA at 1Hz $PMTK314,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0*29<CR><LF>
Only GSV at 1Hz $PMTK314,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0*29<CR><LF>
Only ZDA at 1Hz $PMTK314,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0*29<CR><LF>
RMC, GGA, GSA
at 1Hz and GSV at
0.2Hz
$PMTK314,0,1,0,1,1,5,0,0,0,0,0,0,0,0,0,0,0,0,0*2C<CR><LF>
If the command is correct and executed, GPS module will output message
$PMTK001,314,3*36<CR><LF>