Fact-checked by Grok 2 weeks ago

Null modem

A null modem is a specialized serial cable or adapter designed to facilitate direct communication between two (DTE) devices, such as computers or terminals, by crossing the transmit (TX) and receive (RX) signal lines, thereby simulating a modem-to-modem connection without requiring actual data communication equipment (DCE). This allows for point-to-point data transfer, file sharing, and between compatible devices using standard serial ports. The concept of the null modem originated in the early days of , stemming from the need to connect terminals directly to each other without modems, leveraging the standard established in 1962 by the (EIA). Historically, was intended for DTE-to-DCE connections, but practical adaptations like the null modem emerged to enable DTE-to-DTE links, becoming widespread in the and for tasks such as , , and local networking before Ethernet dominance. Its name derives from "nullifying" the modem in the communication path, a technique that reused existing cabling infrastructure for efficient, low-cost direct serial links. Technically, a null modem cable typically features a DB-9 or DB-25 connector. For DB-9, the transmit signal (pin 3) is crossed to receive (pin 2) and vice versa, with ground (pin 5) connected straight-through. For DB-25, transmit (pin 2) is crossed to receive (pin 3) and vice versa, with ground (pin 7) straight-through. Additional handshaking lines, such as or DTR/DSR, may be crossed or looped depending on the variant (e.g., for DB-9, RTS on pin 7 to CTS on pin 8; for DB-25, RTS on pin 4 to CTS on pin 5) to support flow control and ensure reliable data transmission, practically up to 115.2 kbps over short distances despite the standard's 20 kbps limit. Common applications included early PC-to-PC file transfers via protocols like XMODEM or , connecting terminals to mainframes, and interfacing industrial equipment, though its use has declined with the rise of USB, Ethernet, and technologies. Modern equivalents, such as USB-to-serial adapters with null modem emulation, preserve its utility in legacy systems and embedded applications.

Fundamentals

Definition and Purpose

A null modem is a specialized or that facilitates direct communication between two (DTE) devices, such as computers or terminals, using the serial interface standard. It achieves this by crossing the transmit data (TxD) and receive data (RxD) lines, effectively emulating the role of a (DCE) intermediary, like a , without requiring actual hardware. This crossover inverts the conventional DTE-to-DCE wiring, where TxD from one device connects directly to RxD on the other, and vice versa, while sharing a common signal ground. The primary purpose of a null modem is to enable point-to-point , , and between compatible DTEs over short distances, bypassing the need for lines, modems, or broader infrastructure. In early environments, where devices were inherently designed for DTE-to-DCE connections, this setup addressed the fundamental incompatibility of direct DTE-to-DTE links by simulating the intermediary DCE functionality. Common applications include between legacy systems, emulation, and protocol testing in industrial or embedded setups. Key benefits of null modems include their simplicity in design and implementation, low cost compared to full modem-based systems, and high reliability for reliable, low-latency communication at data rates up to 115,200 bps. They are particularly suited for short-distance connections, with the standard specifying a maximum of 15 meters (50 feet) at typical speeds to maintain . This makes null modems an efficient solution for direct, unmediated serial interactions in scenarios where modern networking options are unavailable or impractical.

RS-232 Protocol Overview

The standard, formally known as EIA-232 and later revised as TIA/EIA-232-F, is a widely adopted protocol for serial binary data communication between (DTE), such as computers, and (DCE), such as modems. It specifies the electrical characteristics, signal timing, functional meanings of interchange signals, and mechanical connectors to enable reliable point-to-point links over asynchronous or synchronous modes. Originally developed in the early by the Electronic Industries Association (EIA), the standard has undergone multiple revisions to address evolving needs in data interchange, with the 1997 version (TIA/EIA-232-F) incorporating updates for compatibility with modern transceivers while maintaining backward compatibility. Central to RS-232 are its defined signals, which facilitate data transmission, control, and status monitoring. The primary data signals include Transmit Data (TxD or TD) for sending information from DTE to DCE and Receive Data (RxD or RD) for incoming data. Control and handshaking signals encompass Request to Send (RTS) to initiate transmission, Clear to Send (CTS) to acknowledge readiness, (DTR) to indicate DTE operational status, Data Set Ready (DSR) for DCE readiness, (DCD) to signal an active carrier, and (RI) for incoming calls. All signals reference a common Signal Ground (GND) to establish a shared . These signals are assigned to specific pins on connectors designed for DTE devices, typically using a 25-pin (DB-25) connector for the full set of up to 25 signals or a more compact 9-pin variant (DE-9 or DB-9) that supports the most common subset, including TxD (pin 3), RxD (pin 2), RTS (pin 7), CTS (pin 8), DTR (pin 4), DSR (pin 6), DCD (pin 1), RI (pin 9), and GND (pin 5). Electrically, employs unbalanced, with bipolar voltage levels to represent binary states: a logic 0 (space) uses +3 V to +15 V, while a logic 1 (mark) uses -3 V to -15 V, with a transition region between -3 V and +3 V treated as invalid. Transmitters must drive signals within ±5 V to ±15 V, and receivers tolerate inputs up to ±25 V for robustness against . Timing is governed by rates, which define bits per second; common rates range from 110 to 115,200 , though the caps reliable operation at 20 kbps over specified loads. The primarily operates in asynchronous , where start and stop bits frame each byte without a separate clock line, though synchronous modes use additional timing signals like Transmitter Clock (TC). Despite its ubiquity, has inherent limitations that constrain its performance. The unbalanced signaling is susceptible to and ground potential differences, making it less suitable for noisy environments compared to balanced alternatives like RS-422. Cable length is restricted by capacitive loading and signal attenuation, typically to about 15 meters (50 feet) at lower baud rates like 19.2 kbps, dropping to shorter distances at higher speeds due to the 2,500 maximum load specification. Additionally, the requirement for dual-rail power supplies (±12 V nominal) adds complexity, and while enhancements allow rates up to 1 Mbps, practical deployments often adhere to lower speeds for reliability.

