There is a device (receipt printer) that can be connected to the computer via a USB-RS232 adapter (the adapter is plugged into the USB port of the computer) and work with the device via the COM port that is installed together with the adapter driver.

But if there is no adapter, is there a software solution? Those. We stick the device directly into USB, put some kind of software "adapter" in the form of a driver. Are there any solutions?

  • I do not understand, you have a USB device, you connect it to your computer through two adapters: USB-RS232 - RSR232-USB and now you want to remove these adapters and insert directly USB-USB? Or is the device still RS232? Then how are you going to connect it to USB? If you can make the adapter yourself, then maybe the driver can write it yourself? - BOPOH

1 answer 1

as I understand it, the device has an rs-232 serial interface ( serial-port ), and only supports this interface.

then alas: the usb interface and the rs-232 interface are completely different. both on the electrical and on the logical level.

You can probably develop a controller chip that can handle device connections with both types of interfaces (they may even exist). but I think it is easier to buy a ready penny “adapter” with a microcircuit already “taught” to carry out all the necessary transformations.