The serial port is called serial interface. Today's computers generally have two serial ports: COM1 and COM2. You can see the 9-pin D-shaped interface behind the computer, and sometimes we call it :RS-232 interface. Many mobile phones data lines or logistics receivers are now connected to computers using COM ports.
The serial cable is generally divided into two types. The direct connection and the crossover pair are corresponding to each other. The difference between them is the way the pins connected at both ends. Different definitions of the way are different. Connect the x pin to the x pin directly to the serial cable. For example, the first pin on one end is connected to the first pin on the other end. The cross pairs twists the transmission line and the receiving line. For example, the fourth pin on one end is connected to the fifth pin on the other end.
The reason why serial cable is designed into these two types is that there are two different serial devices. They are data terminal equipment and data communication equipment, and they receive their respective information on different lines. This way we know which serial cable to use depends directly on which serial device is used.







