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.
dear sir, My project is to interface a 8051 with a pc.. i have to send datas through pc and this will rotate a motor. the results from microcntroller are displayed in the pc.. but in the pc the data s are getting lost and they are not displayed. please help me
"my copartner has done the half part of the project.. that is to send the characters from 8051 to PC"
Again, The 8051 neither knows nor cares what is connected to its serial port - all it knows is that characters arrive at the port, and it sends characters to the port.
Where those characters come from & go to, and what they mean, is entirely irrelevant to the 8051 - it makes absolutely no difference whatsoever to the 8051 whether the serial port is connect to another 8051, or a terminal, or a modem, or a PC, or anything else!
So, the first question is: How did your partner test her part of the project?
How does she know that it is transmitting correctly?
Obviously, if her part of the project is not transmitting properly, then the PC part cannot possibly receive what was expected!
I have found some relvent information on following web pages, some of the post have code also, may be helpfull in the matter of interface of microcontroller with PC, you can look, microcontroller51.blogspot.com/.../parallel-port-of-pc.html and picinf.blogspot.com/.../pc-based-temperature-data-logging.html