Rules | Recent posts | topic RSS | Search | Register  | Log in

GSM Location

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers
Author Message
garg29



Joined: 17 Nov 2004
Posts: 263
Helped: 3


Post20 Mar 2008 12:33   GSM Location

Hi guys,

Can someone please tell me how to read the location , city? or TOWER NAME? of where the gsm is located actually i have to use this in vehicle location . i know i can use GPS but i can't use it.

With best regards,
Garg


Last edited by garg29 on 25 Mar 2008 13:47; edited 2 times in total
Back to top
davemaster



Joined: 23 Jan 2007
Posts: 74
Helped: 1


Post22 Mar 2008 5:19   Re: GSM Receiving SMS problem with PIC

Greetings

First.... what gsm module/phone are you using in your learning process?
Second.... READ (not-optional) its AT-COMMAND manual
third... try the commands specific of your gsm module/phone. The commands are not equal for all gsm modems; there're some difference between models. For this, you must connect the gsm module/phone to your pc, how? it depends on your gsm module/phone model.

Best Regards... and good luck
Back to top
garg29



Joined: 17 Nov 2004
Posts: 263
Helped: 3


Post22 Mar 2008 5:29   GSM Receiving SMS problem with PIC

Location?

Last edited by garg29 on 25 Mar 2008 13:49; edited 1 time in total
Back to top
keanesiew



Joined: 01 Nov 2007
Posts: 9


Post23 Mar 2008 22:30   Re: GSM Receiving SMS problem with PIC

hi garg, how are you doing? i'm currently working on a project to send and receive sms too and i'm dealing with some trouble in the early stage.. i learnt that you've already had a connection between the microcontroller and the modem and its working in the sending part...

i'm currently using a pic16f873a communicating with a wavecom modem too and i'm using c language too... i'm trying to see the modem response and display on the LCD after sending AT to the modem which displays OK. its not working and i guess it might be some problem on the hardware, or maybe the software...

i'll be gladly to hear from you soon and could i have your schematic for the interfacing of the PIC and the modem? i'm actually learning right now and if the response succeeds, i'll progress to the sending and receiving part too... thanks in advance...
sorry for my lack of knowledge...

keane
Back to top
penoy_balut



Joined: 08 Sep 2007
Posts: 106
Helped: 11


Post24 Mar 2008 2:01   GSM Receiving SMS problem with PIC

receiving SMS is different from reading SMS from the phone
to read use AT+CMGR = 1 (message index to read), some modems have PDU as default message format, use AT+CMGF=1 to set to text mode
while in receiving SMS you need to set the parameters of the AT+CNMI
Back to top
alyas



Joined: 07 Mar 2008
Posts: 1


Post02 Apr 2008 1:47   Re: GSM Location

I think the information you want to extract is the cellID information where the mobile is currently camped onto. I have no idea if this info is available via AT commands but there are phone applications (specially with the Nokia phones) that uses this info to build a database and map the cellID.
Back to top
drbizzarow



Joined: 24 May 2006
Posts: 193
Helped: 4


Post02 Apr 2008 6:53   GSM Location

i think thats not possible in many ways ..... u cant replace gps module by this technique
Back to top
rex_llama



Joined: 05 Mar 2008
Posts: 9
Helped: 2


Post04 Apr 2008 21:32   Re: GSM Location

The AT command I've used on a SIMCOM device is

AT+CENG=2,1

This command will have the GSM device send tower/cell info every few seconds. There are other modes that will only have the information transmitted when a call is active.

What will be received back from the GSM device is a series of strings that are numbered from 0-6. #0 corresponds to the serving cell. #1-6 corresponding to neighboring cells. There is a two byte hex string that is a cell ID. Other parts of the string correspond to carrier frequency, signal strength, etc.

Now, the tricky part is how to use the cell ID's that you receive to figure out approximate location. For that, you need access to a database, I know there are services here in the US that have databases of all cell ID's and they provide access to their databases for a fee. What you do is contact their server with the cell ID info and they send back a location. Remember, the location will be quite inaccurate (~250 m best case).
Back to top
garg29



Joined: 17 Nov 2004
Posts: 263
Helped: 3


Post05 Apr 2008 20:22   GSM Location

Thanks rex_llama. I'll try out this & soon get back to you.

Regards.
Back to top
linoko



Joined: 25 Jun 2004
Posts: 38
Helped: 2


Post09 May 2008 15:18   Re: GSM Location

hI
I suggest you to use a GMS module TELIT GM862 he have a extended AT command set.
AT#MONI gives u cell monitor info
another command is
AT#SERVINFO
#SERVINFO: <B-ARFCN>,<dBM>,<NetNameAsc>,<NetCode>,
,<BSIC>,<LAC>,<TA>,<GPRS>[,[<PB-ARFCN>],[<NOM>],
<RAC>,[PAT]]
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers
Page 1 of 1 All times are GMT + 2 Hours


Abuse
Administrator
Moderators
topic RSS 
sitemap