Main Content

Find ESP32 Port on Windows, Mac, and Linux

Find Port Number on Windows

  1. Open Device Manager, and expand the Ports (COM & LPT) list.

  2. Note the COM port number corresponding to Silicon Labs CP210x USB to UART Bridge.

Find Port Number on Macintosh

  1. Open terminal and type: ls /dev/*.

  2. Note the port number listed for /dev/tty.usbmodem* or /dev/tty.usbserial*. The port number is represented with * here.

Find Port Number on Linux

  1. Open terminal and type: ls /dev/tty*.

  2. Note the port number listed for /dev/ttyUSB* or /dev/ttyACM*. The port number is represented with * here.

  3. Use the listed port as the serial port in MATLAB®. For example: /dev/ttyUSB0.