Historical Development

Origins

The null modem concept emerged in the 1960s as a practical adaptation of the newly standardized serial communication protocol, which was introduced in 1962 to facilitate connections between (DTE) like teletypewriters (TTY) and for telephone-based data transmission. In environments where devices such as teleprinters needed to communicate locally within the same facility, using a full setup was inefficient and costly due to the need for telephone lines and associated hardware. Instead, engineers developed a simple cable configuration that crossed the transmit (TX) and receive (RX) lines, effectively simulating the role of a without the actual device—hence the term "null modem," originating from early efforts to connect teleprinters directly without . This approach allowed direct, short-distance connections for asynchronous serial data exchange, leveraging the voltage levels and signaling without remote transmission overhead. Early motivations for null modems stemmed from and settings during the and , where cost savings and simplified setup were paramount for interconnecting TTYs and teleprinters in newsrooms, research labs, or government offices. Early vendor documentation outlined interface specifications that could bypass modems for local loops, emphasizing reliable control signal handling like request-to-send (RTS) and clear-to-send (CTS) for error-free data flow. The technique gained traction amid the rise of systems, where direct cabling reduced expenses compared to dial-up modems. By the 1970s, null modems were popularized among early computer hobbyists and users for linking terminals directly to host systems, avoiding the expense of proprietary modems from vendors like . A notable early example was their use in Digital Equipment Corporation's PDP-11 s, introduced in 1970, where null modem cables facilitated console connections between the CPU and operator terminals for and system control in university and research environments. This hands-on adoption by hobbyists, often documented in technical newsletters and user groups, underscored the null modem's role in democratizing serial communications before the widespread availability of personal computers.

Adoption in Computing

The adoption of null modems surged in the alongside the proliferation of personal computers, enabling direct serial connections for file transfers between devices like the IBM PC and Commodore 64. These cables facilitated protocols such as XMODEM and , which allowed users to exchange data without modems or telephone lines, addressing the limitations of early drives and storage capacities. Null modems proved useful for local setups in hobbyist and educational environments. In the , null modems expanded into broader networking applications before Ethernet became dominant, supporting printer sharing and remote access in resource-constrained setups. They were integrated into operating systems like through utilities such as INTERLNK, which used null modem cables to link computers for drive and printer redirection, enabling without dedicated hardware. This era saw null modems as a cost-effective bridge for small-office and home users transitioning from standalone PCs to interconnected systems. The decline of null modems began in the late 1990s and accelerated through the 2000s, driven by the rise of USB for peripherals, Ethernet for networking, and TCP/IP protocols that rendered physical serial links obsolete for most consumer applications. By 2004, major PC manufacturers ceased including ports as standard features, shifting reliance to USB-serial adapters for legacy needs, though support persisted in industrial and embedded systems. Key milestones included the evolution of null modem practices within EIA standards, starting with in 1962 and refined through revisions like EIA-232-D (1986) and TIA/EIA-232-F (1997), which formalized serial interfacing and indirectly supported null modem wiring for DTE-to-DTE connections. The last significant hardware advancements, such as improved cabling for higher rates, occurred around 2000, coinciding with the final wave of integration in consumer PCs.

Physical Implementations

Cables and Connectors

Null modem cables are constructed with shielded twisted-pair wiring, where multiple conductors—typically 24 AWG stranded tinned copper—are arranged in twisted pairs to reduce and , enclosed in an overall foil or braid for protection. These cables adhere to electrical specifications, with typical lengths ranging from 1 to 10 meters to maintain within the standard's limit of 2500 , equivalent to approximately 15 meters at rates up to 9600. Longer lengths risk signal degradation due to increased and . The primary connectors for null modem cables are the DB-25, which supports the full 25-pin standard, and the DE-9 (commonly called DB-9), a 9-pin variant used in simplified implementations for personal computers. These are usually configured as male-to-female to facilitate direct DTE-to-DTE connections, though male-to-male versions exist and require gender changers—short adapters that swap connector genders—for compatibility with standard serial ports. Insulation materials for null modem cables commonly include PVC for the outer jacket, offering flexibility, durability, and resistance to in general-purpose applications, while Teflon (PTFE) provides superior heat resistance up to 260°C and chemical inertness for specialized or harsh environments. Off-the-shelf null modem cables in these specifications are readily available from vendors like StarTech and C2G, often featuring molded hoods for strain relief and gold-plated contacts for reliable . These cables are optimized for RS-232 serial ports on legacy hardware such as older computers, terminals, and industrial equipment, ensuring direct peer-to-peer communication without a modem. In modern setups, USB-to-RS-232 adapters with built-in null modem options extend compatibility to USB-equipped devices, supporting the same wiring and length constraints.

