USB to Serial Port Adapter: Getting the COM Port Right

The adapter installs in seconds and then fails to connect because the software is looking at the wrong port number. Pinning the COM port is the step almost everyone skips.

Quick Answer

A USB to serial port adapter creates a virtual COM port that behaves like a built in serial port. Install the driver before connecting, then assign a fixed COM number so your software keeps working across reboots and different USB sockets. Set the serial parameters, usually 9600 baud with 8 data bits, no parity and one stop bit, to match the equipment.

Setup Sequence

  1. Install the chipset driver from the adapter vendor or the chip maker.
  2. Connect the adapter and confirm a new port appears in the device list.
  3. Open port settings and change the COM number to a fixed value.
  4. Set baud rate, data bits, parity, stop bits and flow control.
  5. Record the assignment so other users on the machine do not trip over it.

Where the Port Settings Live

PlatformWhere to find itNotes
WindowsDevice Manager, Ports, Properties, Port SettingsAdvanced button sets the COM number
macOSTerminal, ls /dev/tty.*Name varies by chipset, for example usbserial or SLAB_USBtoUART
Linuxdmesg, then /dev/ttyUSB0Kernel driver usually included
Application softwareIts own port selectorOften overrides system defaults

Why the Port Number Moves

Different sockets

Windows assigns numbers per physical port, so moving the adapter changes its COM number.

Multiple adapters

Each adapter takes a number in the order it was first seen. Production machines should pin them deliberately.

Reinstalls

Removing and re adding a device can consume the next free number, leaving gaps in the numbering.

Common Errors and Meaning

ErrorMeaningAction
Code 10, cannot startDriver problem, often counterfeit chipsetInstall the correct driver for the actual chip
Code 28, no driverDriver not installedInstall from the vendor
Port appears then vanishesPower or cable faultTry another port and cable
Connects but no dataWrong port selected in softwareCheck the application port setting
Garbled outputParameter mismatchMatch baud, parity and stop bits

Real-World Applications

Related Guides

For chipset choice, read USB serial adapter. For the Converter side, see RS232 to USB. For driver faults, start with USB serial adapter driver.

FAQ

Why does my COM port change every time?

It is assigned per physical USB socket. Set the number manually to keep it fixed.

Can I use a COM port above 9?

Modern software usually supports higher numbers, but some legacy applications only accept COM1 to COM9. Assign a low number in that case.

Do I need to reboot after installing the driver?

Often yes for the port to appear reliably, especially on Windows.

How do I know which port to choose?

Unplug the adapter and watch which entry disappears, then plug it back in.