USB To RS232 Serial Data Cable Adapter Male Port CH340 / PL2303 / FT232

USB To RS232 Male CH340/PL2303
USB To RS232 Male CH340/PL2303
USB To RS232 Male FT232
USB To RS232 Male FT232

Product Overview

This product features a black PVC cable jacket, aluminum connectors, and DB9 interface with anti-slip fixing screws. It has a wide range of applications, suitable for devices such as scanners, touch screens, and industrial control computers. It is compatible with Windows, Mac OS, and Linux systems. The product comes with built-in CH340/PL2303/FT232 driver chips, making it plug-and-play.

USB-To-RS232-Male Dimensional Diagram
USB-To-RS232-Male Dimensional Diagram

Resource overview is as shown in the following figure:

USB-To-RS232-Male Resource Overview Diagram
USB-To-RS232-Male Resource Overview Diagram

1. RS232 DB9 Male

2. Anti-slip fixing screws

3. USB Type A connector

Product Parameters

ModelUSB-To-RS232 Male-CH340USB-To-RS232 Male-PL2303USB-To-RS232 Male-FT232
Driver ChipCH340CPL2303GTFT232RL
Baud Rate50bps—2Mbps75bps—1Mbps300bps—1Mbps
Driver SupportWindows, Linux, Mac OS
Host InterfaceUSB Type A Connector
Device InterfaceUSB-To-RS232-Male-Cable: RS232 DB9 Male head
Dimensions1500mm (Length) * 5mm (Width)
Cable SpecificationsBlack, PVC Outer Jacket, VW-1
Cable Rated Temperature/Voltage80℃ / 30V

Usage

Connect the USB Type A connector of the product to the host,and use a serial assistant on the host to send data to devices connected to RS232 DB9 Male. This routine takes raspberry pie as an example,Use the Uartassist.exe serial assistant on your computer to configure the same baud rate as Raspberry Pi minicom,Using a serial assistant to send data to Raspberry Pi, The minicom window on the Raspberry Pi will display the data sent by the computer.

Windows Driver Installation

Download the relevant drivers

PL2303 Driver Installation Steps:

Open the download driver file, click the PL23XX-M_LogoDriver...file.

Click to start the installation of the PL2303 driver, click Next, wait for the installation to complete, and click Finish.

Installing PL2303 Driver 1
Installing PL2303 Driver 1
Installing PL2303 Driver 2
Installing PL2303 Driver 2
Installing PL2303 Driver 3
Installing PL2303 Driver 3
Installing PL2303 Driver 4
Installing PL2303 Driver 4

FT232 Driver Installation Steps:

The FT232 driver download link is only for distinguishing between 32-bit and 64-bit systems, but the installation steps remain the same. Below are the steps to install the FT232 driver using a 64-bit system as an example:

Installing FT232 Driver 1
Installing FT232 Driver 1
Installing FT232 Driver 2
Installing FT232 Driver 2
Installing FT232 Driver 3
Installing FT232 Driver 3
Installing FT232 Driver 4
Installing FT232 Driver 4
Installing FT232 Driver 5
Installing FT232 Driver 5

CH340 Driver Installation Steps:

Open the downloaded driver file and double-click the SETUP.EXE file.

Installing CH340 Driver 1
Installing CH340 Driver 1

Select install, then wait for the installation to complete.

Installing CH340 Driver 2
Installing CH340 Driver 2
Installing CH340 Driver 3
Installing CH340 Driver 3

Device Connection (Using Raspberry Pi as an Example):

RS232 DB9 Male Connector Pin Definitions

RS232 DB9 Male Connector Pinout Diagram
RS232 DB9 Male Connector Pinout Diagram
Male Connector Pin Definitions
PINNameFunction
1DCDData Carrier Detect
2RXDReceive Data
3TXDTransmit Data
4DTRData Terminal Ready
5GNDGround
6DSRData Set Ready
7RTSRequest To Send
8CTSClear To Send
9RIRing Indicator

Connection Steps:

1.Check Device Usability

Ensure that the Raspberry Pi is connected to a display, mouse, and keyboard. Due to the voltage level structure, we cannot directly connect the RS232 signal to the Raspberry Pi platform, as it may damage the Raspberry Pi. In this case, an alternative method is needed for connection. One method is to use a USB to RS232 converter to assist in connecting to the Raspberry Pi. This converter can convert the RS232 baud rate to a USB-compatible baud rate and convert the output voltage level to the standard USB logic level of 5V.