Wiring Diagrams

Null modem wiring diagrams illustrate the internal connections required to cross over key signals between two (DTE) devices, effectively simulating the intermediary role of a . The fundamental crossover involves swapping the Transmit Data (TxD) and Receive Data (RxD) lines while maintaining a straight connection for Signal Ground (GND), enabling direct bidirectional communication. For the basic configuration without hardware handshaking, the wiring crosses TxD from one connector to RxD on the other and vice versa, with GND connected straight through. On a DE-9 (DB-9) connector, this means pin 3 (TxD) connects to pin 2 (RxD) on the opposite end, pin 2 (RxD) to pin 3 (TxD), and pin 5 (GND) to pin 5. Similarly, for DB-25 connectors, pin 2 (TxD) connects to pin 3 (RxD), pin 3 (RxD) to pin 2 (TxD), and pin 7 (GND) to pin 7. This minimal setup supports asynchronous serial data transfer at standard voltages, typically ±3 to ±15 V. A full DE-9 null modem diagram, including optional flow control lines, is shown below in table form for clarity:
Pin (End 1)SignalPin (End 2)Signal
2RxD3TxD
3TxD2RxD
5GND5GND
7 (optional)RTS8 (optional)CTS
8 (optional)CTS7 (optional)RTS
This configuration assumes male-to-male or female-to-female cabling, with the optional Request to Send (RTS)/Clear to Send (CTS) swap on pins 7 and 8 for basic hardware flow control compatibility. The DB-25 equivalent diagram follows the same crossover principle but uses the original 25-pin specification:
Pin (End 1)SignalPin (End 2)Signal
2TxD3RxD
3RxD2TxD
7GND7GND
4 (optional)RTS5 (optional)CTS
5 (optional)CTS4 (optional)RTS
Here, pins 2 and 3 handle the data lines, with optional pins 4 and 5 for . Textual representations like can approximate these for quick reference, but physical implementation requires precise or crimping to avoid shorts. Safety considerations are paramount when constructing or using null modem cables: ensure all devices operate within voltage tolerances to prevent damage from or ground loops, and verify before connection, as improper wiring can lead to or . Frame ground (pin 1 on DB-25) should be included where possible for protection.

Adapters and Variations

Null modem adapters provide modular solutions for adapting standard serial connections to null modem configurations, often incorporating crossover wiring internally to swap transmit and receive lines without requiring full cable replacement. Common types include DB-9 to DB-25 converters, which bridge the two prevalent connector standards used in interfaces, such as those featuring built-in null modem crossovers to facilitate compatibility between devices with mismatched pin counts. Gender changers, available in male-to-female (M/F) configurations, address mismatches by combining gender conversion with null modem functionality, allowing direct attachment to devices with opposite connector genders while crossing key signal lines. Variations extend to inline adapters that transform existing straight-through serial cables into null modem setups by inserting crossover logic at the connection point, typically using compact DB-9 male-to-male or female-to-female designs for seamless integration. USB null modem adapters emulate ports via USB interfaces, often employing chipset-based modules to provide a null modem DB-9 endpoint, enabling legacy on modern USB-equipped systems without native support. Custom builds offer flexible alternatives for specialized needs, such as DIY assemblies using RJ45 connectors over Cat5 cabling paired with DB-9 to RJ45 null modem adapters, which repurpose inexpensive Ethernet infrastructure for serial links up to 100 feet while maintaining . Loopback plugs, configured as short null modem-style connectors that internally route transmit to receive pins, serve as diagnostic tools for testing functionality by simulating a remote connection and verifying data . These adapters and variations remain widely available from suppliers, with modern products from manufacturers like USconverters and retailers such as typically priced between $5 and $20, depending on connector type and build quality.

Types Based on Handshaking

No Hardware Handshaking

The no hardware handshaking null modem represents the most basic implementation of a null modem , relying exclusively on the lines without any involvement of signals for . In this configuration, the transmit (TxD) line from one is crossed over to the receive (RxD) line of the other , and , while the signal ground (GND) lines are directly connected to provide a common reference; all other pins, including those for Request to Send (RTS), Clear to Send (CTS), (DTR), and Ready (DSR), are left unconnected or ignored. This minimal setup requires only three wires, making it suitable for direct -to- communication over short distances. This type of null modem is typically employed in low-speed, error-tolerant applications where reliable data exchange does not depend on hardware signaling, such as basic terminal emulation programs or interfacing with electronic measurement equipment that lacks control capabilities. It supports at baud rates low enough to prevent overwhelming the receiver, often using software-based pacing like XON/XOFF if any flow control is needed, and is ideal for scenarios requiring just 3-4 wires total. The key advantages of this configuration lie in its simplicity and cost-effectiveness, as it eliminates the need for additional wiring or circuitry associated with handshaking signals, thereby avoiding potential issues with incompatible flow control protocols. No hardware flow control means there are no delays or interruptions from signal assertions, allowing straightforward, uninterrupted data transfer in environments where the communicating devices operate at matched, conservative speeds. Despite these benefits, the absence of hardware handshaking provides no mechanism to pause transmission when a receiver's approaches , leading to potential or at higher data rates. Consequently, it is limited to slow asynchronous data transfers or applications with inherent , such as those using software oversight to manage throughput, and may cause hangs in software that expects detect or other signals to be present.

