Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [ubuntu]

A distribution of the Linux operating system. Use this tag for issues which are specific to working with Arduino in an Ubuntu environment (e.g. uploading a program to an Arduino board from a computer running Ubuntu).

Filter by
Sorted by
Tagged with
3 votes
1 answer
683 views

Chrome-sandbox error in Arduino IDE 2.3 in Ubuntu 24.04

I'm trying to setup an installation of the IDE 2.3 in a Ubuntu 24.04 LTS (beta) environment, and am facing an issue I'm unable to resolve. The IDE gets to the GUI for accepting terms and conditions, ...
eccentricOrange's user avatar
0 votes
1 answer
49 views

Issue with uploading Arduino sketch on Ubuntu 20.04 [duplicate]

I'm encountering an issue while attempting to upload an Arduino sketch on my Ubuntu 20.04 system. Despite ensuring that the correct board is selected and the USB port is recognized properly, I ...
athiyan sankar's user avatar
4 votes
0 answers
109 views

Arduino IDE v 2.2.1 log file not limited in size (on Ubuntu 23.04)

I was learning/building with a new Arduino Nano ESP32 yesterday and left the Arduino IDE running overnight on Ubuntu 23.04 and it used all the space on my hard drive to write log files which broke my ...
Tomás Metcalfe's user avatar
-1 votes
1 answer
88 views

Ubuntu - TinyISP is not recognized

I got a Pocket AVR Programmer. https://learn.sparkfun.com/tutorials/pocket-avr-programmer-hookup-guide I hooked it up on Ubuntu Linux, opened up a sketch in the Arduino IDE, selected Programmer: ...
user1584421's user avatar
  • 1,405
0 votes
1 answer
532 views

Error while trying to connect CH341 driver [duplicate]

I'm trying to connect an Arduino board to IDE on Ubuntu, and I have the following driver log: [ 543.412356] usb 1-2: USB disconnect, device number 3 [ 549.593729] usb 1-2: new full-speed USB device ...
Felice Pollano's user avatar
1 vote
1 answer
95 views

Arduino Readings Update Correctly on Windows but not Linux

I have written a simple script to get angle measurements from a magnetic sensor. The script works very well on Windows. However, when compiling the script on a Linux VirtualBox (Ubuntu 20.04), the ...
Vuro H's user avatar
  • 11
3 votes
1 answer
910 views

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

When trying to use the ESP8266 Node MCU or Multiple Feather Huzzah's I get the following error. I can program Arduino Uno & Mega without issue. warning: espcomm_sync failed error: espcomm_open ...
NVCyberPro's user avatar
4 votes
1 answer
2k views

Ubuntu Serial Port Briefly showing on arduino IDE

I am using a NodeMcu with Arduino IDE on Ubuntu. I have managed to upload the blink script and it work. Now, when i plug the nodemcu, the serial port /dev/ttyUSB0 is briefly available in the IDE. ...
Justin Mayer's user avatar
-2 votes
2 answers
2k views

Arduino Uno R3 not recognized by Arduino IDE on Ubuntu 21.04

Now I've been pulling my hair for two days over this one. I've tried everything. I've turned every stone, looked at every search result, and every Arduino Forums thread. The problem is that Arduino ...
Tozzart's user avatar
  • 101
1 vote
0 answers
88 views

Problem uploading my sketch onto my arduino. Arduino 1.8.13, Linux Ubuntu 20.4

This is my log, honestly no idea what the problem is here, tried updating java, didnt work. Sketch uses 11216 bytes (4%) of program storage space. Maximum is 262144 bytes. Global variables use 2384 ...
Rory Miley's user avatar
0 votes
1 answer
952 views

I Can't Connect to my MQTT server via arduino

I have mosquitto MQTT installed on my VPS server which I can subscribe and publish to it using paho client thorugh websockets. However when I tried to connect to it through Arduino, I get the ...
motion channel's user avatar
1 vote
2 answers
410 views

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