RS232 Serial Cableraspberry pi
Logic Level±3V——±15V3.3V

Note:

When connecting the RS232 serial cable to other devices for communication, consider whether the device's voltage level structure is suitable for the RS232 serial cable.

2.Connecting DuPont Wires:

Cross-connect the TXD and RXD pins of the RS232 serial cable to the DB9 port of the USB to RS232 converter, and connect the GND pins to each other.

3.Once the connections are completed, refer to the diagram below:

Connection Diagram
Connection Diagram

Testing

Initialization Configuration

Install the serial assistant on the Raspberry Pi. Open the terminal on the Raspberry Pi and enter the following command:

sudo apt-get install minicom

The result of the installation completion is displayed as shown in the following figure:

Initialization Configuration
Initialization Configuration

Device Recognition (Using FT232 as an Example):

1. Open the terminal on the Raspberry Pi. After connecting the device, run the following command to detect whether the device is recognized. If the content displayed in the red box below appears as shown in the figure, it indicates that the device has been recognized.

Enter the command:

lsusb
Terminal Detection
Terminal Detection

2. Then enter the command to view the recognized serial port number.

ls -l /dev/tty*

Because the USB-To-RS232-Male-FT232 belongs to the USB serial converter device, the content highlighted in the red box in the figure is the serial port number we need to recognize.

View Recognized Serial Port Number
View Recognized Serial Port Number

3. Execute the command to view the serial port baud rate.

stty -F /dev/ttyUSB0

The terminal displays the following content:

View Serial Port Baud Rate
View Serial Port Baud Rate

4. Enter the command to view the serial port connection information. You will see the relevant information of the latest connected USB device.

dmesg | grep ttyUSB0

After entering the command, the terminal displays the content as shown in Figure below.

Configuring minicom

1.Enter the following command in the terminal to open minicom:

minicom -D /dev/ttyUSB0 -b 115200

Here, -D /dev/ttyUSB0 points to the serial port number we opened, and -b 115200 configures the baud rate. We can enter Ctrl+A in minicom to view it below. For our baud rate, if -b is not set, the baud rate defaults to 115200. After executing the command, the Raspberry Pi terminal displays as follows:

Opening minicom window
Opening minicom window

2.Enter the command

sudo minicom -s

To open minicom, then press "Ctrl+A" and then press "Z" to open the serial port menu - select Serial port setup to set up the serial port.

Open minicom configuration window
Open minicom configuration window

Continue by pressing "O" to open the serial port initialization configuration - follow the window prompts to set the serial port number and baud rate. Set the baud rate to 115200, and the detected serial port number is USB0.

Minicom Configuration Window
Minicom Configuration Window

PC Serial Port Initialization

On the PC side, also open the serial assistant (UartAssist.exe) and configure the same baud rate. Choose the appropriate port number. The port number of the serial module may change. You can configure it to the specified COM port through the following steps:

Right-click on the Windows icon/shortcut win+x in the lower left corner of the computer, and then left-click on Device Manager (M).

Open PC Device Manager
Open PC Device Manager

1. Right-click on the corresponding COM port and select Properties:

Open COM Port Properties
Open COM Port Properties

2. Click "Port Settings" in the window, then click "Advanced", choose the appropriate COM port number in the COM port number (except in use), and finally click OK.

Set COM Port
Set COM Port

Serial Port Detection

On the PC side, send data for detection. Check whether the minicom on the Raspberry Pi terminal receives the data. Observe whether the serial assistant on the Raspberry Pi displays normal data. The ideal results are as follows:

PC Serial Assistant Sending Data
PC Serial Assistant Sending Data
Raspberry Pi Minicom Receiving Data
Raspberry Pi Minicom Receiving Data

Note: When using the minicom serial assistant, you may sometimes find that keyboard input does not respond. This may be because the echo function of minicom is not enabled. You can follow these steps to solve this problem: Press the Ctrl + A key combination to enter minicom's command mode; Then press the E key to enable the echo function. If your keyboard input is displayed normally, you do not need to perform these operations.

Resources

CH340C Data Sheet

PL2303GT Data Sheet

FT232RL Data Sheet

Software Downloads

Serial Debugging Assistant Windows

Serial Debugging Assistant Android

UartAssist.exe

Xshell 6.0

PuTTY Serial Viewer Software

Technical Support

Technical Support and Product Notes