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

how to transfer data from 8051 to PC

Hi,
I am doing a project based on 8051 microcontroller.
Requirements for the project are as follows:
1) I will be entering data into the system (8051 system), throughout the day, using a keypad. Just like billing machine
2)At the end of the day i want to transfer this data to my PC using RS232. The data could be in txt file.

Now so far i am able to establish communication between 8051 and PC and observe the result on hyperterminal.
What do i have to do on PC side so that the data transfered by 8051 through RS232 gets stored as a file(data.txt) on my PC?
Please let me know the OS(On the PC)that is required for the same as well.

Thanks,
Ojas

Parents
  • The obvious thing. Either you send raw text data to the PC and have a terminal program log to file.

    Or you use a file transfer protocol, where the PC terminal program realizes that it is receiving a file.

    Or you write a specific program that talks with your microcontroller and where you acknowledge that you have received everything (so the microcontroller knows what to delete).

Reply
  • The obvious thing. Either you send raw text data to the PC and have a terminal program log to file.

    Or you use a file transfer protocol, where the PC terminal program realizes that it is receiving a file.

    Or you write a specific program that talks with your microcontroller and where you acknowledge that you have received everything (so the microcontroller knows what to delete).

Children
No data