I'm making a GUI in Python that will control an Arduino via serial monitor. I have 6 input pins grounded and I'm taking 5V from the board (powered from USB) whilst serial monitoring and everything's ...
dogfood's user avatar
  • 51
1 vote
0 answers
41 views

More than one port available in Arduino IDE in Ubuntu

I'm using Jetson AGX Xavier, and in my Arduino IDE, there are dev/ttyUSB0, dev/ttyUSB1, dev/ttyUSB2, dev/ttyUSB3. I'm sure I connect Arduino in USB0, but I cannot download the code. The device is also ...
user70158's user avatar
0 votes
2 answers
61 views

Where can I find SerialMonitor.java in installed Arduino IDE 1.8.13?

I have found the git source for SerialMonitor (Arduino/app/src/processing/app/*) but unable to find it in the installed Arduino IDE. I am using Ubuntu 20.04 64-bit. I want to make changes to it, not ...
brewmanz's user avatar
  • 155
0 votes
2 answers
8k views

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

I am trying to upload a sketch to the ESP32-CAM board using Arduino IDE 1.8.12 and I get an error message: exec: "python": executable file not found in $PATH Error compiling for board AI Thinker ...
martin_0004's user avatar
2 votes
1 answer
1k views

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

Bakground: When compiling a demo project about e-paper, I got this problem ./GxEPD/src/GxIO/GxIO_SPI/GxIO_SPI.h:39:5: error: ‘SPISettings’ does not name a type SPISettings _spi_settings; ^ ...
ar2015's user avatar
  • 173
0 votes
1 answer
354 views

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

I want to write a c++ program that does something with the data from one of the input analog pins as the program runs, but I want to know how to get the value from the arduino uno though the USB port (...
Coder Motor's user avatar
1 vote
0 answers
59 views

Multiple arduino connections problem

I have 2 Arduino Mega 2560 connected via USB to my Ubuntu 18.04 machine. When I boot, one connects to /dev/ttyACM0 and the other connects to /dev/ttyACM1. Communication works perfectly. However, ...
devmaster's user avatar
0 votes
1 answer
249 views

Serial communication between PC and Arduino using C

I'm trying to send some data to my arduino mega 2560 using serial communication. I'm using the exemple that I found here without success. Every site I read say that I can send data to the arduino ...
Shinforinpola's user avatar
1 vote
0 answers
343 views

Can't open serial monitor on Ubuntu (Teensy 3.2)

I am running a simple blink/hello world program on Teensy 3.2. The code is compiling and running fine but I can't see the serial output. When I try to open the serial monitor it gives me "Board at ...
Hubert B's user avatar
0 votes
1 answer
2k views

Cannot connect through /dev/ttyACM0 (Ubuntu 18.04)

I am using an Arduino UNO which worked fine until today. My system: Ubuntu 18.04 Now, the IDE can no longer connect to it: Cannot do any sketch upload Cannot ask for board info No USB ports shown in ...
fi11222's user avatar
  • 111
1 vote
0 answers
60 views

Wroom 32 can't be recognized by Arduino 1.8.9 on a ubuntu 19.04 computer

I started by plugging my Wroom 32 into my Kubuntu desktop. I checked my /dev before and after, and found no changes. After opening Arduino IDE, I only found my other Arduino, the Arduino Due, in the ...
Andrew's user avatar
  • 11
1 vote
0 answers
49 views

Arduino Port randomly changes whenever I punch correct RFID tag

I was working on an Electronic Door Lock/Unlock system using Arduino Uno and RFID Reader/Tags on Ubuntu 18.04.02 lts. Now the problem is that whenever I punch-in the correct RFID tag to the RFID ...
Shubhank Tyagi's user avatar
0 votes
1 answer
1k views

No ttyACM0 with Pro Micro on Ubuntu 18.04

I am trying to determine the dev path of a USB keyboard running an Arduino Pro Micro on my Ubuntu 18.04 system. The files /dev/ttyACM0 and /dev/ttyUSB0 do not exist. When I run dmesg I get: [ 410....
Sterling's user avatar
  • 101
1 vote
0 answers
474 views

Uploading my code gets an error : permission denied on Ubuntu 16.04

I have faced this problem for few years ago and I solved it on Ubuntu 14.04 but I don't know why my solution doesn't work right now on Ubuntu 16.04 The Error : avrdude: ser_open(): can't open ...
Mohammed Rizqallah's user avatar
1 vote
1 answer
4k views

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

I want to send characters to Arduino serial port which makes the Arduino turn on/off an LED. Here is the code: int led_main=8; void setup() { pinMode(led_main, OUTPUT); Serial.begin(9600); ...
CluelessNoob's user avatar
7 votes
6 answers
18k views

missing /dev/ttyACM* on Ubuntu

I installed the Arduino IDE according to the arduino.cc instructions (invoking install.sh) rather than sudo apt install .... The ports /dev/ttyACM* were present when the following Linux command is ...
H2ONaCl's user avatar
  • 203
-1 votes
1 answer
193 views

Arduino on Windows vs Ubuntu [closed]

I have some code that works fine on Windows but is giving me errors on Ubuntu. I noticed that while Windows is running the code using avr-gcc, Ubuntu is trying to make it run using avr-g++. Any ...
Just Curious's user avatar
1 vote
1 answer
619 views

Arduino Uno with Kubuntu 16.04: Unable to enumerate device

I try to connect my arduino uno R1 in order to program the atmega8u2 but I am not able to do so. When I run sudo dfu-programmer atmega8u2 erase I get the following results: dfu-programmer: no device ...
Dimitrios Desyllas's user avatar
0 votes
1 answer
728 views

Can't see second Arduino port on Ubuntu

I have connected two arduinos to /etc/ttyUSB0 and /etc/ttyUSB1. Only one is visible in Arduino IDE. Why and how to force second? UPDATE $ ls -l /dev/serial/by-id total 0 lrwxrwxrwx 1 root root 13 ...
Dims's user avatar
  • 169
1 vote
2 answers
2k views

Arduino Editor: Monitor menu show "Serial port unavailable"

Ubuntu 16.04LTS 64bit, Arduino Pro Mini board (ATmega 328P, 3.3V 8Mhz) I have problem with WEB editor: I selected Arduino Pro mini and ticked "8Mhz ATmega 328P". I tried to upload "blink" test program ...
minto's user avatar
  • 221
3 votes
2 answers
2k views

Multiple IDE instances

I recently moved all in for Linux and have no intentions of going back to Windows, but programming for Arduino is a little annoying as I cannot find a way to have multiple instances. In Windows you ...
LinuxFerLife's user avatar
0 votes
2 answers
283 views

How to select arduino 101 in ubuntu?

How to I select arduino 101? I have ubuntu.
Ubuntu User's user avatar
0 votes
1 answer
3k views

Arduino IDE in conflict with pyserial for use of serial port in OSX Yosemite

I'm trying to communicate with an Arduino Uno via pyserial using a code that I wrote for Ubuntu. However, when I try to use the same code in OSX Yosemite after identifying the serial port for the case ...
Germán's user avatar
  • 11
2 votes
0 answers
379 views

Gui Scale on Linux HD display

I use Fedora 24/25 and now Ubuntu 17.04 Gnome on my Lenovo Yoga 900, which has an extremely high pixel density display. For these situations on Mac and Windows, I find a gui.scaling option in the ...
mike's user avatar
  • 347
0 votes
1 answer
443 views

Serial ports(in 1.0.5 & Port in 1.6.11) is greyed out under tools

I am running a linux distro on my pc(Ubuntu 16.04). I have installed Arduino IDE(version 1.0.5 since it's the only one available on the store) from the Ubuntu Software Center and also using the .ZIP ...
ShuaibKunji's user avatar
0 votes
1 answer
1k views

Burn arduino bootloader using ubuntu 16

I get the following error when I try to burn the arduino bootloader on an atmega328 mcu: avrdude: verification error, first mismatch at byte 0x0000 0xfd != 0x05 I am using an Arduino as ISP ...
Noel's user avatar
  • 135
1 vote
1 answer
501 views

Arduino Pi-3 Ubuntu MATE not compiling

When I try to upload a script to my Genuino Uno from the Linux ARM distro on genuino.cc/downloads it spits out this during compiling. avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission ...
Caleb Evans's user avatar
-1 votes
1 answer
6k views

Arduino IDE "Tools > Serial Port" grayed out (Ubuntu)

I know this has been asked before, but no one's solutions I've seen have worked so far. I just got started with Arduino and downloaded Arduino IDE from the Software Center. When trying to to set up my ...
Jakob Klemm's user avatar
0 votes
1 answer
6k views

How do I install the latest Arduino IDE on Ubuntu 14.04LTS? [duplicate]

What I've tried: I downloaded the package for 1.6.7 on Ubuntu 14.04 LTS but when I open it no matter what I try it will not start. I installed 1.0.5 from the Ubuntu Software Center. I tried to update ...
LinuxAut2115's user avatar
27 votes
5 answers
113k views

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

I just plugged my arduino in and the light is on, but the blink test failed to upload. here is my error: Arduino: 1.6.7 (Linux), Board: "Arduino/Genuino Uno" Sketch uses 1,030 bytes (3%) of program ...
user avatar
11 votes
1 answer
427 views

I can't seem to receive data to the ArduinoStudio serial monitor on ubuntu 14.04 [closed]

I'm using the Arduino Starter Kit so I have a Uno R3 and going through the examples I'm trying to read temperature data from my controller in Arduino Studio. In essence my problem can be reduced down ...
ivarni's user avatar
  • 211
2 votes
1 answer
2k views

Maintaining Arduino on Ubuntu 14.04

I used to use Arduino on Windows but I changed to Linux last week and I was wondering how to have a maintained version of the Arduino terminal: Indeed, I'm not sure my version is quite recent: The ...
Revolucion for Monica's user avatar
1 vote
5 answers
6k views

Error uploading Arduino Micro Sketch using Kubuntu

I have an arduino micro which I want to program from my Kubuntu 15.10 system. I installed the arduino software using apt-get, but when I try to upload the program (for test purpose I use the Basics\...
Randrian's user avatar
1 vote
2 answers
4k views

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

I have an Arduino Uno connected to an HC-05 Bluetooth sender/receiver chip. I am trying to create a Bluetooth connection between my Acer laptop running under Ubuntu 14.04 LTS and the HC-05 chip. ...
martin_0004's user avatar
4 votes
3 answers
16k views

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

I'm using Ubuntu 14.04 with arduino Galileo and the newest arduino IDE from arduino.cc and every time I compile I got this warnings with any library in place of EEPROM, SD, Wire, Wifi and a lot of ...
gabriel119435's user avatar
2 votes
1 answer
239 views

How can I make Arduino IDE use Atmel's provided toolchain? (Linux/Ubuntu)

I have an Arduino based board using ATmega168PB, but so far only Atmel's provided toolchain supports this microcontroller. I can download the toolchain from Atmel's website, but I am not sure how to ...
Rodrigo Da Silva Guerra's user avatar
2 votes
1 answer
612 views

Arduino IDE fails without sudo

I use Arduino IDE 1.6.6 on Ubuntu 15.10. Starting the Arduino IDE without using sudo fails for both: uploading the code to the Arduino Uno starting the serial monitor The group I need to add my ...
Socrates's user avatar
  • 137
0 votes
1 answer
5k views

Arduino Mega, Ubuntu, Time.h: No such file or directory

I'm using an Arduino Mega with Ubuntu 15.10. Sadly I've got an error during compilation, that the Time.h library cannot be found. The verbose compile output shows: /usr/share/arduino/hardware/tools/...
Freude's user avatar
  • 123
2 votes
0 answers
146 views

Arduino DUE Bossac Lockup after Ubuntu Upgrade

I already asked my question in the Arduino Forum here: https://forum.arduino.cc/index.php?topic=353846.0 but got no answer so far. Thus I hope here might be people who have a hint for me. Since I ...
Udo Klein's user avatar
  • 141