SIM808_GPS_Application Note_V1.00

Similar documents
Datasheet of stand-alone GPS smart antenna module, LS20057

NMEA Reference Manual

NMEA reference manual

GPS Module DataSheet

Datasheet of GPS smart antenna module, NL-50xE Sirf3 series

Datasheet of stand-alone GPS smart antenna module, LS20229

NMEA Reference Manual

GPS Engine Board ET-332

Data Sheet. Gmm u1 GPS Module GR9804-DS000B. GlobalTop Technology Inc. Revision: V0B

SkyTraq Venus 6 GPS Module ST22

Datasheet of stand-alone GPS smart antenna module with magnetic sensor, LS20126

The Gotop GT-1613-MTR is a complete GPS engine module that features super

GM862-GPS, GE863-GPS - GPS AT COMMANDS SET GM862-GPS, GE863-GPS 80278ST10021a Rev. 0-21/04/06

Onyx RFG-2000 GPS Receiver

Note: The PmodGPS arrives with the RTCM feature inactive, to enable RTCM capabilities users should contact GlobalTop at:

L16. Quectel GNSS Engine. EVB User Guide L16_EVB_UGD_V1.0

SIMCom_3G_SSL_Application Note_V1.10

L10. Quectel GPS Engine. EVB User Guide L10_EVB_UGD_V1.00

GPS Receiver. User s Guide. May. 28, 2003

GLOBALSAT GPS Engine Board

GlobalTop Technology Inc. Gms-g9 GNSS Module Datasheet Revision: V0E

SIM800 Series_FM_Application Note_V1.00

SIM800 Series_IP_Application Note_V1.02

FGPMMOPA6B is a 66-channel GPS Engine Board, Antenna Module with MTK chipset that is fully pin compatible with FGPMMOPA6

FGPMMOSL3C GPS Module

Data Sheet. FGPMMOPA6H GPS Standalone Module. Data Sheet. GlobalTop Technology Inc. Revision: V0A

FGPMMOPA6C GPS Standalone Module

SIM800 Series_SSL_Application Note_V1.00

GTS-4E Hardware User Manual. Version: V1.1.0 Date:

GSM. Quectel Cellular Engine. HTTP Service AT Commands GSM_HTTP_ATC_V1.2

International Journal of Research in Advent Technology Available Online at:

SAH2217 Enhanced ATHEROS GPS Module with ultra high sensitivity and antenna open/short detection/protection

SATLAB Field Tools. User Guide for SL55

Projet 15. Annexes. Réalisation d'un logiciel de mesure d'éclairement. Réalisé par Thomas Roncaglia pour la société ERIBAT.

SIM900_Custom Application Building Tutorial_Application Note_V1.00

Quectel Cellular Engine

SIM800 Series_SSL_Application Note_V1.01

Quectel Cellular Engine

Zodiac Serial Data Interface Specification

GPS Tracking Simulation by Path Replaying G. Rajendran #1, Dr. M. Arthanari #2, M. Sivakumar #3 #1 Assistant Professor of Computer Science,

SIM900 Eclipse environment install Application Note_V1.00

PPS usable by timing applications via serial port emulation

User s Manual of BTGP-38KM Bluetooth GPS Data Logger V1.0

GPS-Receiver JP3 Description

MN5010HS GPS Receiver Module

Clever Devices IVN GPS Broadcast over Ethernet Interface Control Document

U10. Quectel Cellular Engine. Video Call Application Notes. U10_ Video_Call_AN_V1.0

MT3339 PC Tool Operation Manual

SMS Application Note. SIM5360_SMS_Application_Note_V0.01

WCDMA&GSM Module_Extra_Function_for_Network

MoTeC USA GPS. Part # M GPS BL Available in 10 Hz or 20 Hz. USER MANUAL Version 1.4

K.Prasanna NIT Rourkela,India Summer Internship NUS

Jupiter 21 GPS Receiver Module

Quectel Cellular Engine

M72. Quectel Cellular Engine. EVB User Guide M72_EVB_UGD_V1.0

Table of contents. Chapter 1. Introduction Background Project Specification Plan of Development...

