How to Handle Common Issues with USB to RS-232 Adapter Cables

7948
Have you had difficulty using a USB to RS-232 arranger to connect your RS-232 device to a calculator ? If so, you are not alone. Our customers frequently encounter issues with these adapters. In this article, I ’ ll concisely discuss the origin of these issues and provide you with some suggestions for successfully handling them .

The Evolution from RS-232 to USB

In the erstwhile days of personal computers, one of the primary connections available was the RS-232 serial port. apart from the parallel port, it was the basal means to connect an external device. The connection was reduced from a 25-pin connection to a 9-pin connection, but RS-232 ports remained deliver on every computer for many years. built-in RS-232 ports featured lineal map to memory and worked at a high gear precedence. Data much flowed directly to and from the software that was accessing the serial port .
In 1996, the Universal Serial Bus ( USB ) standard was introduced as a substitution for the serial connection and early connection types that were typically found on the spinal column of computers. The USB provided smaller connectors and more data throughput than the serial and parallel interfaces it replaced.

USB devices have high throughput, but they use a shared datum bus. Data is wrapped up and transferred in packets. To handle the packets and move data in and out of the platform accessing the USB device, a software driver is needed. The software driver sits between the hardware and the calculator program you are using, and it must be installed and working correctly .

The Necessity of an Adapter

With the far-flung adoption of USB, most computers sold now do not have an RS-232 port. consequently, to connect an RS-232 device ( such as a CR1000 ) to a computer, you need to use a USB to RS-232 arranger, such as the 17394 converter .
While USB to RS-232 adapters perform a necessary officiate, they do have some limitations. For exercise, there are three types of problems that you may encounter when using a USB to RS-232 arranger :

  • Driver issues
  • Hardware issues
  • Performance issues

Issue #1: Driver

The most common trouble that our customers encounter with a USB to RS-232 arranger is getting the proper driver installed. The driver must correspond to the chip inside the cable—not to the manufacturer of the cable.
For USB to RS-232 chips, there are two primary manufacturers : Prolific and FTDI. Because off-brand chips with poor drivers are treacherous, Campbell Scientific recommends and presently sells a cable television using an FTDI check ( part issue 17394 ). We chose this cable because it uses a chip that has a certified driver available on Windows Update. ( The older cables were silver medal in color and did not have a driver available for Windows beyond translation 7. )
Tip: Test your USB adapters in the position with your sphere calculator. When you are in the field, your computer won ’ t have an Internet joining to automatically download and install the driver .
If the driver for your adapter is not automatically installed or can not be installed from a cadmium, you will need to identify the chip in your cable and locate the driver on the Internet. Some manufacturers identify on their packaging which check is used inside their cable. You can besides identify a cable ’ s chip from the Windows Device Manager by following these steps :

  1. In the Windows Device Manager, right-click your device from the list.

    Device Manager with device selected

  2. In the drop-down menu that opens, select Properties.
  3. In the Properties dialog box, select the Details tab.
  4. In the Property field, select Hardware Ids from the drop-down menu.
  5. In the Value field, there is both a VID (Vendor ID) and a PID (Product ID). These IDs respectively indicate the manufacturer and the model number of the chip.

    USB Serial Port Properties

  6. In the example above, I did a quick Internet search for VID 0403 PID 6011, which revealed to me that the chip is an FT4232 manufactured by FTDI.
  7. After you know your chip type and manufacturer, you can locate and download the correct driver for your version of Windows.

Issue #2: Hardware

USB to RS-232 adapters are commodity pieces of computer equipment. adenine much as we all wish that everything was angstrom dependable as the CR1000, all arranger cables finally fail .
Although there are two primary companies that manufacture USB to RS-232 adapter chips, there are many cable manufacturers who offer varying levels of cable quality .

  • Higher-quality, industrial models should last longer, but they wear out over time—just like any field tool.
  • A poorly constructed cable could have components that fail in a short period of time—perhaps even by the time you receive the cable.

I have seen several cases where old cables could no longer handle 115200 baud, but the cables still worked on low baud rates. There have been many more cases where a USB cable stopped working half-way through a day in the field .
Tip: If your field site is far from your office, take two USB to RS-232 cables with you. Lost time in the field can be a lot more costly than the purchase price of a moment cable .

Issue #3: Performance

As mentioned previously, USB uses a shared data bus with packetized communication. The packetized communication introduced some latency ( data transfer time ) that wasn ’ metric ton present with built-in RS-232 ports. unfortunately, reaction time makes a noticeable deviation when you download big amounts of data or upload a new operate system .
The driver for FTDI chips allows you to lower the rotational latency time on packets. To do this, you can use the Latency Timer plain, which is accessed through the Windows Device Manager. Follow these steps :

  1. From the Windows Device Manager, right-click your device from the list.
  2. In the drop-down menu that opens, select Properties.
  3. Click the Port Settings tab.
  4. Click the Advanced… button.
  5. In the Advanced Settings window, navigate to the Latency Timer field, and reduce the setting to 1 for best performance.

    Advanced Settings with Latency Timer set to 1

In addition to lowering your reaction time time, I besides recommend disabling the selective Suspend option for your cable. The selective Suspend option allows Windows to put your hardware to sleep, which can result in crooked data packets. To disable the Selective Suspend option, clear the checkbox for the Enable Selective Suspend field on the Advanced Settings window for your device.

Note: The Selective Suspend choice is already disabled by default option in the FTDI driver .

Conclusion

Newer data lumberman designs, such as the CR6, feature of speech a native USB connection. many devices, however, will feature RS-232 connections for years to come, and we ’ ll need to continue using USB to RS-232 arranger cables. I hope the suggestions I ’ ve provided aid. Feel free to share any USB to RS-232 issues that you have encountered by posting a comment below.

informant : https://thefartiste.com
Category : Tech

About admin

I am the owner of the website thefartiste.com, my purpose is to bring all the most useful information to users.

Check Also

articlewriting1

Manage participants in a zoom meeting webinar

Call the people who attend the meet as follows Alternate host host Who scheduled the …

Leave a Reply

Your email address will not be published.