This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Interfacing CD4052 with 2 uarts in 8051

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

Parents
  • Yes, that'd be an appropriate place to use 'C'.

    But note that writing in any High-Level Language (HLL) means (among other things) that you delegate use & control of the CPU registers to the compiler.

    So this answers your earlier question about using registers or "memory" (sic) for your data...

Reply
  • Yes, that'd be an appropriate place to use 'C'.

    But note that writing in any High-Level Language (HLL) means (among other things) that you delegate use & control of the CPU registers to the compiler.

    So this answers your earlier question about using registers or "memory" (sic) for your data...

Children
  • I usually do my projects(or would say have done my projects)in ASM.I would be doing embedded C for the first time. I went through all the examples from Mazidi.Now I can even write my programs in C(In fact it makes work lot easier).
    But when it comes to wwriting C and assembly together I'm stuck. I went through the tutorial at :www.8051projects.net/.../mix-c-and-assembly.php

    I wasnt able to understand a thing.
    Can u all post a link from where I can learn mixing C and assembly.Or any book u can suggest.Regarding books I've downloaded " Embedded C :Michael J. Pont"
    Pls help