Loopback Handshaking

Loopback handshaking in null modems involves internally looping key control signals at each end of the connection to simulate a constant "ready" state, allowing direct communication between two (DTE) devices without requiring an intervening modem. In this configuration, the (DTR) signal is looped to both the (DCD) and Data Set Ready (DSR) pins on the same connector, while the Request to Send (RTS) signal is looped to the Clear to Send (CTS) pin, creating an "always on" status for these lines. The transmit data (TxD) and receive data (RxD) lines are crossed between the two ends, with the signal ground connected straight through. For a standard DE-9 (DB-9) connector, the wiring at each end includes connecting pin 4 (DTR) to pin 1 (DCD) and pin 6 (DSR), as well as pin 7 (RTS) to pin 8 (CTS), while the cross-connections between ends handle pins 2 (RxD) to 3 (TxD) and , with pin 5 () shared. This setup tricks the connected devices into believing a is present and perpetually ready, which is particularly useful for legacy software or applications designed to interact with full modem control protocols under the standard. The primary purpose of handshaking is to ensure compatibility with programs that check for asserted signals before initiating communication, preventing hangs or errors in environments assuming presence. However, it provides no genuine hardware , as the looped signals do not dynamically respond to data between devices; instead, any necessary throttling must rely on software-based methods like XON/XOFF. Consequently, this approach carries risks of data loss or buffer overflows during high-speed transfers where actual handshaking would otherwise regulate throughput.

Partial Handshaking

In partial handshaking null modems, the transmit data (TxD) and receive data (RxD) lines are crossed between the two devices to enable direct communication, while the request to send (RTS) and clear to send (CTS) lines are crossed to support basic hardware control for pacing data transmission. The data terminal ready (DTR) and data set ready (DSR) lines are also crossed to indicate mutual readiness, and the carrier detect (DCD) line is connected to the RTS and CTS lines of the opposite device to simulate presence based on control signals. For DE-9 (DB-9) connectors, the typical wiring diagram is as follows:
Pin (Connector 1)Connection to Connector 2Function
1 (DCD)7 and 8 (RTS/CTS)Carrier detect tied to opposite flow control
2 (RxD)3 (TxD)Receive Data
3 (TxD)2 (RxD)Transmit Data
4 (DTR)6 (DSR)Data Terminal Ready
5 (GND)5 (GND)Ground
6 (DSR)4 (DTR)Data Set Ready
7 and 8 (RTS/CTS)1 (DCD)Request/Clear to Send tied to opposite carrier
Pin 9 (ring indicator) is typically unused. This arrangement ensures compatibility with standards while providing limited control signals for flow and . The primary advantage of partial handshaking is the provision of for reliable data pacing and DTR/DSR crossing for readiness, which reduces the risk of buffer overflows at moderate speeds (e.g., up to 38.4 kbps) compared to configurations without handshaking, yet it avoids the added complexity of full signal emulation. This makes it suitable for applications where full is unnecessary, such as direct connections to printers for output pacing or to modems requiring only basic flow control without extensive signaling. The mechanism, as outlined in protocol specifications, allows one device to signal readiness before sending data, enhancing reliability in these scenarios.

Full Handshaking

The full handshaking null modem cable provides the most comprehensive emulation of modem-to-modem communication by crossing all primary data and control signals between two (DTE) devices, enabling robust direct connections under the standard. This configuration ensures that and signaling operate as if each device were connected through a , supporting applications that rely on complete signal negotiation. In this setup, the transmit data (TxD) line is crossed with the receive data (RxD) line, the request to send (RTS) with clear to send (CTS) for flow control, and (DTR) with data set ready (DSR) for device readiness indication. The carrier detect (DCD) signal is often unconnected or optionally looped back locally to DSR at each end to simulate persistent . Signal ground is directly connected between both ends to maintain a common reference. For a standard DE-9 (DB-9) connector, the typically involves seven wires and follows this pinout, where connections are made from Connector 1 to Connector 2:
Pin (Connector 1)SignalPin (Connector 2)Signal
2TxD3RxD
3RxD2TxD
4DTR6DSR
5Ground5Ground
6DSR4DTR
7RTS8CTS
8CTS7RTS
DCD (pin 1) at each end may be looped to pin 6 (DSR) locally if needed for carrier simulation; otherwise, it is unused. This diagram aligns with recommendations for full duplex operation. The primary purpose of full handshaking is to mimic the complete modem handshake process, including carrier detect assertion and bilateral readiness checks, which allows software designed for modem-mediated links—such as utilities or emulators—to function without modification. This setup is particularly suited for environments requiring reliable status monitoring, as it prevents communication halts due to unasserted control signals. Advantages include full support for hardware flow control via dual signaling paths ( and DTR/DSR), enabling higher data rates without overruns, and comprehensive compatibility with applications that enforce strict adherence. It is ideal for complex serial applications, such as direct PC-to-PC networking in environments, where partial configurations might fail due to missing signal assertions.

