Munich-Labs.com

RedPill ESP32-S3 – Locating the Serial Port

While using the CLI to work with the RedPill or some special settings require it, in many cases the serial port name is needed. Let’s see how it can be identified.

First of all, make sure that your RedPill module is connected to your computer and that it is the only device connected to your computer that uses a Silicon Labs CP210x USB to UART. Normally, it should be automatically installed, but in case it is not, the drivers can be downloaded from the official page.

We’ll use the terminal to identify the port name. First of all, to open the terminal click on Launchpad and type terminal.

Open Terminal

Click on the Terminal icon to open the terminal.

In the terminal, type:

ls /dev | grep serial

That will display the available port. If you have only the RedPill connected, the output should look like this:

The one starting with cu is the actual name of the port. In my case it is cu.usbserial-1430. In MacOS the full path of the serial port should be used. In my case, it would be /dev/cu.usbserial-1430.

Type in the search box Device Manager.

Search Device Manager

In the results, click on Device Manager to open it.

In the Device Manager, extend the Ports (COM & LPT) section.

Hare the Silicon Labs CP210x USB to UART Bridge should be displayed. The serial port name is the one in brackets. In my case it is COM3.

Serial Port

This name, COM3 in my case, is the name of the serial port, which should be used whenever the port name is required.

We’ll use the terminal to identify the port name. In Linux, opening the terminal depends on the distribution. For Ubuntu22, click on Show Applications and type terminal.

Open Terminal

Click on the Terminal icon to open the terminal.

In the terminal, type the following command. USB has to be uppercase:

ls /dev | grep USB

That will display the available port. If you have only the RedPill connected, the output should look like this:

In my case it is ttyUSB0. In Linux, the full path of the serial port should be used. In my case, it would be /dev/ttyUSB0.

If you have an installed and working Arduino IDE, it can be used to identify the serial port.

Arduino IDE – Serial Port

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *


0
    0
    Your Cart
    Your cart is emptyReturn to Shop