- This topic has 4 replies, 4 voices, and was last updated 12 years, 11 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › GPS and 8051 Prigramming Problem
Hi,
I’m making my university final project “Autonomous UAV” but I’m having problem with programming.
Whenever I try to get a simple string for printing, it works perfectly, but when I try to do anything else with that, I get a broken string like 8051 is unable to handle all the chars coming from GPS.
If I try to check ‘$’ sign it looses the other info so right after it only shows GGA instead of GPGGA.
I’m Using 8051 with 11.0592 crystal, M89 Holux GPS.
Please help me out with that.
Thnx a lot!!!
hii Abdul…
first u chck fr $GPGGA pattern and save it in a array…if u r not getting $GPGGA then again go back …when u got it then automattcally u can save the whole pattern of $GPGGA in an array….nw check for comma…now u know the exact position of commas iun the pattern…..then print it by order…time, lattitude, longitude…
agree with mahendra singh …but are u interfacing gps using c sharp language???
Thanks a lot guys but I have already solved the problem. I was trying to grab-&-check the string from the GPS simultaniously but the 8051 couldn’t handle it. But now I’m first collecting the string and then cropping out my needed data.
But thanks a lot for help!!!
are you using string operation because i am too facing the same problem that you faced. I have used the program in following link
but i think the controller is not able to find out $GPRMC.
can you guide me regarding this.