The Global Positioning System (GPS) is a spacebased global navigation satellite system (GNSS) that provides location and time information in all weather, anywhere on or near the Earth, where there is an unobstructed line of sight to four or more GPS satellites. In addition to GPS, other systems are in use or under development.
Trang 1Electrical & Electronics Faculty
PROJECT: Global Positioning System
GPS module Receive and Application
Trang 2CONTENT
Trang 3The Global Positioning System (GPS) is a
space-based global navigation satellite system (GNSS) that
provides location and time information in all
weather, any-where on or near the Earth, where
there is an unobstructed line of sight to four or more
GPS satellites In addition to GPS, other systems are
in use or under development
Nowadays, GPS becomes the most popular system for positioning applications It is used for tracking, mapping, navigation, measurement include military applications, civilian use This report focuses on the way using Sim908 and LM3S3749 to find out position, assemble data and then draw them on Google Earth
Trang 4SIM 908 Module
Some application of SIM 908
• GSM : SMS, phone call…
• Internet, Interface
In this project, we focused on GPS to take position
Trang 5GPS Application Interface
• Sim908 provide high-performance L1 GPS solution for cellular handset application The solution offer best-in-class acquisition and tracking sensitivity, Time-To-First-Fix (TTFF) and accuracy The GPS engine supports both fully-autonomous operation for use in handheld consumer navigation devices and other standalone navigation systems
• The GPS NMEA information is output by DEBUG port. The default baud rate is 115200bps
• The GPS engine is controlled by GSM engine, so when it is necessary to rub GPS the GSM engine must be powered on and not in SLEEP mode
• All the GPS function is controlled by AT command via serial port The GPS function AT commands are listed in the following table
Trang 6GPS Operation Mode
• Active mode: GPS is active as a GPS receiver The GPS engine will automatically acquire and track GPS satellites
• Power down mode: The GPS engine will be set into this mode by sending AT command
“AT+CGPSPWR=0” In this mode the internal power supply for GPS will be shutdown and the current consumption is very low The last position, current time and ephemeris data will be stored in the GS host memory
• Power on GPS engine : by sending AT command “AT+CGPSPWR=1”
• Power down GPS engine: by sending AT command “AT+CGPSPWR=0”
• GPS Antenna Interface : The RF interface has an impendence of 50 Ω
Trang 7SIM Card Interface
Pin description of SIM card
Reference circuit of the 8-pin
SIM card holder
Trang 8SD-card Module
The SD-Card is a standardized flash memory
storage device that is the mechanically compatible
successor of the MMC-Card SD stands for Secure
Digital Typically a file system like FAT16 will be
applied to such a device Alternate file systems are
possible, e.g the optimized Linux flash file systems,
at the price of only being able to read the data in
other common systems only with extra efforts
Trang 9Micro-Controller LM3S3749
The ARM® Cortex™-M3 processor
provides a high-performance, low-cost
platform that meets the system
requirements of minimal memory
implementation, reduced pin count,
and low power consumption, while
delivering outstanding computational
performance and exceptional system
response to interrupts
Trang 10• Module ARM: main processor, send AT command to module SIM908 (GPS), handle the data received then save them to memory of SD Card
• Using GUI to display location from the SD Card to computer by Google Earth service
Algorithm Description
Trang 11Algorithm Description
Trang 12Algorithm Description
Trang 13DTR
RTS
TXD
TXD 1
RXD 5
DTR_N 2
VDD_232 4
RTS_N 3
RI_N 6
GND1 7
VDD 8
DSR_N 9
DCD_N 10
CTS_N 11
SHTD_N 12
EE_CLK 13
EE_DATA
14
DP
15 DM
16 VDD_3V3
17 GND_3V3
18 RESET
19 VDD1
20 GND
21 TRI_STATE
22 LD_MODE
23 VDD_PLL
24 GND_PLL
25 PLL_TEST
26 OSC1
27 OSC2
28
U01
PL2303
PL_DP PL_DM
GND
GND
GND
GND
GND
GND
3V3
R23
4k7
R24
27
R25
27
R26
1k5
C21
10p
C22
10p
C23
100n
C25
100n
C24
10u
XT2
12M
3V3
USB_5V USB_5V
SD Card Module
PL2303
Development Board
Trang 14P2
JTAG 20 pin
GND
3V3
TDI
TMS
TCK
TDO
nRST
3V3
2 1
SW2
GND
R05
10k
3V3
D2 R2
1k
3V3
1
2
P3
IOTEST C_SW
100n
J-tag Debug Port IO of Lm3s3749
Development Board
Trang 15Development Board
PA0/U0RX 26
PA1/U0TX 27
PA2/SSI0CLK 28
PA3/SSI0FSS 29
PA4/SSI0RX 30
PA5/SSI0TX 31
PC0/TCK/SWCLK 80
PC1/TMS/SWDIO 79
PC2/TDI 78
PC3/TDO/SWO 77
PC4/CCP5 25
PC5/C1+
24
PC6/PHB0 23
PC7/C1O 22
PD0/U2RX
10
PD1/U2TX
11
PD2/CCP6
12
PD3/CCP0
13
PE2/SSI1RX 95
PE3/SSI1TX 96
PD6/ADC5
99
PD7/ADC4
100
GND 9
GND 15
GND 21
GND 33
RSTN
64
LDO
7
OSC0 48
OSC1 49
PB0/U1RX
66
PB1/U1TX
67
USB0DM
70
USB0DP
71
PB4/C0-92
PB5/C1-91
PB6/C0+
90
PB7/NMI
89
PB2/I2C0SCL
72
USB0RBIAS
73
PE0/SSI1CLK 74
PE1/SSI1FSS 75
PE4/ADC3 6
PE5/ADC2 5
PA6/CCP1 34
PA7/CCP3 35
PE6/ADC1 2
PE7/ADC0 1
PF0/PWM0
47
PF1/PWM1
61
PF2/PWM4
60
PF3/PWM5
59
PF4/C0O
58
PF5/CCP2
46
PF6/PHA0
43
PF7/CCP4
42
PG0/I2C1SCL 19
PG1/I2C1SDA 18
PG2/FAULT0 17
PG3/FAULT2 16
PG4/FAULT1 41
PG5/IDX0 40
PG6/PWM6 37
PG7/PWM7 36
PH0/PWM2
86
PH1/PWM3
85
PH2/FAULT3
84
PH3/USB0EPEN
83
VDDA
3
PD5/ADC6
98 PD4/ADC7
97
GNDA 4
VDD
8
VDD
20
VDD
32
VDD
44
VDD
56
VDD
68
VDD
81
VDD
93
GND 39
GND 45
GND 54
GND 57
GND 63
GND 69
GND 82
GND 87
GND 94
VDD25
14
VDD25
38
VDD25
62
VDD25
88
WAKEN 50
HIBN 51
XOSC0 52
XOSC1 53
VBAT
55
PB3/I2C0SDA
65
PH4/USB0PFLT
76
LM3S3749-IQC
U1
GND
VBAT
GND
GND
3V3
2 1
SW1
R07
10k
GND
3V3
nWAKE
XT1
8MHz
C07
10p
C06
10p
nRST
TDO TDI
TCK
TMS
PE0
PE1
PE2
PE3
PE4
PE5
PE6
PE7
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
RX0
TX0
PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC7
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PF0
PF1
PF2
PF3
PF4
PF5
PF6
PF7
PG0
PG1
PG2
PG3
PG4
PG5
PG6
PG7
PH0
PH1
PH2
PH3
PH4
R06 9.1k 1%
GND
USB0_DP USB0_DM
nHIB
XOSC0
XOSC1
C11
0.01u
C12
0.01u
C13
0.1u
C14
0.1u
C15
1u
C01
1u
C02
0.01u
C03
0.1u
C04
0.1u
C05
0.01u
Main CPU (LM3S3749)
Trang 16Development Board
Power supply circuit for SIM 908
SIM Card Circuit Serial Ports Circuit
Trang 17Development Board
Trang 18Result
Trang 19GPS is a good measurement to locate the position exactly
With this project, we can develop more application such as :
• Calculate area
• Determine the way gone of the vehicle
• Apply for “black box” to define position, speed of vehicles
Development : more intergrade
• GPRS, GSM send information to web server in order to manage online
Trang 20T H A N K
Y O U