Virtual and Software Implementations

Software Emulators

Software emulators, often referred to as virtual null modems, enable the simulation of a null modem connection entirely in software, eliminating the need for physical cables while allowing two applications or processes to communicate as if linked via an serial interface. These tools typically function through kernel-mode drivers that generate paired virtual ports—such as COM1 and COM2—on the same system, where data transmitted from one port is received by the other, mimicking a direct hardware crossover. Key features of these emulators include the replication of critical null modem behaviors, such as the interchange of Transmit Data (TxD) and Receive Data (RxD) signals, along with emulation of handshaking lines like (DTR), (DCD), Request to Send (RTS), and Clear to Send (CTS). They also accommodate standard parameters, including selectable baud rates (e.g., 9600 to 115200), parity options (none, even, odd), data bits (7 or 8), and stop bits (1 or 2), ensuring seamless integration with software expecting physical serial . The widespread use of software null modem emulators emerged in the mid-2000s, driven by the availability of open-source Windows drivers that provided a reliable, hardware-free alternative for testing legacy serial-dependent applications during the transition to modern operating systems. A notable example is com0com, an open-source kernel-mode virtual serial port driver for Windows released under the GPL license, which supports unlimited pairs of virtual COM ports and includes utilities like hub4com for routing data and signals between ports. On Linux and other Unix-like systems, socat offers a command-line-based approach to creating virtual serial links via pseudo-terminals (PTY), facilitating null modem emulation for inter-process communication with configurable flow control and termios settings.

Modern Tools and Applications

In contemporary computing environments, virtual null modem tools have evolved to support software-based emulation of pairs, enabling seamless testing and development without physical . FabulaTech's Virtual Serial Port Kit, for instance, creates unlimited pairs of virtual serial ports connected via a virtual null-modem cable, emulating full behavior including custom pinouts and overlapped operations. Released in version 5.9.5 on October 15, 2025, it runs as a Windows system service with command-line control for scripting automation. The tool supports baud rates up to 921600 bps, facilitating high-speed data transfer emulation suitable for modern debugging scenarios. Complementing proprietary solutions, freeware options like Free Virtual Serial Ports provide unlimited local port pairs using software null-modem emulation, with support for , , and standards. It includes features such as line signal emulation (DTR/DSR/CTS/RTS/DCD/RI), TX buffer overflow simulation, and serial noise generation for robust testing. As of 2025, it is enhanced for on ARM64 architectures, alongside x86/x64 compatibility, and offers an SDK with /COM and .NET components for scripting integration and data logging. All standard rates, including up to 921600 bps, are configurable, with automatic port restoration on reboot. Eltima's (now Electronic Team) Virtual Serial Port Driver further extends these capabilities by creating virtual COM ports paired through null-modem connections, with explicit support for managing hardware signal lines and emulating real port settings. Latest version released on November 14, 2024, it accommodates Windows 11/ARM platforms and integrates with USB-to-serial workflows via companion tools like USB Network Gate, allowing remote hardware access over Ethernet. Logging of serial data and scripting via API are built-in, supporting baud rates up to 921600 bps for development and QA processes. On systems, open-source alternatives address legacy gaps in proprietary coverage by providing kernel-level and user-space solutions. The tty0tty kernel module emulates null-modem pairs as virtual TTY devices under /dev/tty0tty*, enabling direct software connections without additional drivers, and has seen ongoing maintenance into 2025 for compatibility with recent kernels. For IP-to-serial bridging, ser2net facilitates / connections to physical or virtual serial ports, supporting RFC 2217 remote control and encryption via gensio libraries; its image allows containerized deployment for isolated testing environments. Cross-platform scripting is achievable through Python's pyserial library, which interfaces with virtual ports on Windows, , and macOS, supporting baud rates up to 921600 bps and logging via custom scripts. These tools collectively enable scalable, hardware-agnostic serial emulation in 2025 pipelines.

Uses and Applications

Historical Applications

Null modem cables found widespread historical applications in computing during the late through the , enabling direct between devices in an era when network infrastructure was limited. One of the most common uses was for between personal computers, particularly in the and early , where they allowed two machines to connect directly via ports to exchange data using protocols like ZMODEM, which provided error detection and recovery for reliable transfers over low-speed serial links. This method was essential for users without access to modems or early networks, facilitating software sharing and backups in home and small office environments. In the realm of bulletin board systems (BBS), null modem cables enabled local direct connections between a user's computer and a host machine running software, bypassing telephone lines and modems to simulate dial-up access. This was particularly popular in the among hobbyists and early online communities, allowing file downloads, message posting, and within schools, clubs, or shared spaces without incurring phone charges. Null modems were also critical for debugging and system maintenance tasks. For instance, they supported remote kernel debugging with tools like KGDB on systems, connecting two computers via so one could step through and inspect the kernel code of the other during or . Similarly, they provided serial console access for loaders and headless servers, allowing administrators to monitor boot processes, enter commands, or recover systems without a local display or keyboard. In industrial and device control contexts of the , null modem cables interfaced computers with peripherals like printers and CNC machines in factories, enabling direct command transmission for operations such as printing reports or controlling machining processes over RS-232. For printers, which are typically DTE devices, null modems with like XON/XOFF were often employed to manage one-way data flow from host to printer. In early local area networks, they served as proxies by connecting user or computers to serial ports on terminal servers, providing access to shared resources before widespread Ethernet adoption.

