In the era of wireless technology and USB-Type C COM port may seem like a relic of the past, but it is still in demand in industrial automation, equipment diagnostics, microcontroller programming, and even when working with some medical or laboratory equipment. The problem is that modern laptops are rarely equipped with built-in RS-232 connector - it was replaced by compact interfaces. However, this does not mean that you cannot connect a device with COM port to the laptop.

In this article we will look at all ways to connect a COM port to a laptop: from choosing an adapter to configuring virtual ports in the operating system. You will learn how to avoid common mistakes when working with USB-to-Serial converters, what drivers are required for Windows 10/11, Linux or macOS, and how to check if the connection is working. We will pay special attention compatibility with industrial equipment (PLC, CNC, cash registers), where communication stability is critical.

What is a COM port and why is it needed in 2026

COM port (or serial port) is the interface for asynchronous data transfer according to the protocol RS-232, which appeared back in the 1960s. Despite its age, it is still used where required:

  • 🔧 Industrial equipment control (CNC machines, PLC controllers, automation systems).
  • 💻 Microcontroller programming (Arduino, STM32, AVR via UART).
  • 🏥 Medical technology (analyzers, old-style ultrasound machines).
  • 📟 Fiscal registrars and cash registers (especially in Russia and CIS countries).
  • 🚗 Car diagnostics (via adapters ELM327 or specialized scanners).

Main advantage RS-232reliability and simplicity of the protocol. Unlike USB, which requires a complex handshake (exchange of service packets), a COM port transfers data serially, without unnecessary overhead. This is critical for real-time systems where delays cannot be tolerated. However, the interface also has disadvantages:

  • ⚡ Low speed (maximum 115200 baud against 480 Mbit/s for USB 3.0).
  • 🔌 Lack of galvanic isolation (risk of equipment damage if connected incorrectly).
  • 📏 Large connector size (DB-9 or DB-25), incompatible with modern ultrabooks.
📊 Why do you need a COM port?
  • Working with industrial equipment
  • Microcontroller programming
  • Car diagnostics
  • Connecting a cash register
  • Other

Types of COM ports and adapters for laptops

Because built-in RS-232 found extremely rarely in laptops (except in specialized models for engineers, for example, Panasonic Toughbook or Dell Latitude Rugged), adapters are used for connection. They can be divided into three categories:

Adapter type Laptop interface Benefits Disadvantages
USB-to-Serial (based on FTDI, Prolific, CP2102) USB-A, USB-C Compactness, plugins for most OS, support for high speeds (921600 baud). Requires drivers, possible conflicts with counterfeit chips.
PCIe/ExpressCard (internal cards) PCIe, ExpressCard (obsolete) Stable, low latency, multi-port support. Not suitable for ultrabooks, requires disassembling the laptop.
Bluetooth/Wi-Fi adapters (wireless solutions) Bluetooth, Wi-Fi Convenient for remote access, no wires. High latency, unstable connections, limited compatibility.
Dock stations (with connector DB-9) Thunderbolt, USB-C Multifunctionality (COM + other ports). Expensive, dependent on the manufacturer of the docking station.

The most popular option is USB-to-Serial adapters. They are cheap (from 300 rubles), compatible with most operating systems and do not require complex configuration. However, there are pitfalls here:

⚠️ Attention: Cheap adapters based on fake chips FTDI or Prolific PL2303 may not work with industrial equipment due to incorrect protocol implementation. Before purchasing, check reviews or choose models with original chips (for example, FTDI FT232RL or Silicon Labs CP2102).

For critical tasks (for example, controller firmware Siemens S7 or Allen-Bradley) it is better to use adapters with galvanic isolation, such as USR-TCP232 or Moxa UPort. They protect the laptop from power surges that may occur when connected to industrial networks.

How to connect a COM port to a laptop via USB

Connection process USB-to-Serial The adapter consists of three stages: physical connection, installing drivers and setting up a virtual port. Let's look at each step using the example of an adapter based on FTDI FT232.

1. Physical connection

First, connect the adapter to the laptop and the target device:

  • 🔌Connect USB-to-Serial adapter to a free laptop port (preferably USB 2.0, since USB 3.0 may cause interference).
  • 🔄 Connect the connector DB-9 (or other, depending on the device) with the equipment. Pay attention to the pinout:
Pinout of standard DB-9 (RS-232)

Contact Purpose Direction
2 (RXD) Receiving data → Device
3 (TXD) Data transfer ← Device
5 (GND) Earth

If you connect a device with a non-standard pinout (for example, some models Cisco or Huawei), may be required null modem cable (cross-over), which changes places RXD And TXD.

2. Installing drivers

