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
10/20
© 2006 LOCOSYS Technology Inc.
and then back to normal operation mode.
Start
GPS module is powered on
Change GPS to periodic mode with
3000ms on and 12000ms standby
if position fix is available, otherwise
(18000, 72000) ms will be applied.
unsigned char PeriodicMode[] =
{"$PMTK225,2,3000,12000,18000,72000*15\x0D\x0A"};
GPS module will return message
"$PMTK001,225,3*35\x0D\x0A"
if command is accepted.
Set GPS to normal
operation mode?
No
Yes
GPS is in
standby now
Yes
Issue any byte to GPS
and wait it awake
No
Issue command of
normal operation mode
unsigned char NormalMode[] =
{"$PMTK225,0*2B\x0D\x0A"};
EndEnd
GPS is in normal modeGPS is in periodic mode
Note: minimum on time is 2000ms.
maximum standby time is 518400000ms (6 days)
GPS module will return message
"$PMTK001,225,3*35\x0D\x0A"
if command is accepted.
5.3.3 AlwaysLocate
TM
mode
AlwaysLocate
TM
is an intelligent controller of periodic mode. Depending on the
environment and motion conditions, GPS module can adaptively adjust working/standby
time to achieve balance of positioning accuracy and power consumption. In this mode, the
host CPU does not need to control GPS module until the host CPU needs the GPS position
data. The following flow chart is an example to make GPS module go into
AlwaysLocate
Tm
mode and then back to normal operation mode.
Note: AlwaysLocate
TM
is a trade mark of MTK.
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
11/20
© 2006 LOCOSYS Technology Inc.
Start
GPS module is powered on
Change GPS to
AlwaysLocate mode
unsigned char AlwaysLocateMode[] =
{"$PMTK225,8*23\x0D\x0A"};
GPS module will return message
"$PMTK001,225,3*35\x0D\x0A"
if command is accepted.
Request a GPS
position data
Yes
Issue any byte to get
GPS position data
No
Change GPS back to
AlwaysLocate mode
Yes
No
Set GPS to normal
operation mode?
Set GPS to normal
operation mode
unsigned char NormalMode[] =
{"$PMTK225,0*2B\x0D\x0A"};
Yes
No
End
GPS is in normal mode
Issue any byte to GPS
and wait it awake
5.4 Data logger
The GPS module has internal flash memory for logging GPS data. The configurations
include time interval, distance, speed, logging mode, and … etc. For more information, please
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>

GPS-08975

Mfr. #:
Manufacturer:
SparkFun
Description:
GPS Modules GPS Receiver LS20031 5Hz - 66 Channel
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet