Template: FT232 USB UART Board User Guide

From Waveshare Wiki
Revision as of 09:10, 8 March 2024 by Eng26 (talk | contribs)
Jump to: navigation, search

How to Use

Windows

Driver

There are two drivers for FT232: VCP and D2XX.

  • VCP (Virtual COM Port): The PC side will be recognized as a serial port, using the serial protocol.
  • D2XX driver: The PC side will be recognized as a USB port and needs to be operated using API functions.
  • This product provides a VCP example, so we will only discuss the installation of the VCP driver below.

The following is an example of the driver installation steps for the Windows 10 64-bit system:

Ft232 driver 2.png USB TO RS4825-5.png USB TO RS4852-6.png USB TO RS4852-7.png USB TO RS4852-8.png

Device Connection

  • Connect the FT232 USB UART Board to the PC.
  • After installing the driver program, connect the FT232 USB UART Board to the USB port of the PC, and the PC finds the new hardware.
  • Right-click the Windows on the left corner of the PC, choose "Device Manager", and you can see as shown below:

FT232 USB UART Board10.png

COM Port Setting (Optional)

The COM Port may change, you can configure it to the specified COM port by the following steps, as follows:
Right-click the COM port in the above figure, click "Port Settings" in the window, then click "Advanced, select the required (not occupied by other) COM port number from the down menu. (not occupied by other devices):

Ft232 com 1.png Ft232 com 2.png Ft232 com 3.png Ft232 com 4.png


Device Connection

  • Connect the FT232 USB UART Board to the PC.
  • After installing the driver program, connect the FT232 USB UART Board to the USB port of the PC, and the PC finds the new hardware.
  • Right-click the Windows on the left corner of the PC, choose "Device Manager", and you can see as shown below:

FT232 USB UART Board10.png

COM Port Setting (Optional)

The COM Port may change, you can configure it to the specified COM port by the following steps, as follows:
Right-click the COM port in the above figure, click "Port Settings" in the window, then click "Advanced, select the required (not occupied by other) COM port number from the down menu. (not occupied by other devices):

Ft232 com 1.png Ft232 com 2.png Ft232 com 3.png Ft232 com 4.png

Linux

Take RPI as an example, use the default driver, connect the device, and query the serial device name through the following command:

lsusb
ls /dev/ttyUSB*

FT232 USB UART Board11.png
For example, use minicom to open UART0, input the following command line:

sudo minicom -D /dev/ttyUSB0
The mainstream Linux systems, such as Raspbian, Ubuntu, and CentOS, generally come with FT232 drivers and can be connected to use. You can also install Linxu drivers to some Linux systems lacking FT232.

Android

For example, connect the Android phone to the PC with FT232:

  • Connect the USB port of FT232 to the USB port of the Android phone with the OTG adapter cable, and then connect to another FT232 and computer via the USB port.

FT232 USB UART Board12.png

  • Download SerialTool_Android to the Android device, unzip it, and then install it.
  • Whether to allow the APP to visit the USB device, click OK.
  • Input the string to be sent in the Android serial tool, the computer can receive the corresponding on the sscom, and vice versa.

FT232 USB UART Board 15.gif

Android serial port assistant used here has integrated Android drivers, no need to install additional drivers; you can also use FTDI Android source code directed development can drive FT232 APP.

MacOS

  1. Click to download the driver.
  2. Driver installation guide: Click here to see the tutorial.
  3. After installing, you can open SSCOM (MAC can directly download the serial debugging assistant online).