Questions tagged [usbserial]

This tag is used for software related questions about using USB-to-serial Bridges and Adapters. Hardware adapters attach a peripheral with a DB-9 or DB-25 connector to a USB connector on a PC or other host. Software or virtual adapters are drivers in the host which create a COM port interface to a USB connection allowing software to open the virtual COM port to a device attached to the USB connector.

USB-to-serial bridges/adapters were originally developed as a way to connect a USB device to a PC or host without USB ports. These adapters were an alternative to the legacy DB-9, RS-232 COM ports (usually referred to as simply a COM port), which were standard on older PCs when USB was first becoming available.

More recently, the COM port interface is being phased out of the PC industry in favor of USB. These adapters allow a user to connect a device requiring the legacy COM port to a desktop computer or laptop via one of its USB ports.

When connected the adapter appears on the computer as a Communications Device Class (CDC) USB device, more commonly known as a virtual COM port.

Some software applications designed to communicate with devices through a COM port may require a software virtual COM port driver to allow use with a USB connected device. In some cases such drivers must be installed and in some cases the operating system already has the drivers and when the device is connected, a virtual COM port will automatically be created.

An example of such an application is the Arduino IDE which is used to create a sketch for an Arduino or ESP32 microcontroller. The microcontroller is attached to the host with a USB cable which provides power to the device as well as a communications path. The user selects the virtual COM port created when the device is physically connected in order to download a program.

Generally speaking, a USB-to-serial bridge more specifically refers to the embedded technology, or microchip, within the hardware adapter that performs the actual logic and protocol translations between USB and generic asynchronous serial communication (UART or SCI).

475 questions
1
vote
1 answer

ESP8266 module fails at boot

I have a ESP8266MOD ESP-12-E hooked up to a USB-to-UART module. When I try to communicate with the module I get some intelligible output then an error message and the communication is closed. For ai-thinker-0.9.5.2-115200 and…
Mihai
  • 307
  • 2
  • 6
  • 14
1
vote
1 answer

Audio input through USB in Android

I have been wondering, on how to capture Audio inputs through USB in Android. My scenario is to receive audio through external hardware and play that received audio through android app. This transmission is to be done over USB. Is there any way to…
AndroidHacker
  • 3,596
  • 1
  • 25
  • 45
1
vote
0 answers

(How) can I change the [Caption] name of an Arduino in a WMI search of Win32_SerialPort?

I am building an Arduino-based peripheral for a project at work that interacts with a Service on the PC side that, when auto-detecting the serial port, does so through a WMI search for the Caption. It therefore looks for any attached USB device the…
Tombas
  • 111
  • 1
  • 10
1
vote
1 answer

How to read data from two Serial Port devices from Android device?

I am using https://github.com/felHR85/SerialPortExample to read data from one serial device using OTG cable and Serial to USB converter (prolific pl2303 chipset). I am successfully able to get data from one device but when I connected the 2nd Device…
Kumar Ravi
  • 429
  • 2
  • 20
1
vote
2 answers

XRUSB raspberry pi

I'm working with a raspberry pi connected with xrusb to a controller using python.I use make file to Compile and install the common usb serial driver module and it works fine. After reboot i have problem. The driver is lost. I have to install the…
Billy Moukas
  • 47
  • 1
  • 12
1
vote
0 answers

arduino nano with usb to ttl converter

i have a usb to ttl converter and an arduino nano the arduino nano's usb port stopped working for some reason, and hence i want to try using the usb to ttl converter to transfer sketches to the nano, how would I go about doing this?? i have tried…
Sahaab Zahid
  • 65
  • 1
  • 12
1
vote
1 answer

Serial Communnication over USB with a LIVE USB boot

The application uses serial communication over USB and works fine when the PC boots from HDD. I have created a liveUSB image (.iso) of the working OS. Booted the same PC from USB drive which contains the .iso image. Now, the DUT is connected and the…
user3612463
  • 149
  • 1
  • 7
1
vote
1 answer

Java and USB-to-COM

I want to develop a Java application to communicate with the device based on Xilinx Spartan 3E Starter Kit. The board is connected to my PC with USB-to-COM cable (COM is on the board). What I need is to send some sequences of bytes to the device and…
Andrey Pesoshin
  • 1,136
  • 1
  • 14
  • 30
1
vote
1 answer

Cygnal Integrated Products serial port on Linux

I have an infrared thermometer which operates on a virtual serial port over USB, which I am trying to use on Debian Linux. Unfortunately, the system does not enumerate a /dev/ttyUSB device. Here is the dmesg for the device: usb 5-1: new full-speed…
Rachie
  • 433
  • 1
  • 6
  • 17
1
vote
1 answer

CDC ACM driver for UEFI

I'm new to UEFI development. So far, I have learnt about UEFI shell, build procedure and application basics. My task is to communicate to a custom board from UEFI using uefi app through a USB cable from the PC (usb serial). Currently, the PC is…
Keshava GN
  • 4,195
  • 2
  • 36
  • 47
1
vote
0 answers

How to get address of each port on usb hub in android

I want to connect multiple devices with the android tablet via usb hub and detect each device in order to communicate with it. I am able to connect more than one non serial devices and differentiate them, but Issue occurs when I want to connect more…
karan
  • 8,637
  • 3
  • 41
  • 78
1
vote
1 answer

No response from FT230X using Android D2XX driver

I have made a simple Android app that connects to an FTDI chip using the D2XX driver and writes a command and listens for responses. Using this app I can successfully write some dummy data to an FT232B chip and receive a response. With the same app…
Alix
  • 2,630
  • 30
  • 72
1
vote
1 answer

How to watch/change windows buffer size for RS232 (com)?

I'm using USB for communication. Our device sends 100k/s data (ARM7, very small memory size), and the PC needs to receive and process it all. My previous design was implemented as a mass storage device, and extended a command for the communication…
linjunhalida
  • 4,538
  • 6
  • 44
  • 64
1
vote
1 answer

Arduino Clone CH340g osx issue (driver installed and apparently working)

I'd like to mention that the device I'm talking about in this question works fine using avrdude on a linux machine, the issue appears to be with the OSX driver for the CH340g I've installed the latest CH34xx driver from www.wch.cn The device…
Ollie Hirst
  • 592
  • 2
  • 6
  • 14
1
vote
1 answer

Failed to receive data over usb using Usbserial example

I am using following UsbSerial example from below link https://github.com/felHR85/SerialPortExample. I want receive data from over usb from the device shown in the photo. Device is basically a counter machine which is sending counter data over…
karan
  • 8,637
  • 3
  • 41
  • 78