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
We can't tell you why characters are not displayed.
Why?
We do not have any source code to look at. We do not have any oscilloscope images to tell that there are data sent to the PC. We do not know if the PC is configured to use the same baudrate etc as the 8051 is intended to send with. ...
You - or your copartner - must figure out this. But assume that the Hyperterterminal program works. Then you have to figure out if the 8051 is actually sending something. And if the connection between 8051 and PC is electrically correct (signals to the correct pins and with the correct levels). And that both sides have the same baudrate and number of data bits etc.
It isn't the architecture of the PC that makes characters to display. It is the programs that runs on the PC.
The serial port does not have any protocols. It is just raw characters being sent and received. It is up to the applications you run on the PC to treat these characters as part of a protocol.
Are you saying that your teacher hasn't teached you the basics required to do your part of the project? In that case, you should talk with your teacher.