Hey all,
I am doing a project on Vehicle Tracking System using GPS and GSM Modem.The 2 devices aforementioned communicates with 8051uC. But since there is only 1 UART in 8051 i have to use a analog multiplexer i.e CD 4062. I want to know how to interface it with GPS, GSM, and 8051.
Also it would be grateful if anyone could tell me how to parse output of GPS and how initialize a GPS receiver to that it starts giving me the GPRMC
Could you not manage to follow the link that I gave you earlier?
Also can u provide me with some sample codes for GPS data parsing and GSM serial communication with a uC
Hey thnx Can u all name a few uC's in the MCS51 / 52 range having 2 UARTS
Use a chip with two serial ports. Only then will you be able to receive data from the GSM at the same time that your GPS emits data. Using a chip with a single UART when multiple UARTS are needed is so 1980.
See the documentation for your specific GPS to figure out what init strings you need to send to it.
Decoding a GPRMC string should be a quite trivial operation. The checksum is trivial. Splitting it into individual parameter fields is trivial. Converting the individual fields is trivial. So really no need to post a lot of source that has been written with possibly different requirements in mind.
Oh no, here we go again!
Since a fundamental part of your project is communicating with two serial devices, why not just use a processor with two UARTs?!
Plenty exist: http://www.keil.com/dd/search_parm.asp
"i have to use a analog multiplexer"
Even if you do decide to make life difficult for yourself by using a multiplexer, Why does it have to be analogue?
This school assignment comes up regularly - use the 'Search' facility on this site to find previous discussions here, and Google (or other search engine) to find them elsewhere...
View all questions in Keil forum