Most adapters require drivers, even if they are marketed as "Plug-and-Play". For Windows:

  1. Download the driver from the chip manufacturer's website:
  • Install the driver following the instructions. B Windows 10/11 You may need to disable digital signature verification (see below).
  • Check the installation in Device Manager (section Ports (COM and LPT)). If the adapter is detected as Unknown Device, try updating the driver manually.
  • 💡

    If Windows is blocking driver installation due to a lack of digital signature, run Command Prompt as an administrator and run:

    bcdedit.exe /set nointegritychecks on
    After reboot, install the driver and return the parameter to its original state using the same command with off instead of on.

    3. Setting up a virtual COM port

    After installing the driver, a virtual port will appear in the system (for example, COM3 or COM4). To check its functionality:

    1. Open Device Manager and find your adapter in the section Ports (COM and LPT).
    2. Note the port number (for example, COM5).
    3. Use a terminal program (for example, PuTTY, Tera Term or RealTerm) to connect:
      • Specify the port number (COM5).
      • Set the connection parameters (speed, parity, stop bits) that match the settings of your device. Typical values: 9600 baud, 8 data bits, no parity, 1 stop bit.

    ☑️ Checking the COM port connection

    Done: 0 / 5

    Common mistakes and their solutions

    Even if the connection is correct, problems may occur. Here are the most common errors and how to fix them:

    Error Possible reason Solution
    The port does not open ("Access Denied" error) The port is occupied by another program or driver. Close all programs using the port. B Windows check in Task Manager processes associated with the port.
    The device is not responding Incorrect connection parameters (speed, parity). Check the settings in the device documentation. Try the default values: 9600-8-N-1.
    The driver does not install (error code 10 or 28) Fake chip or conflict with existing driver. Remove old drivers via Removing a device in Device Manager, then install the original driver.
    Data noise (characters are not displayed correctly) Signal level mismatch (RS-232 vs TTL). Use an adapter that supports RS-232 (For example, FTDI FT232R), and not TTL (For example, CH340G).
    ⚠️ Attention: If you are connecting industrial equipment (for example, PLC Siemens or Omron), make sure the adapter supports hardware flow control (RTS/CTS or DTR/DSR). Otherwise, data loss may occur at high transfer rates.

    To diagnose problems it is useful to use utilities like PortMon (from Microsoft) or Serial Port Monitor. They allow you to monitor traffic on a port and identify where exactly the failure is occurring - at the driver or protocol level.

    Setting up a COM port in different operating systems

    The process for setting up a virtual COM port differs depending on the OS. Let's look at the features for Windows, Linux And macOS.

    Windows 10/11

    B Windows the virtual port appears automatically after installing the driver. To change its settings:

    1. Open Device ManagerPorts (COM and LPT).
    2. Right-click on your port (for example, USB Serial Port (COM3)) → Properties → tab Port Settings.
    3. Set up:
      • Speed (baud): Must match device settings.
      • Parity: None, Even, Odd etc.
      • Stop bits: usually 1.
      • Flow control: None, RTS/CTS or Xon/Xoff.

    To automate work with the port, you can use scripts in Python with library pyserial:

    import serial
    
    

    port = serial.Serial('COM3', baudrate=9600, timeout=1)

    port.write(b'Hello, device!')

    response = port.readline()

    print(response.decode())

    Linux (Ubuntu/Debian)

    B Linux adapters based FTDI or CP2102 usually determined automatically. The port will be available as /dev/ttyUSB0 (or ttyUSB1, if multiple devices are connected).

    To check the port:

    ls /dev/ttyUSB*
    

    stty -F /dev/ttyUSB0

    To work with the port you will need access rights. Add your user to the group dialout:

    sudo usermod -a -G dialout $USER

    After this you can use Python, C or utilities like screen:

    screen /dev/ttyUSB0 9600
    ⚠️ Attention: On some distributions (for example, Arch Linux) package installation may be required linux-headers for correct operation of adapters based on CP2102.

    macOS

    B macOS adapters are also detected automatically, but for some chips (for example, Prolific PL2303) drivers from the manufacturer are required. The port will be available as /dev/cu.usbserial-XXXX.

    To work with the port you can use Terminal:

    ls /dev/cu.usbserial*
    

    screen /dev/cu.usbserial-XXXX 9600

    For Python will need to be installed pyserial:

    pip install pyserial
    

    python3 -m serial.tools.miniterm /dev/cu.usbserial-XXXX 9600

    💡

    On macOS, when you connect an adapter, you may receive an "unidentified developer" warning. Allow driver installation in System Preferences → Security and Privacy.

    Advanced scenarios: working with industrial equipment

    If you connect industrial equipment (For example, PLC, CNC machines or laboratory instruments), standard settings may not be enough. Let's consider the key nuances:

    1. Hardware flow control

    Many industrial devices require flow control to prevent data loss. This is implemented through signals RTS/CTS or DTR/DSR. To include them in Windows:

    1. Open Port properties in Device Manager.
    2. On the tab Port Settings click Additionally.
    3. Check the boxes RTS/CTS or DTR/DSR (depending on device requirements).

    B Linux this is configured via stty:

    stty -F /dev/ttyUSB0 crtscts

    2. Non-standard exchange rates

    Some devices (eg Modbus RTU) operate at non-standard speeds, such as 38400 baud or 57600 baud. If your adapter does not support the required speed, try:

    • 🔄 Update the adapter firmware (for example, for FTDI through the utility FT_Prog).
    • 🔧 Use a different adapter (for example, Moxa UPort supports speeds up to 921600 baud).
    • 📡 Set up software speed emulation (for example, through Python with pyserial).

    3. Galvanic isolation

    When working with industrial equipment galvanic isolation Protects your laptop from power surges. Isolated adapters (e.g. USR-TCP232-306) have:

    • 🔋 Opto-isolation of signal lines.
    • 🛡️ Protection against static electricity (ESD).
    • 🌡️ Operating temperature range from -40°C to +85°C.

    If you connect equipment with voltage 12V or 24V (For example, PLC), make sure the adapter supports the appropriate signal levels. Some adapters (eg FTDI FT232H) have configurable outputs 3.3V/5V, but for industrial applications additional level converter.

    COM Port Alternatives: When to Consider Other Interfaces

    Although RS-232 remains relevant, in some cases it is advisable to switch to more modern interfaces:

    Interface Benefits Disadvantages When to use
    USB (virtual COM) High speed, easy connection. Dependency on drivers, possible delays. For programming microcontrollers (Arduino, STM32).
    Ethernet (TCP/IP) Remote access, high reliability. Complexity of setup, requires network infrastructure. For industrial automation (Modbus TCP, Profinet).
    Bluetooth Wireless connection, mobility. High latency, limited range. For car diagnostics (ELM327).
    Wi-Fi Remote control, scalability. Interference, network dependence. For monitoring remote objects.

    If your equipment supports Modbus RTU, but you don't have a COM port, you can use USB or Ethernet gateways (For example, USR-TCP232 or Moxa NPort). They transform RS-232/485 in TCP/IP, allowing you to connect to the device over the network.

    For Arduino and other microcontrollers are often easier to use USB programmers (For example, ST-Link for STM32 or AVRISP for AVR), which emulate a COM port via USB CDC.

    💡

    If your equipment supports USB OTG or Ethernet, switching to these interfaces can significantly simplify integration and increase communication reliability.

    FAQ: answers to frequently asked questions

    My adapter is detected as a COM port, but the device is not responding. What's the problem?

    Possible reasons:

    • 🔌 Incorrect pinout: check that TXD adapter is connected to RXD devices, and vice versa.
    • Signal level mismatch: if the device works with RS-485 or TTL, and the adapter is with RS-232, you will need a converter.
    • ⚙️ Invalid port parameters: Make sure the baud rate, parity and stop bits match the device settings.
    • 🔋 Eating problems: Some devices require external power (12V/24V).

    For diagnostics use oscilloscope or logic analyzerto check for signals on the lines TXD/RXD.

    Is it possible to connect a COM port to a laptop via Bluetooth?

    Yes, but with reservations:

    • 📱 Will be required Bluetooth adapter with SPP (Serial Port Profile) support, for example, HC-05 or HC-06.
    • 🖥️ On your laptop you need to create virtual COM port through Bluetooth stacks (in Windows this is done through Control Panel → Devices and Printers → Add a Device).
    • ⚠️ Delays when transmitting data can reach 100 ms, which is critical for real-time systems.

    For industrial equipment Bluetooth not recommended due to low connection reliability.

    Which adapter should I choose for Arduino programming?

    For Arduino The following adapters are suitable:

    • 🔹 FTDI FT232RL — reliable, supports high speeds, but more expensive than analogues.
    • 🔹 CP2102 - cheap and compact, but may conflict with some versions Arduino IDE.
    • 🔹 CH340G - the most budget option, but requires installing drivers (in Windows there may be problems with the signature).

    For Arduino Nano or Pro Mini often used CH340G, but if you are working with ESP8266/ESP32, it's better to choose FTDI or CP2102 due to more stable operation at high speeds.

    Can I use a COM port to connect to a router?

    Yes, many routers (for example, Cisco, MikroTik, Ubiquiti) have console port (RS-232) to configure. To connect:

    1. Use null modem cable (if the router has DB-9 connector).
    2. Set up your terminal (PuTTY, Tera Term) to speed 9600 baud, 8N1 (8 data bits