0.1 Garmin GPS Receiver

TI GPS PPS Timing Application Note

INSTRUCTION. The smallest GPS watch locator in the country

AMENDMENT HISTORY. GPS-20A INSTALLATION MANUAL Doc No:

Technical Article Developing Software for the CN3 Integrated GPS Receiver

Quectel Cellular Engine

GSM. Quectel Cellular Engine. GSM TCPIP Application Notes GSM_TCPIP_AN_V1.1

QuecLocator Application Note

L10. Quectel GPS Engine. GPS Protocol Specification. L10_GPS_Protocol_V1.01

Part 1 Product introduction 2. Part 2 Features 3. Part 3 Safety notes 4. Part 4 Quick user s guide 5. Part 5 Operation notes 7

GPS Data Collection Procedures for Georeferencing Vegetation Resources Inventory and National Forest Inventory Field Sample Plots

DG-100 Data Logger User Manual. Version 1.2

ARCHITECTURE AND IMPLEMENTATION OF REAL TIME VEHICLE TRACKING SYSTEM USING WIRELESS, SENSOR DEVICES AND GOOGLE MAPS API

Quectel Cellular Engine

GoFree Tier 1 Data Networking Specification Revision 0.6

FUEL MONITORING AND VEHICLE TRACKING USING GPS, GSM AND MSP430F149

M95 Dual SIM Application Notes

instruction manual SynScan GPS PACKAGE INCLUDES: 1. A SynScan GPS mouse (GT-320FW(3.0)) with a MINI-DIN connector at one end of 1.5-meter cable.

GPS 19x HVS TECHNICAL SPECIFICATIONS

Agenda. Agilent GPS Receiver Test Solutions. GPS technology concepts. Basic tests required for GPS receiver verification Test solutions

Wi-Fi Terminus SLT Configuring for Wi-Fi Networks

NL-464US User Manual (60122)

L20. Quectel GPS Engine. Hardware Design L20_HD_V1.0

RELEASE NOTES. Trimble. SPS Series Receivers. Introduction. New features and changes

Marine-Electronic SA Tel , rue Louis de Savoie Fax CH 1110 Morges

USB GPS User s Guide (WIN)

GPS Fleet Setup Manual. Created by the team at FollowUs. A short documentation to get you started and setup with regards to the GPS Fleet

Contents. 1. <Database> <QTray> <Photo> \ <Shift Photo Time> <Photo> \ <Write GPS Info into Photos>...

Contents. GoFree Tier 1 Networking Specification

USER MANUAL V5.0 VT300

Application case - Solar tracking system

STANDARD FOR SERIAL-DATA NETWORKING OF MARINE ELECTRONIC DEVICES

GlobalTop. PMTK command packet

[3] beautiful visualisation of the satellites positions by HSR / ICOM

di-gps Eco ProFessional PF1-M digital images GPS receiver

Fleets Vehicle GPS Tracker TR-11E User Manual (Version 1.0)

NAVICOM DYNAMICS RTK BASE STATION INSTALLATION AND COMMISSIONING INSTRUCTIONS

GSM/GPRS/GPS TRACKER USER MANUAL

GPS: A Primer. presented by Jim Pugh, GISP GIS Project Manager. 2007, EMH&T, Inc.

