Learn how to find the name of the port your board is connected to.
Using the Arduino IDE
Open the Arduino IDE
In the menu, click on
Tools. The currently selected port is displayed in the
Hover over the
Portrow to display all ports. For Arduino devices, the board name will typically be displayed after the port.
Port naming varies by system:
COM3 (Arduino Uno)
/dev/cu.usbmodem14101 (Arduino Uno)
/dev/ttyACM0 (Arduino Uno)
If your board name is not in the list
If your board is not recognized by the system the name may not be displayed. Also, some boards such as the Arduino Nano will not display the board name next to the port.
Disconnect your board from your computer.
Open the port list
Tools > Port. Some ports may still be listed. Take note of this, and close the menu.
Connect your board to your computer.
Tools > Port. The port your board is connected to should now appear as a new port in the list.