Skip to main content
6 votes

First time set up- permission denied to usb port- ubuntu 14.04

All you need to do is add yourself to the dialout group as described in the answer by Ignacio Vazquez-Abrams. This is done in the terminal by typing: sudo usermod -a -G dialout $USER You do not need ...
Luke Newmeyer's user avatar
4 votes
Accepted

Ubuntu Serial Port Briefly showing on arduino IDE

This could be happening because Brltty application. Remove it and try again. sudo apt remove brltty sudo apt autoclean && sudo apt autoremove
Noberto Maciel's user avatar
3 votes
Accepted

WARNING: Category '' in library *any library* is not valid. Setting to 'Uncategorized'

As sated above you need to "Edit or add library.properties to that folder so that you specify a valid category." This link has some good info on the structure of the file: https://github.com/arduino/...
Steve's user avatar
  • 46
3 votes

missing /dev/ttyACM* on Ubuntu

According to this page on Arduino for Linux there ought to be some devices at /dev/ttyACM* That is not the case. On a "traditional" Arduino board, like the Uno, you have two chips: the main MCU which ...
Majenko's user avatar
  • 105k
3 votes

Chrome-sandbox error in Arduino IDE 2.3 in Ubuntu 24.04

You can run Arduino IDE by adding --no-sandbox in the command line when starting it. This is a workaround for a real problem with Ubuntu Noble 24.04 beta. Also other appimage files, like the one for ...
BertRAMAerts's user avatar
2 votes

Arduino on Windows vs Ubuntu

In my case, i would tell you compile/upload your sketch Arduino on Ubuntu 17.10 like my owned. I have Wemos D1 MINI Board based ESP8266 chip. Define ttyUSB0 port like my Owned. Before upload your ...
abu-ahmed al-khatiri's user avatar
2 votes
Accepted

How to send characters to Arduino serial using Linux command line without tail -f?

Arduinos have auto-reset circuit to reset the board if new connection is initiated on USB. It is good for convenient upload or to reset for debugging at Serial Monitor open. But it causes troubles if ...
Juraj's user avatar
  • 18k
2 votes

missing /dev/ttyACM* on Ubuntu

/dev/ttyACM* mine are missing. I think that something udev rules issue, you can define another rules with add Feather32u4.rules and remove 99-adafruit-boards.rules file before. SUBSYSTEM=="usb", ...
abu-ahmed al-khatiri's user avatar
2 votes

Does Linux have software protection on USB? Or has the magic smoke escaped?

The fact that you're referencing ttyUSB0 tells me you have cheap Chinese clones and not genuine Ardunios. These are usually based around the CH340 USB interface chip which is notoriously unreliable. ...
Majenko's user avatar
  • 105k
2 votes
Accepted

I Can't Connect to my MQTT server via arduino

This is the problem: mosquitto 10436 mosquitto 4u IPv4 46043 0t0 TCP 127.0.0.1:1883 (LISTEN) Your MQTT server is listening only on port 127.0.0.1. That will accept local incoming ...
jwh20's user avatar
  • 1,045
2 votes

ESP8266 - Can't upload or use Serial Monitor - Ubuntu 22.04 LTS

I found this solution in a separate post - it fixed my issue and I was able to replicate and validate this worked on a second 22.04 machine. systemctl stop brltty-udev.service sudo systemctl mask ...
NVCyberPro's user avatar
1 vote

Error 'exec: "python": executable file not found in $PATH Error compiling for board AI Thinker ESP32-CAM.' in Arduino IDE 1.8.12

All right so I was able to fix the problem. The Arduino IDE I was using had been installed from the Ubuntu Software Center. I uninstalled it. Then I reinstalled the Arduino IDE by downloading it from ...
martin_0004's user avatar
1 vote

How to know my Arduino core version and its location on my Ubuntu laptop?

The ancient version installed by apt lives in /usr/share/arduino/hardware/arduino/cores/arduino. If you download and unpack a recent version, it will stay wherever you left it. For example, I have an ...
Edgar Bonet's user avatar
  • 43.3k
1 vote

How To Get Data From Arduino Uno Onto My Laptop Through The USB

The "Serial Monitor" is merely a window to the Arduino's serial port. You don't have to use it to use Serial. It's just a (very simple) built in way of seeing the data. You can use the Serial ...
Majenko's user avatar
  • 105k
1 vote
Accepted

Serial communication between PC and Arduino using C

