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
votes
1 answer

Beaglebone black USB Host - FTDI device no detected

I am working with Beaglebone black device Trying to have my own compiled Kernel and my own rootfs. I want to avoid using modules in the kernel, and trying to activate the kernel so it will recognize when I plug in FTDI device to the USB Host. What…
Avner Flesch
  • 35
  • 1
  • 7
-1
votes
3 answers

Setting up USB to UART serial communication using embed

So I have a projects implemented on MCU in 2 steps/projects: Implementation of a bootloader using the mbed RTOS and USBDevice Library: USBHID, USBSerial... The application layer is implemented in a separate project where it get compiled and the…
JJ Adams
  • 481
  • 4
  • 17
-1
votes
1 answer

Connecting ALIX 6F2 through USB serial port, putty displays nothing

Please help me connect ALIX with my laptop through a serial port to usb converter. Has anyone ever tried it? Do suggest if there is some different approach. My OS: UBUNTU 12.04 Using Device : ALIX 6F2 I'm trying to connect ALIX to my PC using a…
Abhay
  • 46
  • 1
  • 9
-1
votes
1 answer

Can't instantiate usbmanager inside the Jar thats created

I am trying to use usbmanager inside a library i create. In my library I have: public class usb_manager extends Service{ private UsbManager myUsbManager; public usb_manager(){ myUsbManager = (UsbManager)…
-2
votes
0 answers

Connecting Two Arduino Due via Direct USB and sending & receiving data using USBSerial

I have two Arduino boards, let's call them Arduino_A and Arduino_B. When I connect Arduino_A to my laptop via a USB cable, it sends data over the COM port successfully. Similarly, when I connect Arduino_B to the laptop and send data via the COM…
-2
votes
1 answer

How to read Energy meter readings over serial port using COM port?

I have interfaced my Energy Meter with RS232, and then used a RS232-to-USB-Cable to interface with my PC. My Energy Meter uses Modbus Protocol. I get readings like these through Modbus Slave / Modbus Poll software. How do I get it in the right…
Abhay Bh
  • 43
  • 1
  • 7
-2
votes
2 answers

Arduino computer mouse/input device

I have successfully talked to the computer from an Arduino via serial USB port and I had the idea that I could make a keyboard or mouse with the arduino. Say I wanted to translate the computer's mouse 1 pixel to the left. What message would I have…
Mohammad Adib
  • 788
  • 6
  • 19
  • 39
-3
votes
2 answers

Read USB HID Barcode Scanner Data in Background C#

I am trying to read barcode data from Honeywell USB HID Barcode scanner to C# application running in background. I mean no need to focus the element to scan, it will read in background and process it. I have searched and tried so many thread but…
-4
votes
1 answer

Serial communication between stm32f103 and computer using USB to ttl pl2303

I would like to know is if is possible to send data from my stm32f103 board to my laptop using usb-ttl pl2303. I have tried but even after downloading the drivers the com port is not recognized by com terminal applications.
1 2 3
31
32