PDA

View Full Version : Vehicle Tracking System using GPS/GPRS



shirazi2589
02-27-2011, 02:40 AM
Hey all,
Im doing a final year project on Vehicle Tracking System using GPS/GPRS. The Gps sends me the GPRMC data which through my SIM300 GSM Modem would transfer over TCP/IP using GPRS to my server.
My doubt is while i try to establish a GPRS connection i get an error message ERROR: 6 STATUS: IP STATUS with my AIRTEL card
and CONNECT FAIL STATUS: IP CLOSE with my vodafone card.
The entire code is ;

AT+CGATT=1
OK
AT+CSTT="airtelfun.com","","" //with airtel and AT+CSTT="www","","" with vodafone card username and pwd not required.
OK
AT+CIICR
OK
AT+CIFSR
10.XX.XX.XX // IP ADDRESS
AT+CDNSORIP=1
OK
AT+CIPSTART="TCP","www.google.com",80
OK
ERROR: 6 /* WITH AIRTEL CARD*/
STATUS: IP STATUS

STATE: IP CLOSE // MY VODAFONE CARD
CONNECT FAIL

what might be the problem.

vikas
02-27-2011, 01:09 PM
SIM300 for GPRS is unreliable ... thats what i had found.

Best way out would be a SMS based system ( it is way more reliable ) , look on ebay and there you will find such systems ... Why not replicate ones usage and release in opensource with SMD board layouts.

Doing so you will have to compete with a professional system and you will have a great project end of the day.

shirazi2589
02-28-2011, 01:32 AM
i have to carry out the same project (my college says so; hehe) ; i.e i have to send the GPRMC data to the server via GPRS so do i need to change the module if yes which one should i opt for(most reliable for GPRS)
and if i continue with sim300 what needs to be done