Your program works flawlessly on my Ubuntu 18.04. I would guess that you have a problem with your setup (flaky USB port, permission problems...) rather than the program itself. Still, I would ...
Edgar Bonet's user avatar
  • 43.3k
1 vote

Cannot connect through /dev/ttyACM0 (Ubuntu 18.04)

The board was bad. I just replaced it and it now works. So, to answer my own question, an Arduino board can show up on lsusb and dmesg and yet be faulty. This is what the dmesg output is for a ...
fi11222's user avatar
  • 111
1 vote

No ttyACM0 with Pro Micro on Ubuntu 18.04

A Pro Micro will only give a /dev/ttyACMx device node if the firmware installed on it creates a CDC/ACM interface. That device obviously is running custom firmware which only provides the interfaces ...
Majenko's user avatar
  • 105k
1 vote

missing /dev/ttyACM* on Ubuntu

ttyACM* didn't show up on my /dev/ also, but as soon as I changed the USB port I was working with, the arduino board started blinking differently. So I checked the IDE again and under Tools > port > ...
Pedram's user avatar
  • 111
1 vote

missing /dev/ttyACM* on Ubuntu

So I tried EVERYTHING... turns out my USB cable was a cheaper cable that didn't have the data pins in it. It is worth making sure your cable supports data transfer by plugging it into something else ...
FrickeFresh's user avatar
1 vote
Accepted

missing /dev/ttyACM* on Ubuntu

If the Arduino IDE does not show the port or does not allow you to select the port, load a known to be working program (such as Example > Blink), start a download, and then double-click the board's ...
H2ONaCl's user avatar
  • 193
1 vote

Bluetooth connection to HC-05 paired but not connected (in Linux)

You can find the answer in the Bluetooth connection to HC-05 paired but not connected Step; 1.Once you have paired the HC-05 as you've described, bind the device by entering; sudo rfcomm bind 0 "...
Jauhari's user avatar
  • 31
1 vote

WARNING: Category '' in library *any library* is not valid. Setting to 'Uncategorized'

From: https://www.bountysource.com/issues/29336127-one-wire-library-still-in-v2-3-0-causes-useless-warning The Arduino library manager still defaults to v2.3.0, which causes the IDE to raise the ...
Mike Gleason's user avatar
1 vote

Why does command line BOSSA not recognize Arduino Due?

The Arduino CLI uses a slightly different version of bossa from the one that is on master: https://github.com/shumatech/BOSSA/tree/arduino On Linux, I was able to do the following: $ git clone git@...
Adam F's user avatar
  • 111
1 vote
Accepted

Arduino Uno with Kubuntu 16.04: Unable to enumerate device

You should solder the resistor (in case you do not have the skills I reccomend doing into a proffessional, a professional close to me managed to solder it with a cost about 5 euros) and then hardware ...
Dimitrios Desyllas's user avatar
1 vote

Can't see second Arduino port on Ubuntu

You have to add use your user to the dialout group, as explained in the installation instructions for Linux. sudo usermod -a -G dialout $USER Then log out and back in again.
tttapa's user avatar
  • 1,320
1 vote

Arduino Editor: Monitor menu show "Serial port unavailable"

Do a ls -l /dev/tty* in a console screen and then search for the tty* port that your arduino is connected to (mine is ttyACM0), you will see which group (my group is dialout for Ubuntu 17.10) you need ...
Brent Payne's user avatar
1 vote

Arduino Editor: Monitor menu show "Serial port unavailable"

type "tail -f /var/log/kern.log" into a terminal window. This will show you the messages that the kernel produces. Hit enter a few times so you can easily see when something new is added. Now remove ...
user242579's user avatar
1 vote

Multiple IDE instances

There is nothing special about it, it just works. I strongly suggest to remove everything that is Arduino related from the repositories and have a minimal Java environment installed. It is no ...
Jot's user avatar
  • 3,246
1 vote

How to select arduino 101 in ubuntu?

The default serial port it shows up in for me is ttyACM0 You can set this as your default port, so when you open the IDE with sudo arduino ~ $ vim ~/.arduino/preferences.txt change the value for ...
Chris's user avatar
  • 21
1 vote

How to select arduino 101 in ubuntu?

In that ancient version of the IDE? You don't. You download and install the latest version of the IDE from the Arduino website, then use the Boards Manager to install the packages that include the ...
Majenko's user avatar
  • 105k

Only top scored, non community-wiki answers of a minimum length are eligible