User Manual (UDTTV01 V 1.6

NJDEP GPS Data Collection Standards For GIS Data Development

Incident Commander Pro Radio-Based Automatic Tracking System

GPS-based Vehicle Tracking System-on-Chip

Vehicle Tracking and Monitoring By ARM7

Transcription:

SIM808_GPS_Application Note_V1.00

Document Title SIM808_GPS_Application Note Version 1.00 Date Status Document Control ID Release SIM808_GPS_ Application Note_V1.00 General Notes SIMCom offers this information as a service to its customers, to support application and engineering efforts that use the products designed by SIMCom. The information provided is based upon requirements specifically provided to SIMCom by the customers. SIMCom has not undertaken any independent search for additional relevant information, including any information that may be in the customer s possession. Furthermore, system validation of this product designed by SIMCom within a larger electronic system remains the responsibility of the customer or the customer s system integrator. All specifications supplied herein are subject to change. Copyright This document contains proprietary technical information which is the property of Shanghai SIMCom Wireless Solutions Ltd, copying of this document and giving it to others and the using or communication of the contents thereof, are forbidden without express authority. Offenders are liable to the payment of damages. All rights reserved in the event of grant of a patent or the registration of a utility model or design. All specification supplied herein are subject to change without notice at any time. Copyright Shanghai SIMCom Wireless Solutions Ltd. 2014 SIM808_GPS_Application Note_V1.00 2

Contents 1. GPS Introduction...5 2. AT Commands...5 2.1. AT+CGPSPWR GPS Power Control...5 2.2. AT+CGPSRST GPS Reset Mode (COLD /HOT/WARM)...7 2.3. AT+CGPSINF Get Current GPS Location Info...7 2.4. AT+CGPSOUT GPS NMEA Data Output Control...9 2.5. AT+CGPSSTATUS GPS Status...10 3. CME Error Code...11 4. Examples...12 Appendix...13 A NMEA Format Tables...13 Message ID GGA: Global Positioning System Fixed Data...13 Message ID GLL: Geographic Position - Latitude/Longitude...14 Message ID GSA: GNSS DOP and Active Satellites...15 Message ID GSV: GNSS Satellites in View...16 Message ID RMC: Recommended Minimum Specific GNSS Data...17 Message ID VTG: Course Over Ground and Ground Speed...18 Message ID ZDA: Time & Date...19 B Related Documents...19 C Terms and Abbreviations...19 SIM808_GPS_Application Note_V1.00 3

Version History 日期版本修改点描述作者 1.00 New version Haibing.chen Scope This document describes how to use the AT command about GPS and some application. Note: The document can apply to SIM808. SIM808_GPS_Application Note_V1.00 4

1. GPS Introduction This paper provides information that can be used to implement your GPS application solutions by the SIM808 module. The methods provided will cover the module s circuit connection and how to manage the various accesses to the location data by AT command. 2. AT Commands SIM808 GPS AT command overview. Command AT+CGPSPWR AT+CGPSRST AT+CGPSINF AT+CGPSOUT AT+CGPSSTATUS Description GPS POWER CONTROL GPS RESET MODE (COLD/HOT/WARM) GET CURRENT GPS LOCATION INFO GPS NMEA DATA OUTPUT CONTROL GPS FIX STATUS 2.1. AT+CGPSPWR GPS Power Control AT+CGPSPWR GPS Power Control Test Command AT+CGPSPWR=? +CGPSPWR: (list of supported <mode>s ) Read Command AT+CGPSPWR? Parameters See Write Command TA returns the current value of GPS Power Control PIN +CGPSPWR: <mode> Write Command AT+CGPSPWR=<mode> Parameters See Write Command GPS POWER CONTROL ON/OFF or ERROR Parameters <mode> 0 turn off GPS power supply SIM808_GPS_Application Note_V1.00 5

1 turn on GPS power supply Smart Machine Smart Decision SIM808_GPS_Application Note_V1.00 6

2.2. AT+CGPSRST GPS Reset Mode (COLD /HOT/WARM) AT+CGPSRST Test Command GPS Reset Mode ( COLD /HOT/WARM) AT+CGPSRST=? +CGPSRST: (list of supported <mode>s ) Read Command AT+CGPSRST? Parameter See Write Command TA returns the current value of GPS Reset mode +CGPSRST: <mode> Write Command AT+CGPSRST=<mode> Parameter See Write Command GPS MODE RESET Parameters or ERROR Reference <mode> 0 reset GPS in COLD start mode; 1 reset GPS in HOT mode 2 reset GPS in WARM mode Note: COLD start mode is recommended For first time reset. 2.3. AT+CGPSINF Get Current GPS Location Info AT+CGPSINF Get Current GPS Location Info Test Command AT+CGPSINF=? +CGPSINF : (0,2,4,8,16,32,64,128) Parameters See Write Command SIM808_GPS_Application Note_V1.00 7

Write Command AT+CGPSINF= <mode> TA returns the current successful GPS location info. This command should be executed after the GPS locating successfully. If <mode>equal to 0 : <mode>,<longitude>,<latitude>,<altitude>,<utc time>,<ttff>,<num>,<speed>,<course > Parameters: <longitude> longitude <latitude> latitude <altitude> altitude <UTC time> UTC time The Format is yyyymmddhhmmss <TTFF> time to first fix (in seconds) <num> satellites in view for fix <speed > speed over ground <course> course over ground. else if mode =2 1, Parameters see Appendix A.1 $GPGGA [1] else if mode =2 2, Parameters see Appendix A.2 $GPGLL [1] else if mode =2 3, Parameters see Appendix A.3 $GPGSA [1] else if mode =2 4, Parameters see Appendix A. 4 $GPGSV [1][2] else if mode =2 5, Parameters see Appendix A.5 $GPRMC [1] else if mode =2 6, Parameters see Appendix A.6 $GPVTG [1] else if mode =2 7, Parameters see Appendix A.7 $GPZDA [1] Reference [1]not including Parameters: Message ID, Checksum and <CR><LF> ; [2] including Parameters: Satellites in View Satellite ID Elevation Azimuth SNR (C/N0)... Satellite ID Elevation Azimuth SNR (C/N0) SIM808_GPS_Application Note_V1.00 8

2.4. AT+CGPSOUT GPS NMEA Data Output Control AT+CGPSOUT GPS NMEA Data Output Control Test Command AT+CGPSOUT=? +CGPSOUT : ( 0-255) Parameter See Write Command Read Command AT+CGPSOUT? +CGPSOUT: <mode> Parameter See Write Command Write Command AT+CGPSOUT =<mode> Control the GPS NMEA information output from AT command UART. Parameters <mode> If equal to 0: disable GPS NMEA information output from Debug UART; else if bit 1=1, enable NMEA $GPGGA data output, see Appendix A.1 [1] bit 2=1, enable NMEA $GPGLL data output, see Appendix A.2 [1] bit 3=1, enable NMEA $GPGSA data output, see Appendix A.3 [1] bit 4=1, enable NMEA $GPGSV data output, see Appendix A.4 [2] bit 5=1, enable NMEA $GPRMC data output, see Appendix A.5 [1] bit 6=1, enable NMEA $GPVTG data output, see Appendix A.6 [1] bit 7=1, enable NMEA $GPZDA data output, see Appendix A.7 [1] After setting successful, the NMEA information will output from Debug UART, NMEA Format see A Appendix. Reference Note Factory setting is "AT+CGPSOUT=0". 255 will allow all NMEA data output from Debug UART. SIM808_GPS_Application Note_V1.00 9

2.5. AT+CGPSSTATUS GPS Status AT+CGPSSTATUS GPS Status Test Command AT+CGPSSTATUS=? +CGPSSTATUS: (list of supported < status >s) Read Command AT+CGPSSTATUS? Parameter See Read Command +CGPSSTATUS: <status> Reference GPS Fix Status Parameters <status> is a string value "Location Unknown": if GPS is not run "Location Not Fix": after GPS is run,and haven t fixed "Location 2D Fix" : after GPS status is 2D fixed "Location 3D Fix" : after GPS status is 3D fixed Note SIM808_GPS_Application Note_V1.00 10

3. CME Error Code The following errors are related to GPS. The format is like this: +CME ERROR: <err>. The detail error code and description is list in the following table. Code Description 890 GPS not running 891 GPS is running 892 GPS is fixing SIM808_GPS_Application Note_V1.00 11

4. Examples In the "Grammar" columns of following tables, input of AT commands are in black, module return values are in blue. Grammar AT+CGPSPWR=1 AT+CGPSSTATUS? +CGPSSTATUS: Location 3D Fix Description Open GPS Read the GPS fix status GPS has fixed with 3D status AT+CGPSINF=0 0,3113.317683,12121.244232,51.563730,011400 27022006.085,16,13,0.072580,0.000000 Read GPS information AT+ CGPSOUT =8 $GPGSA,A,3,02,09,05,193,29,08,26,15,04,07,10,,1.62,0.95,1.31*3C $GPGSA,A,3,02,09,05,193,29,08,26,15,04,07,10,,1.62,0.95,1.31*3C GPS NMEA data output from AT uart AT+CGPSRST=0 $GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30 $GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30 $GPGSA,A,3,02,15,10,05,26,09,29,04,07,,,,1.27, 0.95,0.84*01 AT+CGPSRST=1 $GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,1.00*01 $GPGSA,A,3,193,02,05,26,29,15,10,09,04,08,07,,1.23,0.93,0.80*34 AT+CGPSPWR=0 RESET GPS(COLD Start) RESET GPS(HOT Start) Close GPS SIM808_GPS_Application Note_V1.00 12

Appendix A NMEA Format Tables Message ID GGA: Global Positioning System Fixed Data Table 5-1 Global Positioning System Fixed Data Name Example Unit Description Message ID $GPGGA GGA protocol header UTC Time 2153.000 hhmmss.sss Latitude 3342.6618 ddmm.mmmmmm N/S Indicator N N=north or S=south Longitude 11751.3858 dddmm.mmmmmm E/W Indicator W E=east or W=west Position Fix Indicator 1 Satellites Used 10 Range 0 to 12 HDOP 1.2 Horizontal Dilution of Precision MSL Altitude 27.0 meters Units M meters Geoid-to-ellipsoid separation. Geoid Separation -34.2 meters Units M meters Age of Diff. Corr. sec Diff. Ref. Station ID 0000 Checksum *5E <CR><LF> Ellipsoid altitude = MSL Altitude + Geoid Separation. Null fields when DGPS is not used End of message termination Table 5-2 Position Fix Indicator Value Position Fix Indicator Value Description 0 Fix not available or invalid 1 GPS SPS Mode, fix valid SIM808_GPS_Application Note_V1.00 13

Message ID GLL: Geographic Position - Latitude/Longitude Table 5-3 Geographic Position - Latitude/Longitude Name Example Unit Description Message ID $GPGLL GLL protocol header Latitude 3723.2475 ddmm.mmmmmm N/S Indicator N N=north or S=south Longitude 12158.3416 dddmm.mmmmmm E/W Indicator W E=east or W=west UTC Time 161229.487 hhmmss.sss Status A A=data valid or V=data not valid Mode A A=Autonomous, D=DGPS, E=DR, N = Output Data Not Valid R = Coarse Positionx Checksum *41 <CR><LF> End of message termination Note: 1. Position was calculated based on one or more of the SVs having their states derived from almanac parameters, as opposed to ephemerides. SIM808_GPS_Application Note_V1.00 14

Message ID GSA: GNSS DOP and Active Satellites Table 5-4 GNSS DOP and Active Satellites Message ID $GPGSA GSA protocol header Mode 1 A See Table A-5 Mode 2 3 See Table A-6 Satellite used in 07 SV on Channel 1 solution. 1 Satellite Used 1 02 SV on Channel 2...... Satellite Used 1 12 SV on Channel 12 PDOP 2 1.8 Position Dilution of Precision HDOP 2 1.0 Horizontal Dilution of Precision VDOP 2 1.5 Vertical Dilution of Precision Checksum *33 <CR><LF> End of message termination Note: 1. Satellite used in solution. 2. Maximum DOP value reported is 50. When 50 is reported, the actual DOP may be much larger. Table 5-5 Mode 1 Value Mode 1 Value M A Description Manual Forced to operate in 2D or 3D mode 2D Automatic Allowed to automatically switch 2D/3D Table 5-6 Mode 2 Value Mode 2 Value Description 1 Fix not available 2 2D Fix (<4 SVs used) 3 3D Fix (>3 SVs used) SIM808_GPS_Application Note_V1.00 15

Message ID GSV: GNSS Satellites in View Table 5-7 GNSS Satellites in View Name Example Unit Description Message ID $GPGSV GSV protocol header Number of Messages 2 Total number of GSV messages to be sent in this group Message Number1 1 Message number in this group of GSV messages Satellites in View1 07 Satellite ID 07 Channel 1 (Range 1 to 32) Elevation 79 degrees Channel 1 (Maximum 90) Azimuth 048 degrees Channel 1 (True, Range 0 to 359) SNR (C/N0) 42 dbhz Range 0 to 99, null when not tracking...... Satellite ID 27 Channel 4 (Range 1 to 32) Elevation 27 degrees Channel 4 (Maximum 90) Azimuth 138 degrees Channel 4 (True, Range 0 to 359) SNR (C/N0) 42 dbhz Range 0 to 99, null when not tracking Checksum *71 <CR><LF> End of message termination Note: 1. Depending on the number of satellites tracked, multiple messages of GSV data may be required. In some software versions, the maximum number of satellites reported as visible is limited to 12, even though more may be visible.1 SIM808_GPS_Application Note_V1.00 16

Message ID RMC: Recommended Minimum Specific GNSS Data Table 5-8 Recommended Minimum Specific GNSS Data Name Example Unit Description Message ID $GPRMC RMC protocol header UTC Time 161229.5 hhmmss.sss Status 1. A A=data valid or V=data not valid Latitude 3723.248 ddmm.mmmmmm N/S Indicator N N=north or S=south Longitude 12158.34 dddmm.mmmmmm E/W Indicator W E=east or W=west Speed Over Ground 0.13 knots Course Over Ground 309.62 degrees TRUE Date 120598 ddmmyy Magnetic Variation 2 degrees E=east or W=west East/West Indicator 2 E E=east Mode A A=Autonomous, D=DGPS, E=DR, N = Output Data Not Valid R = Coarse Position Checksum *10 <CR><LF> End of message termination Note: 1. A valid status is derived from all the parameters set in the software. This includes the minimum number of satellites required, any DOP mask setting, presence of DGPS corrections, etc. If the default or current software setting requires that a factor is met, then if that factor is not met the solution will be marked as invalid. 2. SiRF Technology Inc. does not support magnetic declination. All course over ground data are geodetic WGS84 directions relative to true North. 3. Position was calculated based on one or more of the SVs having their states derived from almanac parameters, as opposed to ephemerides. SIM808_GPS_Application Note_V1.00 17

Message ID VTG: Course Over Ground and Ground Speed Table 5-9 Course Over Ground and Ground Speed Name Example Unit Description Message ID $GPVTG VTG protocol header Course 309.62 degrees Measured heading Reference T TRUE Course degrees Measured heading Reference M Magnetic Speed 0.13 knots Measured horizontal speed Units N Knots Speed 0.2 km/hr Measured horizontal speed Units K Kilometers per hour Mode A A=Autonomous, D=DGPS, E=DR, N = Output Data Not Valid R = Coarse Position Checksum *23 <CR><LF> End of message termination Note: 1. All course over ground data are geodetic WGS-84 directions. SIM808_GPS_Application Note_V1.00 18

Message ID ZDA: Time & Date Table 5-10 Time & Date Name Example Unit Description Message ID $GPZDA ZDA protocol header UTC time 181813 hhmmss The UTC time units are: hh = UTC hours from 00 to 23 mm = UTC minutes from 00 to 59 ss = UTC seconds from 00 to 59 Either using valid IONO/UTC or estimated from default leap seconds Day 14 Day of the month, range 1 to 31 Month 10 Month of the year, range 1 to 12 Year 2003 1980 to 2079 Local zone hour hour Offset from UTC (set to 00) Local zone minutes 1 minute Offset from UTC (set to 00) Checksum *4F <CR><LF> End of message termination Note: 1. Not supported. Reported as 00. B Related Documents SN Document name Remark [1] SIM800 Series_AT Command Manual C Terms and Abbreviations Abbreviation Description SIM808_GPS_Application Note_V1.00 19

Contact us: Shanghai SIMCom Wireless Solutions Co.,Ltd. Address: Building A, SIM Technology Building, No. 633, Jinzhong Road, Shanghai, P. R. China 200335 Tel: +86 21 3252 3300 Fax: +86 21 3252 3020 URL: www.sim.com/wm SIM808_GPS_Application Note_V1.00 20