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

problem in receiving the text serially from port p3.o of At89c51 using pointer.

Hi! i am new to this forum. But still i am sure that this is the place where i could solve the problem regarding my code written in keil c.

Actually, I am working with the voice controlled project. I am sending the speech that has been converted to text through Usb to rs232c cable to p3.0 port of Atmel AT89c51 microcontroller. Now, I am controlling the microcontroller using the keil c. So, I need to receive the text serially using pointers or any other mechanism and the extracted word shoud be compared to either of the commands like right, left,stop,back and provide the appropriate logigic values to motor driving circuit to control the motor. So i have worked with this keil for long time but still i am not getting the respose from the microcontroller side toward the motor driving circuit.

So please help me in moving my project forward.
cheers.

Parents
  • Having broken your code down into "modules", that makes it much easier to debug.

    Instead of just saying, "i am not getting the respose", you can now look at each "module" to see exactly where it's going wrong:

    1. Is the Serial Data Deception working?
    Clearly, if this is wrong, nothing further is going to work - is it?!

    2. If the serial data reception is OK, is the Text Parsing working?

    3. If the serial data reception & Text Parsing are OK, look at the next step...

    etc,...

Reply
  • Having broken your code down into "modules", that makes it much easier to debug.

    Instead of just saying, "i am not getting the respose", you can now look at each "module" to see exactly where it's going wrong:

    1. Is the Serial Data Deception working?
    Clearly, if this is wrong, nothing further is going to work - is it?!

    2. If the serial data reception is OK, is the Text Parsing working?

    3. If the serial data reception & Text Parsing are OK, look at the next step...

    etc,...

Children
No data