USB adapter
![]() | This article needs additional citations for verification. (October 2012) |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/3/37/FTDI_Cable.jpg/220px-FTDI_Cable.jpg)
![](http://upload.wikimedia.org/wikipedia/en/thumb/f/f8/FTDIFriend.jpg/220px-FTDIFriend.jpg)
A USB adapter is a type of protocol converter that is used for converting USB data signals to and from other communications standards. Commonly, USB adapters are used to convert USB data to standard serial port data and vice versa. Most commonly the USB data signals are converted to either RS232, RS485, RS422, or TTL-level UART serial data. The older serial RS423 protocol is rarely used any more, so USB to RS423 adapters are less common.
Uses[]
USB to serial RS232 adapters are often used with consumer, commercial and industrial applications and USB to serial RS485/RS422 adapters are usually mainly used only with industrial applications. Currently, USB to TTL-level UART converters are used extensively by students and hobbyist as they can be directly interfaced to microcontrollers.
Adapters for converting USB to other standard or proprietary protocols also exist; however, these are usually not referred to as a serial adapter.
The primary application scenario is to enable USB-based computers to access and communicate with serial devices featuring D-Sub (usually DB9 or DB25) connectors or screw terminals, where security of the data transmission is not generally an issue.
USB serial adapters can be isolated or non-isolated. The isolated version has opto-couplers and/or surge suppressors to prevent static electricity or other high-voltage surges to enter the data lines thereby preventing data loss and damage to the adapter and connected serial device. The non-isolated version has no protection against static electricity or voltage surges, which is why this version is usually recommended for only non-critical applications and at short communication ranges.
History[]
Historically, most personal computers had a built-in D-sub serial RS232 port, also referred to as a COM port, which could be used for connecting the computer to most types of serial RS232 devices. By the late '90s, many computer manufacturers started to phase out the serial COM port in favor of the USB port. By the mid-2000s, some computers had both a serial COM port and a USB port; however, many no longer had a serial COM port by that time, and today most modern computers have no serial COM port but instead only USB ports.
Since many serial devices with a RS232, RS485 or RS422 port are still in use and even still produced today, the disappearance of the serial COM port from personal computers has created a need for the USB to serial adapter.
Architecture[]
![](http://upload.wikimedia.org/wikipedia/commons/thumb/a/a8/PL2303HX-HD.jpg/220px-PL2303HX-HD.jpg)
As a simplified example a typical standard USB to serial adapter consists of a USB processor chip which processes the USB signals. The USB processor sends the processed USB signals to a serial driver chip which applies the correct voltages and sends the processed data signals to the serial output.[1]
For the computer to be able to detect and process the data signals drivers must be installed on the computer. Some chip models have drivers installed by default, including FTDI, while drivers for other chip models must be manually installed (e.g. for Windows and MacOS, WCH CH340,[2] Silicon Labs 210x,[3] Prolific PL2303[4]).
When the USB to serial adapter is connected to the computer via the USB port the driver on the computer creates a virtual COM port which shows up in Device Manager on Windows, and under /dev on Linux and MacOS. This virtual COM port can be accessed and used as if it was a built-in serial COM port. However, the characteristics of the virtual COM port are not exactly the same as a real internal COM port, mainly due to data latency; which means that if very sensitive and precise data transfer is required, the USB to serial adapter might be unreliable and not a desired solution.[5] Virtual COM drivers are usually available for Windows, Linux and Mac only.[6]
References[]
- ^ "5 Steps for Selecting the Right USB to Serial adapter". Retrieved 14 October 2012.
- ^ "WCH CH340 USB UART chip". Retrieved 11 December 2018.
- ^ "Silicon Labs CP210x USB to UART Bridge VCP Drivers". Retrieved 11 December 2018.
- ^ "USB to UART/Serial/Printer". www.prolific.com.tw. Archived from the original on 7 March 2021. Retrieved 6 November 2021.
- ^ "RS232 to USB converters". Retrieved 14 October 2012.
- ^ "FTDI Drivers". Retrieved 14 October 2012.
- USB
- Legacy hardware