range Pi User Manual Copyright reserved by Shenzhen Xunlong Software Co., Ltd
109
The TX and RX of the serial port need to be cross-connected. If you don’t want
to carefully distinguish the order of TX and RX, you can connect the TX and RX of
the serial port casually first. If there is no output in the test, then exchange the order
of TX and RX, so there is always a the order is right
2.12.2. How to use the debugging serial port on the Ubuntu platform
There are many serial port debugging software that can be used under Linux,
such as putty, minicom, etc. The following demonstrates how to use putty.
1) First, insert the USB-to-TTL module into the USB interface of the Ubuntu computer.
If the connection and recognition of the USB-to-TTL module is normal, you can see the
corresponding device node name under /dev on the Ubuntu PC. Remember this node
name, and then set the serial port software will be used
test@test:~$ ls /dev/ttyUSB*
/dev/ttyUSB0
2) Then use the following command to install putty on Ubuntu PC
test@test:~$ sudo apt-get update
test@test:~$ sudo apt-get install -y putty
3) Then run putty, remember to add sudo permission
test@test:~$ sudo putty
4) After executing the putty command, the following interface will pop up