0

This question already has an answer here:

I was trying to upload code for a blinking LED. It is a new Arduino Uno board. Any further help will be appreciated.I got the following error:

Info.: OS- Ubuntu 16.04

Software: Arduino IDE 1.8.5

I could not see any port.

I have tried dialout. But still it is not working.

I also have a confusion, i.e. the Programmer menu shows AVRISP mkll.

enter image description here

If anyone wants any information, please do comment.

Error:

An error occurred while uploading the sketch avrdude: ser_open(): can't open device "COM1": No such file or directory`

marked as duplicate by gre_gor, user31481, AltAir, jose can u c, dda Dec 28 '17 at 7:26

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • An Arduino Uno on Ubuntu will typically be at /dev/ttyACM0. – Edgar Bonet Dec 22 '17 at 15:53
1

Ubuntu and other Linux operating systems don’t name the serial ports “COM1” or similar.

They use special files like

/dev/tty.[something]

The [something] depends on the USB device driver. The IDE should list available serial ports in the Port selection menu.

  • there is not port available – Chandramauli Chakraborty Dec 22 '17 at 13:52
  • What ports show up? – jose can u c Dec 22 '17 at 13:53
  • NO port is shown. – Chandramauli Chakraborty Dec 22 '17 at 13:53
  • @ChandramauliChakraborty are you in dialout group? Or better, have you read any tutorial about Arduino in Linux? – KIIV Dec 22 '17 at 13:55
  • Perhaps you don’t have the right permissions to access the serial ports. Your user must have access to the serial ports. On Ubuntu, this can be accomplished by adding your user to the dialout group. Also, make sure you have the Uno plugged into the computer. – jose can u c Dec 22 '17 at 13:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.