GM862-GPS as a location reporting device via SMS

Hi people, I’m currently doing a university project. I would like to build a device that sends out it’s current gps location via sms to a designated cell phone number. So far I think GM862-GPS module looks like the most promising piece of component I can use. I’ve been searching around the internet the past couple of day for more info on how i can go about building this device. Can anyone here with any idea give me some advice. Deeply appreciated it.

For documentation on the Telit GM862-GPS try the [Telit website

AT Command reference - http://www.telit.co.it/data/uploads_EN/ … _r2(1).pdf

[Easy Script in Python](http://www.telit.co.it/data/uploads_EN/products//80000ST10020a_Easy%20Script%20in%20Python_r2.pdf)](http://www.telit.co.it/down.asp?productId=105)

You can use this the send the sms, you just need to format you GPS sentence then call the function to send your sms.

def SendSMS(phone_number,sms_text):

print ‘made it to def’

res = MDM.send(‘AT+CMGS=’+ phone_number + ‘\r’,5)

n=0

while n < 20:

res=MDM.receive(1)

if res.find(“>”) >-1:

print n

break

else:

n = n +1

res = MDM.send(sms_text, 10)

if res != -1:

print ‘Text sent ok’

res = MDM.sendbyte(0x1a,10)

n=0

while n < 20:

res=MDM.receive(1)

if res.find(“+CMGS”) >-1:

print n

break

if res.find(“ERROR”)>-1:

print ‘sms ok’

else:

print ‘not good’

else:

n = n +1

print ‘def completed *******************’

indented version can be found here http://www.mitech-es.com/newbihelp.txt just copy and paste.

Hope it helps.

How easy is it to turn one of these into a small tracking device - what else is required?

Read the datasheet posted above.

At the minimum, a GPS patch antenna, a GSM antenna and a battery of some sort.

now is there a way to do that but via GPRS? if anyone can help please?

If you read the ‘Easy GPRS’ doc at http://www.roundsolutions.co.uk/techdocs

you can also search their forum for the information you require, if you post on their forum you need a customer number before you get help but you should find everything you need without having to ask.

I have my new devices turning up on Tuesday, I will post a pic when they arrive.