We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
5 minutes looking around on this site - or looking around on your computer - should give you a good starting ground for serial communication.
Processing $GPRMC strings doesn't have anything to do with serial communication. You could just as well have received the data from a file on a memory card or have the strings hard-coded in the source code.
When writing software, you partition your problem into smaller pieces until you have pieces small enough for you to handle. Receiving data, and decoding data is definitely two separate pieces. And processing NMEA strings is also possible to see as multiple tasks. - Locating record separators (i.e. individual text lines) - Computing checksum - Splitting line into individual fields - Decoding the contents of the different fields - Using the decoded data in an application-specific way.