Contemporary and Legacy Uses

In contemporary applications, null modems continue to serve critical roles in across various industries. In industrial control environments, they facilitate direct between programmable logic controllers (PLCs) and remote terminal units (RTUs) using protocols like RTU over , enabling reliable data exchange in setups where modern networking is not yet implemented. For instance, null modem cables are commonly employed to connect PLCs for configuration, monitoring, and troubleshooting in and utility sectors. Similarly, in aviation simulators, null modems support interconnection between simulation hardware and input devices, such as in flight systems where they ensure proper handshaking for control signals, often as part of ongoing for older training setups. In legacy equipment , technicians use null modems to link diagnostic tools directly to devices via ports, allowing for firmware updates and error logging without intermediaries. Modern niches have adapted null modems to bridge older serial interfaces with current hardware. In (IoT) deployments, devices like the act as serial gateways to connect sensors and legacy equipment, where null modems or adapters convert signals for integration into networked systems, such as or remote . USB-based null modems have become prevalent for legacy , providing a plug-and-play solution to connections on computers lacking native serial ports; for example, FTDI's USB null modem cables enable direct PC-to-PC transfers or device in development environments. Software emulators have largely supplanted physical null modems in application development and retrocomputing. Tools like DOSBox-X support virtual serial ports with null modem emulation, allowing developers to test DOS-era applications over simulated links, including network-based connections for multiplayer or scenarios. This virtual approach dominates in and hobbyist projects, offering flexibility without dependencies. Despite these uses, null modems are declining in favor of alternatives like serial adapters, Ethernet, and , which provide higher speeds and easier integration in new systems. However, they persist in utilities and applications requiring robust, low-level where compatibility with existing infrastructure is essential.

