yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
Serial communication module📖
1. Serial communication module interface distribution
  • 1. Serial communication module interface distribution
2. Driver Installation
  • 2. Driver Installation
3. Test Serial communication module
  • 1. Test USB-TTL mode
  • 2. Test USB-RS485 mode
  • 3. Test TTL-RS485 mode
Download ZIP

Welcome to Serial communication module repository

1. Test USB-TTL mode

1. Test USB-TTL mode

Before testing, confirm that the serial port driver has been correctly installed and that the computer can correctly recognize the COM port device after plugging in the module.

USB-TTL mode is typically used to convert TTL serial port data into USB data to enable interaction with a computer. Serial port assistant software can be used to view the serial port data content and perform some debugging.

TTL is a full-duplex mode. The TXD and RXD pins of the module can be shorted to perform a data loopback test and verify whether the USB to TTL function is working properly.

Before starting the test, you will need to prepare the following hardware: a Windows computer, a matching USB Type-C data cable, a serial port module, a jumper cap, and a female-to-female DuPont wire.

Below, we will use a Windows computer as an example to demonstrate the steps.

(1)Shorting TXD and RXD can be done by connecting these two pins using a jumper cap or DuPont wire.

image-20260115171637268

(2)Switch the operating mode selection switch to the right-hand USB-TTL mode.

(3)Connect the module to the computer using a USB Type-C cable.

(4)Open the serial port assistant software (found in Annex -> Serial Port Assistant), and select the module's serial port number.

image-20260115171823867

(5)Perform loop closure test

image-20260115172615809

(6)Test CTS pin

Connect the CTS pin to the GND pin using a DuPont wire. You should see the CTS indicator light up in the serial port assistant, indicating that CTS=1, as shown in the image below.

image-20260115172848492

The CTS pin of the module is reversed internally by the CH340 chip. When the CTS pin is connected to GND, CTS=0, and the computer will then display CTS=1. When CTS is connected to VCC (nothing is connected), the computer will display CTS=0.

(7)Test RTS pin

After the CTS test is successful, connect the CTS pin and the RTS pin using DuPont wires. Then, click the RTS button on the serial port assistant. When the red light next to the RTS indicator button is on, the red light next to the CTS button will also be on. When the red light next to the RTS indicator button goes out, the red light next to the CTS button will also go out. (See the image below.)

image-20260115172955641

The above are the testing steps for USB to TTL mode conversion.

Common Motherboard TTL Voltages

motherboardTTL voltage
STM32 series motherboards3.3V
MSPM0G35073.3V
Jetson series motherboards3.3V
Raspberry Pi series motherboards3.3V

When using the above motherboard for serial communication, the TTL voltage selection switch needs to be set to the middle position: 3V3.

Driver Installation
Test USB-RS485 mode

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文