Views: 0 Author: Site Editor Publish Time: 2024-03-29 Origin: Site
In this section, we see a demo to use FTDI cable to transfer data between the usb-rs232-pcb and computer using this USB to serial converter. First, make connections with the module and FTDI cable according to the schematic diagram.
In this connection diagram, we connect a Tx pin of serial PCB module with RxD pin of FTDI cable and Rx pin of pcb with TxD pin of FTDI cable. Also, connect GND a pin of FTDI with GND pin of serial pcba board
Now plug USB cable with your laptop or computer. Next step is to install drivers for FTDI chip. On latest operating systems, such as Windows 10 or Linux Ubuntu, device drivers will be installed automatically when you plug USB into computer.
On Linux based systems, drivers will be installed automatically. After installation of drivers, we need a desktop application to send and receive data from a device which we will connect with the computer. You can use any serial terminal device such as serial terminal.
Download from ftdi site link and install on your Windows based system. After downloading and installing , connect the FTDI cable with your computer. Open the device manager and find the name of the COM pin in the ports list. Note down this port name, we will need it, later on, to connect with USB to the serial converter device.
Now type “pcba moduel board” in the Windows search bar and run it as an administrator.
After that configuration window will appear, select the COM port and set the baud rate to 9600 and COM port number which you noted in earlier steps. Now click on the “Connect” button.
This black color console window will appear. That means we have successfully made a connection with an FTDI device.
Now type “AT” on the console, the pcba board module will respond with “OK”. This shows that we are able to communicate with an pcba board module using USB to serial FTDI cable.
Similarly, we can use a USB to serial converter to connect RS232 based devices with computer.