Dec 4, 2012 #1 T 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 ?
Dec 4, 2012 #2 I internetuser2k12 Banned Joined Jul 25, 2012 Messages 1,192 Helped 171 Reputation 342 Reaction score 162 Trophy points 1,343 Activity points 0 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: Dec 4, 2012
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.
Dec 4, 2012 #3 T 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 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
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
Dec 4, 2012 #4 I internetuser2k12 Banned Joined Jul 25, 2012 Messages 1,192 Helped 171 Reputation 342 Reaction score 162 Trophy points 1,343 Activity points 0 You only has to use three pins Rx, Tx, and GND. You have to connect your MCU's Rx and Tx pins to MAX232 and then connect the output of MAX232 to PC. http://www.8051projects.net/serial-communication/introduction.php http://www.engineersgarage.com/mic...s/interface-serialport-RS232-AT89C51-circuit Last edited: Dec 4, 2012
You only has to use three pins Rx, Tx, and GND. You have to connect your MCU's Rx and Tx pins to MAX232 and then connect the output of MAX232 to PC. http://www.8051projects.net/serial-communication/introduction.php http://www.engineersgarage.com/mic...s/interface-serialport-RS232-AT89C51-circuit
Dec 4, 2012 #5 Tahmid Advanced Member level 6 Joined Jun 17, 2008 Messages 4,764 Helped 1,799 Reputation 3,590 Reaction score 1,662 Trophy points 1,413 Location Berkeley, California Activity points 30,714 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.
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.
Dec 4, 2012 #6 T 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 Than you all.