SparkFun Forums 

Where electronics enthusiasts find answers.

Tips and questions relating to the GPS modules from SFE
By Leddy
#29477
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.
By velocet
#30652
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.
By peterc
#30762
How easy is it to turn one of these into a small tracking device - what else is required?
By Krogoth
#30798
Read the datasheet posted above.

At the minimum, a GPS patch antenna, a GSM antenna and a battery of some sort.
By Court-Jester
#35396
now is there a way to do that but via GPRS? if anyone can help please?
By velocet
#35398
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.