References

  1. [1]
    What is a Null Modem Cable? - Assured Systems
    A Null Modem cable is a specialised serial cable designed to enable direct communication between two Data Terminal Equipment (DTE) devices without needing a ...Missing: history | Show results with:history
  2. [2]
    Null Modem Cable Pin-out and Wiring - USconverters.com
    The null modem cable was developed to connect teleprinter terminals directly. This method eliminates the need for modems. This innovation was crucial in the ...Missing: definition | Show results with:definition
  3. [3]
  4. [4]
    RS232 serial null modem cable wiring and tutorial - Lammert Bies
    In history, practical solutions were developed to let two computers talk with each other using a null modem serial communication line. In most situations, the ...
  5. [5]
  6. [6]
    Should I Use Null Modem or Straight Through Serial Cables? - NI
    Jul 14, 2023 · With null modem cables, the transmitting device's Transmit (TX) signal is routed to the receiving device's Receive (RX) line.Missing: explanation | Show results with:explanation<|control11|><|separator|>
  7. [7]
    [PDF] APPLICATION NOTE ANI14 DTE and DCE Terminology Explained
    Adapters that do this are known as a “null modem” because they allow the two DTE to communicate as if a modem (DCE) was connecting them. ... are available for ...
  8. [8]
  9. [9]
    Null modem cable - RS232 null modem - Null Modem Emulator
    ### Summary of Null Modem Cable Content
  10. [10]
    Null Modem Cable
    The purpose of a null-modem cable is to permit two RS-232 "DTE" devices to communicate with each other without modems or other communication devices.Missing: historical | Show results with:historical
  11. [11]
    RS232 Cable and Connectors Explained - Tripp Lite - Eaton
    At the maximum length of 15 meters (50 feet), an RS-232 port will support a data rates up to 20 Kbps. Greater distances can be achieved with a slower data rate ...
  12. [12]
    Fundamentals of RS-232 Serial Communications - Analog Devices
    Mar 29, 2001 · The electrical characteristics section of the RS-232 standard specifies voltage levels, rate of change for signal levels, and line impedance. As ...
  13. [13]
  14. [14]
    The RS232 Standard - CAMI Research
    The RS232 standard was born. It specified signal voltages, signal timing, signal function, a protocol for information exchange, and mechanical connectors.
  15. [15]
    RS-232 Everything you need to know - Biamp Cornerstone
    Apr 4, 2022 · The RS-232 line has two states: either high or low. According to the standard, the high level can range between -15 and -3 V and the low level ...
  16. [16]
  17. [17]
  18. [18]
    [PDF] Scientific Computing with PCs - Kris Stewart
    Feb 15, 2013 · null modem. To simplify our own work, especially in travelling, we ... 1960s. The system of interest involves the earth, moon, and the ...
  19. [19]
    The DECSYSTEM-20 at Columbia University 1977-1988
    Jan 18, 2001 · ... 1960s. It covered acres of floor space, and you could look at the ... null modem cable. The idea of sharing our Kermit programs and ...
  20. [20]
    [PDF] Microsoft, MS-DOS, 6.22
    file, Interlnk displays the status of redirected drives and ports each time you start ... a >wire serial cable, /-wire null-modem serial came, or bidirectional ...
  21. [21]
    3 Reasons USB Ports Are Replacing Serial Ports - Voler Systems
    In 2004, most of the new PCs stopped shipping with an RS-232 serial interface as a part of their standard or base configuration. Common PC desktop peripherals ...Missing: Ethernet history
  22. [22]
    The Surprising History of Serial Cables | Auvik
    Nov 2, 2021 · Even so, RS-232 ports continued to be used in personal computers until the late 1990s, when other standards, like USB, began to replace them.Missing: decline | Show results with:decline
  23. [23]
  24. [24]
    Multi-Conductor Cable - 9502 - Belden
    Computer EIA RS-232 Cable, 24 AWG stranded (7x32) tinned copper conductors, semi-rigid PVC insulation, 2 twisted pairs, overall Beldfoil® shield (100% coverage)
  25. [25]
  26. [26]
    RS232 Specifications and standard - Lammert Bies
    The standard has a clear answer, the maximum cable length is 50 feet, or the cable length equal to a capacitance of 2500 pF. The latter rule is often forgotten.
  27. [27]
  28. [28]
    All you have to learn about serial connector pinouts
    Oct 3, 2024 · An RS232 null modem pinout links the Tx pin of a male connector with the Rx pin on an RS232 female and the Rx male's pin to the female's Tx pin.<|separator|>
  29. [29]
  30. [30]
    PVC vs Teflon Insulated Wire - Electro-Prep, Inc.
    This blog post will discuss the differences between PVC and Teflon wire insulation, as well as some of the most common applications of each type.Missing: null | Show results with:null
  31. [31]
  32. [32]
  33. [33]
    Serial Port and Modem Cables - Columbia University
    Nov 28, 2006 · True Null Modem Cable. A fully functional Null Modem cable (Model B in the figure) allows for hardware flow control and for each computer to ...Missing: milestones | Show results with:milestones
  34. [34]
    Tech Stuff - RS-232 Cables, Wiring and Pinouts - ZyTrax
    Jan 20, 2022 · RS232 DB9 to DB25 NULL Modem Pinout. Use when connecting two systems (e.g. PCs) when one has a DB9 interface and the other a DB25 interface ...RS232 DB9 and DB25... · RS232 DB9 to DB25 NULL...
  35. [35]
  36. [36]
  37. [37]
  38. [38]
    USB NMC-2.5M - FTDI
    In stockThe USB-USB null modem cable can be used to take the place of a traditional serial null modem cable to transfer data between two PCs.
  39. [39]
    Null Modem Serial DB9 Serial Modular Adapter Kit, 2x (DB9F to ...
    Part Number: P450-000 ; Features. 2pc DB9F to RJ45 Null Modem Adapter Kit; Uses readily available Cat5 Patch Cables; Null Modem Serial Connections up to 100-ft.Missing: DIY | Show results with:DIY
  40. [40]
  41. [41]
    DB9 Null Modem Mini M/F - USconverters.com
    In stock $7.30 deliveryUse these handy adapters to join serial devices together. This null modem adapter "cross over" the transmit (TX), receive (RX), and control lines to allow ...
  42. [42]
    DB9 Null Modem Adapter Male to Male Slimline Data Transfer Serial ...
    Converts standard, straight wired cables to null modem wiring · Gold contact plating provides reliable connections with repeated mating cycles · Slimline design ...
  43. [43]
    [PDF] TI Designs - RS-232 Full Modem Interface (8-Wire) Module for ...
    In a null modem connection without "flow control", the communication may be ... Implementing a 2-wire interface requires Rx and Tx signals whereas a 4-wire ...
  44. [44]
    Modem-Router Connection Guide - Cisco
    Sep 29, 2005 · Null-modem DB-25M -- DB25M RS232 cable. A rolled RJ-45--RJ-45 with ... Cisco recommends that you use no flow control. If data overruns ...
  45. [45]
    Using Different Null-Modem Schemes - Network Serial Port Kit
    The null-modem with loop back handshaking can be used with more software, but it has no functional enhancements over the simplest null-modem.Missing: wiring | Show results with:wiring
  46. [46]
    [PDF] RS232 Straight-through versus Null_Modem serial cables
    RS232 null modem cables with handshaking can be defined in numerous ways, with loopback handshaking to each PC, or complete handshaking between the two systems.
  47. [47]
    Using Different Null-Modem Schemes - Virtual Serial Port Kit
    More important however is the cross connection of the DSR and DTR lines. By cross connecting these lines, their original function is simulated pretty well.Missing: crossed | Show results with:crossed
  48. [48]
  49. [49]
    Null-modem emulator download | SourceForge.net
    Rating 4.4 (63) · Free · WindowsThe Null-modem emulator (com0com) is a kernel-mode virtual serial port driver for Windows. You can create an unlimited number of virtual COM port pairs.Browse /com0com/2.2.2.0 at... · Browse /com0com/3.0.0.0 at... · Files · 63 Reviews
  50. [50]
    Null-modem emulator (com0com) v1.8.0.0 released - SourceForge
    Jun 15, 2007 · Null-modem emulator (com0com) v1.8.0.0 released. The Null-modem emulator (com0com) is an open source kernel-mode virtual serial port driver ...Missing: date | Show results with:date
  51. [51]
    socat
    ### Summary of Socat: Description, Virtual Serial Ports, Null Modem Emulation, and Features
  52. [52]
    Virtual Serial Port Kit - FabulaTech
    Rating 4.8 (3) · $129.95 · WindowsVirtual Serial Port Kit creates a pair of virtual serial ports connected with virtual null-modem cable. The software provides null-modem connection.Missing: Eltima ser2net
  53. [53]
    FREE Virtual Serial Ports driver, Rs-232 null modem emulator
    Our freeware virtual serial port tools kit allows you to create virtual COM ports and connect them into pairs using software-based virtual null-modem cables.
  54. [54]
  55. [55]
  56. [56]
    lcgamboa/tty0tty: Linux null-modem emulator - GitHub
    This is a simple serial sniffer program supporting handshake lines (using tty0tty module) with two working modes. In normal mode the data is displayed on the ...Tty0tty · Directory Tree · Build From Source
  57. [57]
    cminyard/ser2net: Serial to network interface, allows TCP ... - GitHub
    This is ser2net, a program for allowing connections between gensio accepters and gensio connectors. Generally, this would be a network connections to serial ...Missing: bridge | Show results with:bridge
  58. [58]
    jippi/ser2net - Docker Image
    ser2net is a program for allowing connections between gensio accepters and gensio connectors. Generally, this would be a network connections to serial ports ...Missing: IP bridge Linux kernel modules
  59. [59]
    pySerial 3.4 documentation
    This module encapsulates the access for the serial port. It provides backends for Python running on Windows, OSX, Linux, and BSD (possibly any POSIX compliant ...Missing: modem cross- 2025<|control11|><|separator|>
  60. [60]
    The USB Null Modem Cable Is Now A Thing - Hackaday
    Aug 25, 2020 · The classic serial null-modem cable was, among other things, used to connect two computers together for communications and file transfer.
  61. [61]
    Putting Your Retro Computer On the Line - Insentricity
    Feb 5, 2014 · The hardest part of this setup will probably be the null modem cable. Finding a cable that has the right connector to match your retro computer ...
  62. [62]
    Remote Debugging of Loadable Kernel Modules with kgdb
    Mar 1, 2001 · Connect the two machines with a null modem serial cable. Be sure to connect the cable to the serial ports you have designated in the above step.
  63. [63]
    Remote Serial Console HOWTO - The Linux Documentation Project
    1. Select boot disk; C. · 2. Configure the BIOS to use the serial port; C. · 3. Configure modem to ignore DTR and assert DCD; C. · 4. Prepare a network install ...
  64. [64]
    RS232 serial printer cable information - Lammert Bies
    For those situations where two DTE devices must be connected directly, null modem cables can be used. However, for some types of communications standard ...
  65. [65]
  66. [66]
    Communicating Modbus Over Cell Modems - CrossCo
    May 6, 2014 · If you don't know if your RTU is a DCE or DTE device, you may just have to try either a null modem cable or a straight through cable and see ...
  67. [67]
    [PDF] Real-Time Flight Simulation and the Head-Mounted Display - DTIC
    For example, null-modem cables were made to allow proper hand- shaking between the CIG and the input devices. These input devices provided a means of selecting ...
  68. [68]
    [PDF] Troubleshooting Serial Cable Wiring with a Null Modem Adapter
    Sep 13, 2022 · A null modem adapter can be used to troubleshoot wiring without opening the enclosure of the indicator. This is a temporary fix.
  69. [69]
    Setting Up a Raspberry PI as a net to serial gateway - bering-uClibc
    - If you are using the classic but cumbersome RS-232C to USB cable + Null modem you are good to go: · - If you are using the simpler RS-232C to 3.3 volts ttl ...Missing: IoT | Show results with:IoT
  70. [70]
    IOT-GATE-RPi | Industrial Raspberry Pi IoT Gateway - Compulab
    Ideal for industrial control and monitoring · Extensive wireless and wired connectivity · Industrial build quality and reliability.<|separator|>
  71. [71]
  72. [72]
    DOSBox-X - Accurate DOS emulation for Windows, Linux, macOS ...
    DOSBox-X is an open-source DOS emulator for running DOS applications and games. DOS-based Windows such as Windows 3.x and Windows 9x are officially supported.About the DOSBox-X project · DOSBox-X’s Feature Highlights · Release Notes · Wiki
  73. [73]
    DOSBox-X 0.83.21 Release Notes
    Dec 31, 2021 · The ENET reliable UDP is now supported as an option for modem and null-modem emulations. You can enable it with “sock:1” option for modems/null- ...
  74. [74]
    Virtual Serial Ports - HHD Software
    Rating 5.0 (3) · $89.99 · WindowsSep 21, 2025 · Virtual Serial Ports is a software solution that allows you to create virtual com ports and connect them to each other using software-based virtual null-modem ...Missing: Linux | Show results with:Linux
  75. [75]
  76. [76]