Transcript
SIM08 _EVB Kit_User Guide_V1.00
Smart Machine Smart Decision
Document Title:
SIM08 EVB Kit User Guide
Version:
1.00
Date:
2011-02-18
Status:
Release
Document Control ID:
SIM08_EVB Kit_User Guide_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 SIMCom Limited., 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. 2011
SIM08_EVB Kit_User Guide_V1.00
2
2011.02.18
Smart Machine Smart Decision
Contents Contents..................................................................................................................................................................... 3 Version History .......................................................................................................................................................... 4 1. SIM08-EVB Architecture ...................................................................................................................................... 5 2. EVB View.............................................................................................................................................................. 6 3. Accessory............................................................................................................................................................... 8 4. EVB and accessory equipments............................................................................................................................. 9 5. Illustration: ............................................................................................................................................................ 9 6. SIMCom NMEA GPS DEMO TOOL ................................................................................................................. 11 6.1 Port setting................................................................................................................................................. 11 6.2 Click to RUN ............................................................................................................................................. 11 6.3 Position fixed............................................................................................................................................. 12 6.4 TTFF Test .................................................................................................................................................. 13 Appendix ................................................................................................................................................................. 14 A. Related Documents.................................................................................................................................. 14 B. SIM08 control command ......................................................................................................................... 15 B.1 Overview................................................................................................................................................... 15 B.2 Detailed Descriptions of Commands ........................................................................................................ 15 C. NMEA format tables................................................................................................................................ 20 C.1 Message ID GGA: Global Positioning System Fixed Data ...................................................................... 20 C.2 Message ID GLL: Geographic Position - Latitude/Longitude.................................................................. 21 C.3 Message ID GSA: GNSS DOP and Active Satellites................................................................................ 22 C.4 Message ID GSV: GNSS Satellites in View ............................................................................................. 23 C.5 Message ID RMC: Recommended Minimum Specific GNSS Data ......................................................... 24 C.6 Message ID VTG: Course Over Ground and Ground Speed .................................................................... 25 C.7 Message ID ZDA: Time & Date ............................................................................................................... 25
Figure Index FIGURE 1: ARCHITECTURE OF SIM08-EVB ............................................................................................................... 5 FIGURE 2: EVB TOP VIEW ............................................................................................................................................. 6 FIGURE 3: EVB BOTTOM VIEW.................................................................................................................................... 6 FIGURE 4: EVB ACCESSORY......................................................................................................................................... 8 FIGURE 5: EVB AND ACCESSORY ............................................................................................................................... 9 FIGURE 6: PORT SETTING ........................................................................................................................................... 11 FIGURE 7: CLICK TO RUN ........................................................................................................................................... 12 FIGURE 8: POSITION FIXED........................................................................................................................................ 12 FIGURE 9: TTFF TEST ................................................................................................................................................... 13
SIM08_EVB Kit_User Guide_V1.00
3
2011.02.18
Smart Machine Smart Decision
Version History Data
Version
Description of change
Author
2011-02-18
1.00
Origin
Ligang
SCOPE
This document describes how to use SIM08 EVB to do test; user can get useful information about the SIM08 EVB quickly through this document. This document is subject to change without notice at any time.
SIM08_EVB Kit_User Guide_V1.00
4
2011.02.18
Smart Machine Smart Decision
1. SIM08-EVB Architecture SIM08 provides a complete GPS solution designed integration into host platform SIM900. SIM08 provides the baseband signal processing for the GPS receiver (IF down-conversion, correlation and integration). SIM08 includes an embedded DSP whose firmware controls the GPS acquisition and tracking. The DSP firmware is a ROM within the SIM08 that does not require support from any external device. Higher-level software running on a separate host (SIM900) calculates navigation solutions (the host-based navigation software). Following figure shows the architecture of SIM08-EVB.
Figure 1: Architecture of SIM08-EVB Main port is used for sending SIM08 function command set for active status, power down, cold start, warm start, hot start, etc. For details about the command set, refer to appendix B. The main port is configured as 8 data bits, no parity, 1 stop bit and autobauding by default. The GPS NMEA message is output from debug port. The debug port is configured as 8 data bits, no parity, 1 stop bit and 115200bps by default.
SIM08_EVB Kit_User Guide_V1.00
5
2011.02.18
Smart Machine Smart Decision
2. EVB View
Figure 2: EVB TOP view
Figure 3: EVB BOTTOM view SIM08_EVB Kit_User Guide_V1.00
6
2011.02.18
Smart Machine Smart Decision
A: B: C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q:
DC jack MAIN serial port DEBUG serial port SIM card holder Test point Antenna fix hole SIM08-TE interface Module fix hole Reset key Power key Charge switch Download switch Power switch Headphones jack Headset jack Line in jack LED indicator
SIM08_EVB Kit_User Guide_V1.00
7
2011.02.18
Smart Machine Smart Decision
3. Accessory
Figure 4: EVB Accessory A1, A2: Serial Port cable B: GPS Antenna C: GSM Antenna D: GSM Antenna Cable E: Earphones F: 5V DC adapter
SIM08_EVB Kit_User Guide_V1.00
8
2011.02.18
Smart Machine Smart Decision
4. EVB and accessory equipments At normal circumstance, the SIM08 EVB and its accessory are equipped as in the following figure:
Figure 5: EVB and Accessory
5. Illustration: Because SIM08 is based on SIM900, so SIM900 should be powered on firstly. For details about how to use SIM900 and upgrade firmware, refer to document[1]. When SIM900 is powered on and the baud rate is synchronized, the URC “GPS Ready” will be sent out from main port. In this moment the SIM08 control command can be sent to control SIM08 from main port. The following step can be used to set up SIM08 Application.
SIM08_EVB Kit_User Guide_V1.00
9
2011.02.18
Smart Machine Smart Decision
When these steps are completed, the NMEA information will be sent out from debug port. For more information about SIM08 control command, refer to appendix B.
SIM08_EVB Kit_User Guide_V1.00 2011.02.18
10
Smart Machine Smart Decision
6. SIMCom NMEA GPS DEMO TOOL 6.1 Port setting
Click
to select the GPS and CMD COM Port to be the one in device manager and set BaudRate to be
115200.
Figure 6: Port setting
6.2 Click to RUN
Click
to run. If the $GPGGA/$GPGSA NMEA sentences appear in Monitor View, the SIM08 is
acquiring the GPS signal.
SIM08_EVB Kit_User Guide_V1.00 2011.02.18
11
Smart Machine Smart Decision
Figure 7: Click to RUN
6.3 Position fixed After position has been fixed, the GPS information can be viewed in two methods: Monitor View and Signal View.
Figure 8: Position fixed SIM08_EVB Kit_User Guide_V1.00 2011.02.18
12
Smart Machine Smart Decision
6.4 TTFF Test SIMCom NMEA DEMO TOOL supports SIM08 TTFF test. The TTFF information is shown in the following figure:
Figure 9: TTFF test
SIM08_EVB Kit_User Guide_V1.00 2011.02.18
13
Smart Machine Smart Decision
Appendix A. Related Documents SN
Document name
[1]
SIM900_EVB Guide
Remark kit_User
SIM08_EVB Kit_User Guide_V1.00 2011.02.18
SIM900-EVB-Kit user guide
14
Smart Machine Smart Decision
B. SIM08 control command B.1 Overview Table B-1: AT Commands for SIM08 GPS Overview
Command
Description
AT+CGPSPWR
GPS POWER CONTROL
AT+CGPSRST
GPS MODE RESET (HOT/WARM/COLD)
AT+CGPSSTATUS
GET CURRENT GPS STATUS
AT+CGPSOUT
GPS NMEA DATA OUTPUT CONTROL
AT+CGPSINF
GET CURRENT GPS LOCATION INFO
AT+CGPSIPR
SET GPS NMEA OUTPUT UART BPS
B.2 Detailed Descriptions of Commands B.2.1 AT+CGPSPWR GPS Power Control AT+CGPSPWR GPS Power Control Test Command AT+CGPSPWR=?
Response +CGPSPWR: (list of supported
s ) OK Parameters See Write Command
Read Command AT+CGPSPWR?
Response TA returns the current value of GPS Power Control PIN +CGPSPWR: OK Parameters See Write Command
Write Command AT+CGPSPWR=
SIM08_EVB Kit_User Guide_V1.00 2011.02.18
GPS POWER CONTROL ON/OFF Parameters 0 turn off GPS power supply 1 turn on GPS power supply
15
Smart Machine Smart Decision
B.2.2 AT+CGPSRST GPS Mode Reset (HOT/WARM/COLD) AT+CGPSRST GPS Mode Reset (HOT/WARM/COLD) Test Command AT+CGPSRST=?
Response +CGPSRST: (list of supported s ) OK Parameters See Write Command
Read Command AT+CGPSRST?
Response TA returns the current value of GPS Reset mode +CGPSRST: OK Parameters See Write Command
Write Command AT+CGPSRST=
GPS MODE RESET Parameters 0 reset GPS in COLD start mode; 1 reset GPS in autonomy mode
Reference
Note: COLD start mode is recommended For first time reset.
B.2.3 AT+CGPSSTATUS GPS Status AT+CGPSSTATUS
GPS Status
Test Command AT+CGPSSTATUS=?
Response +CGPSSTATUS: (list of supported s) OK Parameters See Write Command
Read Command AT+ CGPSSTATUS?
Response +CGPSSTATUS: Location Not Fix OK GPS MODE RESET Parameters 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.
SIM08_EVB Kit_User Guide_V1.00 2011.02.18
16
Smart Machine Smart Decision
B.2.4 AT+CGPSOUT GPS NMEA Data Output Control AT+CGPSOUT
GPS NMEA Data Output Control
Test Command AT+CGPSOUT=?
Response +CGPSOUT : ( 0-255) OK Parameters See Write Command
Read Command AT+CGPSOUT?
Response +CGPSOUT: OK Parameters See Write Command
Write Command AT+CGPSOUT =
Control the GPS NMEA information output from AT command UART. Response OK 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 C.1[1] bit 2=1, enable NMEA $GPGLL data output, see Appendix C.2[1] bit 3=1, enable NMEA $GPGSA data output, see Appendix C.3[1] bit 4=1, enable NMEA $GPGSV data output, see Appendix C.4 [2] bit 5=1, enable NMEA $GPRMC data output, see Appendix C.5[1] bit 6=1, enable NMEA $GPVTG data output, see Appendix C.6[1] bit 7=1, enable NMEA $GPZDA data output, see Appendix C.7[1] after setting successful, the NMEA information will output from Debug UART, NMEA Format see Appendix C.
Reference
Note Factory setting is "AT+CGPSOUT=255". This will allow all NMEA data output from Debug UART.
SIM08_EVB Kit_User Guide_V1.00 2011.02.18
17
Smart Machine Smart Decision
B.2.5 AT+CGPSINF Get Current GPS Location Info AT+CGPSINF
Get Current GPS Location Info
Test Command AT+CGPSINF=?
Response +CGPSINF : (0-255) OK Parameters See Write Command
Write Command AT+CGPSINF=
TA returns the current successful GPS location information. This command should be executed after the GPS locating successfully. If equal to 0 : Response ,,,,,,,, OK Where: longitude latitude altitude < UTC time> UTC time The Format is yyyymmddHHMMSS time to first fix (in seconds) satellites in view for fix speed over ground < course > course over ground. else if mode =21, Parameters see Appendix C.1 “$GPGGA”[1] else if mode =22, Parameters see Appendix C.2 “$GPGLL”[1] else if mode =23, Parameters see Appendix C.3 “$GPGSA” [1] else if mode =24, Parameters see Appendix C. 4“$GPGSV” [1][2] else if mode =25, Parameters see Appendix C.5 “$GPRMC” [1] else if mode =26, Parameters see Appendix C.6 “$GPVTG” [1] else if mode =27, Parameters see Appendix C.7 “$GPZDA” [1]
Note
[1]not including Parameters: “Message ID”, “Checksum” and “ ”; [2] including Parameters: Satellites in View Satellite ID Elevation Azimuth
SIM08_EVB Kit_User Guide_V1.00 2011.02.18
18
Smart Machine Smart Decision
SNR (C/N0) .... Satellite ID Elevation Azimuth SNR (C/N0) B.2.6 AT+CGPSIPR Set TE-TA Fixed Local Rate AT+CGPSIPR
Set TE-TA Fixed Local Rate
Test Command Response AT+CGPSIPR=? +CGPSIPR: (list of supported s) OK Parameter See Write Command. Read Command AT+CGPSIPR?
Response +CGPSIPR: OK Parameter See Write Command.
Write Command Response AT+CGPSIPR=< This parameter setting determines the data rate of the TA on the NMEA output (Debug UART) serial interface. The rate of Command takes effect rate> following the issuance of any result code associated with the current Command line. OK Parameter
Reference V.25ter
Baud rate per second 4800 9600 19200 38400 57600 115200 230400 460800
Note Factory setting is "AT+CGPSIPR=115200"
SIM08_EVB Kit_User Guide_V1.00 2011.02.18
19
Smart Machine Smart Decision
C. NMEA format tables C.1 Message ID GGA: Global Positioning System Fixed Data Table C-2
Global Positioning System Fixed Data
Name
Example
Unit
Message ID
$GPGGA
GGA protocol header
UTC Time
035714.000
hhmmss.sss
Latitude
3113.330565
ddmm.mmmmmm
N/S Indicator
N
N=north or S=south
Longitude
12121.265278
dddmm.mmmmmm
E/W Indicator
E
E=east or W=west
Position Fix Indicator
1
See Table C-2
Satellites Used
9
Range 0 to 12
HDOP
0.90
Horizontal Dilution of Precision
MSL Altitude
51.663
meters
Units
M
meters
Geoid Separation
7.933
meters
Units
M
meters
Age of Diff. Corr. Checksum
sec
Null fields when DGPS is not used End of message termination
Position Fix Indicator Value
Position Fix Indicator Value
Description
0
Fix not available or invalid
1
GPS SPS Mode, fix valid
SIM08_EVB Kit_User Guide_V1.00 2011.02.18
Geoid-to-ellipsoid separation. Ellipsoid altitude = MSL Altitude + Geoid Separation.
*5A
Table C-3
Description
20
Smart Machine Smart Decision
C.2 Message ID GLL: Geographic Position - Latitude/Longitude Table C-4
Geographic Position - Latitude/Longitude Name
Example
Description
Message ID
$GPGLL
GLL protocol header
Latitude
3113.330565
ddmm.mmmmmm
N/S Indicator
N
N=north or S=south
Longitude
12121.265278
dddmm.mmmmmm
E/W Indicator
E
E=east or W=west
UTC Time
035714.000
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 Position
Checksum
*56
SIM08_EVB Kit_User Guide_V1.00 2011.02.18
End of message termination
21
Smart Machine Smart Decision
C.3 Message ID GSA: GNSS DOP and Active Satellites Table C-5
GNSS DOP and Active Satellites Name
Example
Message ID
$GPGSA GSA protocol header
Mode 1
A
See Table C-5
Mode 2
3
See Table C-6
Satellite used in solution.[1]
15
SV on Channel 1
Satellite Used [1]
26
SV on Channel 2
....
Description
.... [1]
Satellite Used
SV on Channel 12
[2]
1.82
Position Dilution of Precision
[2]
0.90
Horizontal Dilution of Precision
[2]
VDOP
1.59
Vertical Dilution of Precision
Checksum
*06
PDOP
HDOP
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 C-6 Mode 1 Value Mode 1 Value
Description
M
Manual – Forced to operate in 2D or 3D mode
A
2D Automatic – Allowed to automatically switch 2D/3D
Table C-7 Mode 2 Value Mode 2 Value
Description
1
Fix not available
2
2D Fix (<4 SVs used)
3
3D Fix (>3 SVs used)
SIM08_EVB Kit_User Guide_V1.00 2011.02.18
22
Smart Machine Smart Decision
C.4 Message ID GSV: GNSS Satellites in View Table C-8
GNSS Satellites in View
Name
Example
Message ID
$GPGSV
GSV protocol header
Number of Messages
3
Total number of GSV messages to be sent in this group
Message Number[1]
1
Message number in this group of GSV messages
[1]
Unit
Description
Satellites in View
10
Satellite ID
15
Elevation
71
degrees
Channel 1 (Maximum 90)
Azimuth
277
degrees
Channel 1 (True, Range 0 to 359)
SNR (C/N0)
46
dBHz
Range 0 to 99, null when not tracking
Channel 1 (Range 1 to 32)
....
....
Satellite ID
05
Elevation
39
degrees
Channel 4 (Maximum 90)
Azimuth
072
degrees
Channel 4 (True, Range 0 to 359)
SNR (C/N0)
51
dBHz
Range 0 to 99, null when not tracking
Checksum
*7C
Channel 4 (Range 1 to 32)
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.
SIM08_EVB Kit_User Guide_V1.00 2011.02.18
23
Smart Machine Smart Decision
C.5 Message ID RMC: Recommended Minimum Specific GNSS Data Table C-9
Recommended Minimum Specific GNSS Data Name
Example
Unit
Description
Message ID
$GPRMC
RMC protocol header
UTC Time
035714.000
hhmmss.sss
Status[1]
A
A=data valid or V=data not valid
Latitude
3113.330565
ddmm.mmmmmm
N/S Indicator
N
N=north or S=south
Longitude
12121.265278
dddmm.mmmmmm
E/W Indicator
E
E=east or W=west
Speed Over Ground
0.000
knots
Course Over Ground
0
degrees
Date
170311
TRUE ddmmyy
Magnetic Variation[2]
degrees
E=east or W=west
East/West Indicator[2]
E=east
Mode
A
A=Autonomous, D=DGPS, E=DR, N = Output Data Not Valid R = Coarse Position[3]
Checksum
*7A
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, and then if that factor is not met the solution will be marked as invalid. [2] SIM08 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.
SIM08_EVB Kit_User Guide_V1.00 2011.02.18
24
Smart Machine Smart Decision
C.6 Message ID VTG: Course Over Ground and Ground Speed Table C-10 Course Over Ground and Ground Speed Name
Example
Message ID
$GPVTG
Course
0
Reference
T
Course
Unit
Description VTG protocol header
degrees
Measured heading TRUE
degrees
Measured heading
Reference
M
Magnetic
Speed
0.000
Units
N
Speed
0.000
Units
K
Kilometers per hour
Mode
A
A=Autonomous, D=DGPS, E=DR, N = Output Data Not Valid R = Coarse Position
Checksum
*13
knots
Measured horizontal speed Knots
km/hr
Measured horizontal speed
End of message termination
C.7 Message ID ZDA: Time & Date Table C-11 Time & Date Name
Example
Message ID
$GPZDA
ZDA protocol header
UTC time
035714.000
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
17
Day of the month, range 1 to 31
Month
03
Month of the year, range 1 to 12
2011
1980 to 2079
Year Local zone
Unit
Description
Hhmmss.sss
[1]
Checksum
Offset from UTC (set to 00) *55
End of message termination
Note: [1] Not supported. SIM08_EVB Kit_User Guide_V1.00 2011.02.18
25
Smart Machine Smart Decision
Contact us: Shanghai SIMCom Wireless Solutions Ltd. Add: SIM Technology Building,No.633,Jinzhong Road,Changning District,Shanghai P.R. China 200335 Tel: +86 21 3235 3300 Fax: +86 21 3235 3301 URL: www.sim.com/wm
SIM08_EVB Kit_User Guide_V1.00 2011.02.18
26