Serial COM port IO
Serial Comm in dotNET: http://msdn.microsoft.com/msdnmag/issues/02/10/netserialcomm/ (MSDN Oct 2002)
Added as SerialComm project into the
NOTE – This library has a limitation on sending bytes. A second send will block until the first completes. As an option, error handling of each send can be sacrificed to avoid blocking.
The article describes the issue and a direction to go to remove it.
Made a PC-to-PC serial cable and tested serial communication between Pell and Kira. The only issue with the wiring is that there’s nothing connected to either pin 1 or pin 4, so the DSR line is left unconnected. Seems to work for my current purpose.
|
Longer Lead End |
Shorter Lead End | ||||
|
Name |
Pin |
Color |
Color |
Pin |
Name |
|
DCD |
1 |
|
|
1 |
DCD |
|
RD |
2 |
orange |
brown |
3 |
TD |
|
TD |
3 |
brown |
black |
2 |
RD |
|
DTR |
4 |
|
yellow |
6 |
DSR |
|
GND |
5 |
red |
red |
5 |
GND |
|
DSR |
6 |
yellow |
|
4 |
DTR |
|
RTS |
7 |
green |
blue |
8 |
CTS |
|
CTS |
8 |
black |
green |
7 |
RTS |