Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Extracting data from GPS Cell phones

Status
Not open for further replies.

Shodhan

Newbie level 6
Joined
Apr 19, 2011
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,351
I want to extract data from a GPS enabled cell phone. The data I'm interested in is the co-ordinates of the current location and the contact number of the nearest police station (if available). Then, I want to send the info. about the current location on to the phone of that police station that I'd extracted earlier. Is it possible to do so? If yes, then please help.....
 

Hi,

If you can read GPS string it will give you following string , from the below NMEA string you can extract location.


$GPRMC,220516,A,5133.82,N,00042.24,W,173.8,231.8,130694,004.2,W*70


1 220516 Time Stamp
2 A validity - A-ok, V-invalid
3 5133.82 current Latitude
4 N North/South
5 00042.24 current Longitude
6 W East/West
7 173.8 Speed in knots
8 231.8 True course
9 130694 Date Stamp
10 004.2 Variation
11 W East/West
12 *70 checksum

Regards,
Naveed
 

Thanks Naveed,
But then, how should I send this data as a message on to a cell phone?
 

Hi,

You may need to devolope an application for that, which cell phone do you have? Which OS is it using? Does it have GPS receiver?

Naveed
 

Hi,
I'm having Nokia 5800. It has in-built A-GPS support. Thus, it can act as a GPS reciever.
So, can we directly get the ASCII strings from the cell phone?
Also, the other purpose of our using a cell phone is to send sms from it when triggered externally by a Microcontroller.
 

If you are planning to use external Microcontroller then it is much easier. What you can do is, you can find some test points for GPS and GSM modem which are built-in in your cell.

1. I hope GPS will have UART interface you can take out those pins externally and connect it with your microcontrollers serial port. Then it is easy to read ASCII $GPRMC string.

2. For GSM, you need to use AT commands to send the SMS. Similarly, you need to take out the serial port of GSM modem and connect it with your microcontroller. Refer AT+CMGS command for sms send.

Naveed
 
Well, that info. was helpful. But, is it possible to get the $GPRMC string & also send AT commands from USB port of the cell phone, or do we have to get into the circuitry of the mobile?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top