On Linux, USB devices comeup as files under /dev/ttyUSB0
and so on.
One can create custom USB devices (with little bit of hardware tinkering). These devices can be based on
USB-TTL converters. These are available with USB-A, mini-USB, micro-USB. These devices are almost invariably
uses FTDI chips. Can use the program FT_Prog to flash the ftdi chip to set your own custom device names.
It is also possible to use libftdi
for more hardcore stuff. Documentation is sparse though. Need to look at examples.
For power users, one can build a custom board (PCB) with ftdi chips. There are several FTDI chips available which is
able to carry out highspeed USB-3 communication.
These converters can be used with any microcontroller. If using Arduino based controller, check this out to write/read data to serial devices: https://www.arduino.cc/en/Tutorial/SoftwareSerialExample.
- USB-TTL Devices Banggood-china-ecommerce.
- Arduino Software Serial.
- FT_Prog.
- libftdi. For hardcore users only, sparse documentation!.