What is a Null Modem?

Article Details
  • Written By: Kurt Inman
  • Edited By: Lauren Fritsky
  • Images By: Cocreatr, Intararit, Sdubrov
  • Last Modified Date: 19 September 2019
  • Copyright Protected:
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
Researchers found that gorillas, particularly dominant males, make up songs that they sing and hum as they eat.  more...

September 22 ,  1862 :  US President Abraham Lincoln announced his preliminary Emancipation Proclamation.  more...

A null modem is a cable or adapter which allows two serial devices to communicate without a modem. Some null modems connect only the data lines between devices while others include handshaking signals as well. Null modems are often used by engineers or technicians to communicate with devices which have no built-in console. These include many types of embedded systems, network switches and servers. They are also frequently used for debugging operating systems when no keyboard or video services are available.

A crossover cable is a null modem connection where the serial data lines are cross-connected within the cable. The Transmit-Data signal on one end of the cable is connected to the Receive-Data pin on the other and vice versa. This cross-connection may also be implemented in a null modem adapter. In this case, a standard serial cable connects one device with the adapter. An identical cable connects the adapter to the other device and the crossover is wired inside the adapter itself.

The serial hardware handshaking signals may also be wired in an adapter or crossover cable. The Request-To-Send line of one device may be wired to the Clear-To-Send line of the other and vice versa. Depending on the hardware and software on both sides of the connection, this may be enough for communication to proceed.


Three additional hardware handshaking signals may be implemented in a null modem. Some serial devices require that the Data-Terminal-Ready, Data-Set-Ready and Carrier-Detect signals are functioning. When all three of these signals are asserted, each device recognizes that the other is powered up and connected. Many null modems wire Data-Terminal-Ready on one end to Carrier-Detect and Data-Set-Ready on the other. Some null modems may not connect the Carrier-Detect signal, however.

Prior to the development of the Universal Serial Bus (USB), a null modem was often used to share files between two computers. A direct cable connection was made between the two systems, using their serial ports and a null modem. File transfer software designed for a modem link was then used to copy files from one system to the other. This was particularly useful for very large files which would not fit on a floppy diskette or other removable storage media. For the same reason, a direct connection was commonly used to transfer large numbers of files in a single batch.

A common modern use is to access an operating system (OS) kernel or console-less device with a separate computer. Often when debugging an OS kernel or diagnosing a kernel panic, the standard keyboard and display cannot be used. A null modem can give an engineer control of the system during the debugging session. Many devices are designed to operate without a console, such as network switches, blade servers and embedded systems. When a keyboard and display are temporarily needed for diagnostics or maintenance, a null modem is a common means of access.


You might also Like


Discuss this Article

Post 3

@Vincenzo -- there could be a copyright issue provided that the copyright hasn't expired, the company that produced the software hasn't abandoned it and the company decides to throw a fit about what you've done in the first place. There is a very good chance the copyright has expired or the software has been abandoned, but it is very difficult to figure that out when you're talking about something that is old and hasn't been on the market for years.

Meanwhile, when it comes to null modems, a lot of people do transfer old software that way and there are programs easily found on the Internet that can help make that complicated process simple.

Post 2

@Soulfox -- true, but that does bring up a legal issue. If I own a old program and transfer it through a null modem to an emulator for my own use, I am not breaking the law. If I take that same program and post it online, there are some copyright concerns, aren't there?

Post 1

You will also find these in use among people who transfer software from older computers to newer ones. We're talking about those old eight and 16-bit systems that had no USB ports and use media such as floppy discs that are rarely found today. A null modem is still the most effective way to get systems that are so radically different to talk to each other.

The software is transferred and then put in a digital format for archival or emulation purposes. Without null modems and dedicated hobbyists, it is very possible we'd lose a lot of early computer programs due to the deterioration of diskettes. That would be a shame.

Post your comments

Post Anonymously


forgot password?