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

3. Test TTL-RS485 mode

3. Test TTL-RS485 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.

TTL-RS485 mode is typically used to convert TTL serial port data into RS485 data to enable interaction with a computer, allowing users to view the serial port data content and perform some debugging through serial port assistant software.

RS485 is a half-duplex mode and cannot be directly shorted like TTL; it requires testing through an external module.

Before starting the test, you will need to prepare the following hardware: a Windows computer, two matching USB Type-C data cables, three serial port modules, and seven female-to-female DuPont wires.

We will test the functionality of TTL-RS485 using a Windows computer. The procedure is as follows:

(1)Switch the three modules to USB-TTL mode, TTL-RS485 mode, and USB-RS485 mode respectively.

For detailed configuration information, please refer to the table below.

Serial NumberModule modeoperateRemark
1USB-TTL modeSet the operating mode selection switch to the right (USB-TTL mode) and the voltage selection switch to the right (5V).The voltage between modules must be kept the same; otherwise, problems such as garbled characters will occur.
2TTL-RS485 modeSet the operating mode selection switch to the left (TTL-RS485 mode) and the voltage selection switch to the right (5V).The voltage between modules must be kept the same; otherwise, problems such as garbled characters will occur.
3USB-RS485 modeSet the operating mode selection switch to the middle USB-RS485 mode. The voltage selection switch is not required; any voltage is acceptable. 

(2)Connect the wires according to the diagram below.

image-20260115191918367

USB-TTL mode moduleTTL-RS485 mode module
5V5V
GNDGND
RXDTXD
TXDRXD
TTL-RS485 mode moduleUSB-RS485 mode module
GNDGND
485-A485-A
485-B485-B

(3)Connect the USB-TTL mode module and the USB-RS485 mode module to the computer using USB-Type-C cable.

(4)Open the serial port assistant software (you can find it in Annex -> Serial Port Assistant), open two serial port assistant windows, and select the serial port numbers of the two modules respectively.

image-20260115190131387

(5)Clicking "Send" on the serial port assistant in USB-TTL mode will receive data on the serial port assistant in USB-RS485 mode. Conversely, clicking "Send" on the serial port assistant in USB-RS485 mode will receive data on the serial port assistant in USB-TTL mode. The test results are shown in the following figure.

image-20260115190207349

The above are the testing steps for TTL-RS485 mode.

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/中文