RECEIVING INFORMATION on PC FROM MICROCONTROLLER BY RS232

Status
Not open for further replies.

tusemo

Advanced Member level 4
Joined
May 28, 2012
Messages
109
Helped
23
Reputation
48
Reaction score
22
Trophy points
1,298
Location
Turkey
Activity points
1,841
Does anybody have (or know) visual c sharp code to receive data from rs232 ?
 

It's not that difficult to write. You have to open the MSComm port and set the parity, baudrate, stop bits. and then transmit / receive data. If you want I can try. I have done that in VB.net

Try this app to receive serial data.
 

Attachments

  • serial receive.rar
    172.4 KB · Views: 126
  • Serial Communication.rar
    417.4 KB · Views: 192
Last edited:

is it possible to sen information to pc what ever I want (no time restristion) ?, Should I use 9-pin serial port's some pins more than Rxd and Txd
 

Last edited:
Reactions: tusemo

    tusemo

    Points: 2
    Helpful Answer Positive Rating
If your PC does not have a serial port (most computers nowadays don't), you have to either use USB or a USB-to-RS232 converter and then use RS232.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…