top of page

DB9 Serial Cable vs. Null Modem: Understanding the Key Differences and Applications


When working with old computers, industrial machinery, or some communication ports, it is crucial to distinguish between DB9 serial cables and null modem cables. 


Serial connection has remained one of the most used methods of connecting devices, and the DB9 connectors are part of it.


Going by the above description, it might be easy to think that DB9 serial cables and null modem cables are the same, but they are not, and they are used for different purposes.

DB9 serial cables are mainly used to connect such devices as computers and peripherals to ensure the right transfer of information. 


Conversely, null modem cables are designed to connect two or more computers or devices directly without using the modem. 


It is also important to know when to utilize each cable to avoid wasting time and possible communication breakdowns. 


The following blog will briefly explain the two cable types and in what circumstances they can be used.


What is a DB9 serial cable?

DB9 serial cable is a type of connector used in serial communication, and it is generally found in old computer models and numerous other devices. 


 It features a D-shaped connector with nine pins arranged in two rows. On the first layer and on top, there will be five beds, while on the second layer, there will be four beds. This allows for the sharing of information from one or more units, and this can be done using standards like RS-232.


A straight-through connection of the DB9 serial cable entails the following pin configuration: Pin 2 for transmit data (TX), Pin 3 for receive data (RX), and Pin 5 for ground (GND). 


These contacts enable the cable to transmit and receive signals and can be useful for tasks such as using a computer with a modem or a serial printer. 


 Although DB9 cables are relatively old, they are still used today wherever there is a need for a stable serial connection.


DB9 serial cable is used in the following applications:

  • Extension of cable networks for older computer peripherals like mice and keyboards to PCs.


  • Interacting with computer controlled systems like computer-numerically controlled (CNC) machines and programmable logic controllers (PLCs).


  • Interconnection between older routers and switches in the network.


  • Direct interaction with embedded systems and microcontrollers in programming or transferring data.


  • Connection of GPS devices to computers for data download.


  • Setting up serial connections for point-of-sale (POS) terminals.


  • USB-to-serial adapters transfer data from outdated PCs or terminals to current equipment.


  • Scanning of automotive systems using OBD interfaces for diagnosis.


What is a null modem cable?

A null modem cable is a serial cable that is used to connect two systems or other equipment without using a modem.


 Another unique feature of this cable is the crossing over of the transmitting and receiving lines, where the TX of the first end is the RX of the second, and vice versa. 


This crossed configuration enables data to be transferred directly through the devices. A null modem cable has pin 2 connected to pin 3 and pin 3 to pin 2, while a DB9 serial cable normally has all the pins connected in a straight manner, that is, pin 2 is connected to pin 2, and so on. 


 That said, depending on the particular type of null modem cable, other control leads such as RTS and CTS could be crossed as well.


Read full original blog on DB9 Serial Cable vs. Null Modem

コメント


RECENT POST
bottom of page