[SOLVED] problem with the logic of GPS receiver interfaced through AT89S52

Status
Not open for further replies.

ashu840

Newbie level 4
Joined
Aug 19, 2014
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
41
Dear all;
I've tried a lots of logic to extract the latitude and longitude but failed. Some garbage values are being displayed on my lcd screen.I need to extract the data fom this line $GPRMC,084616.000,A,2017.753882,N,08549.964748,E,0.00,0.00,230914,,,A*69
Please tell me any possible logic using which i can proceed further.
 

Hello Ashu,

You are getting garbage data, that means you are getting the data from the GPS. but probably you need to convert the characters into ASCII format by adding 48(decimal) and then display the values on lcd.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…