Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [arduino]

Programmable circuit board with open-source IDE.

Filter by
Sorted by
Tagged with
1 vote
2 answers
45 views

Sandbox problems with Arduino IDEs with 24.04

I have just updated to 24.04 and am having my first teething problems. I cannot run my Arduino IDE since updating, if I try it in the terminal I get the warning "FATAL:setuid_sandbox_host.cc(158)...
SteveInBavaria's user avatar
0 votes
0 answers
82 views

Problem at installing cpx210x driver ob Ubuntu 22.04

I've got a problem at installing the cp210x driver for Arduino on my ubuntu system. The os version is 22.04 (64bit): I follow this tutorial: https://www.silabs.com/documents/public/release-notes/...
CodyOnStack's user avatar
0 votes
0 answers
163 views

.desktop file for AppImage gets icon in Activities but not in Launcher

I'm running the Arduino IDE appimage on Ubuntu. arduino-ide_2.1.1_Linux_64bit.AppImage on Ubuntu 22.04.3 LTS. I've 'installed' the appimage file in ~/.arduinoIDE/ I've made a .desktop file that looks ...
Hubert B's user avatar
0 votes
1 answer
443 views

Error while connecting a device with CH341

I'm trying to connect an Arduino board to the IDE 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 number ...
Felice Pollano's user avatar
5 votes
2 answers
238 views

The system does not differentiate between text and Arduino files

I use ubuntu 22.04 LTS with Gnome 42.5 on wayland. I have installed the latest version of the Arduino IDE (an .AppImage file). My problem is that when I have to open the sketches from the file manager ...
sim.dll's user avatar
  • 51
2 votes
1 answer
2k views

Ch340 keeps disconnecting

I recently bought a esp32 devkit with ch340 USB-UART bridge. After plugging it into the USB port of my Ubuntu 22.04 the serial port /dev/ttyUSB0 repeatedly connects and disconnects. Also, I have tried ...
Macuilxochitl's user avatar
1 vote
1 answer
5k views

Howto install Arduino IDE 2.2 from the ZIP version on Ubuntu 23? (without install.sh)

This question has been asked before on the Arduino.cc forum and is about the missing install.sh file in the .ZIP file of the current version (As of Novermber 2023 it is 2.2.1). This "...
zx485's user avatar
  • 2,460
1 vote
0 answers
1k views

I found an error message says that there is no such file or directory "linux/slab.h" but is there

I was installing CP210x drivers on my Ubuntu 22.04. In its instruction, the first step was to run make cp210x on Terminal windows. But, while executing it, there was an error message said that linux/...
Gabriel Dylan's user avatar
0 votes
0 answers
85 views

Automate menu actions within a GUI app?

I'm currently programming an ESP8266 chip through the Arduino IDE. However, I have two versions of the IDE running at once, because I need an older version to upload files to the chip, and the newer ...
Blue Herring's user avatar
0 votes
0 answers
105 views

Can't add an application to the "Open with other Application" menu

So I installed the Arduino IDE via flatpak and it works fine. But every time I want to open a .ino file I have to open a window and select open and search the file. I already searched options for ...
Kerem Ibrahimoglu's user avatar
1 vote
0 answers
762 views

Arduino IDE on Ubuntu 22.04.1 can't see a Wemos D1 Mini (CP210x)

I have a new laptop running Ubuntu 20.04.1 and I installed the Arduino IDE 1.18.19. The IDE port settings finds an Arduino Uno (CH340 driver) with no problem. But it doesn't see the Wemos D1 Mini (...
Stephen Mann's user avatar
0 votes
0 answers
100 views

Arduino-cli in package

I create a dpkg and in the post install script, I want to use arduino-cli. In root, user, the arduino-cli send me the list of available connected device. But in the dpkg's execution, the command send ...
bird12358's user avatar
1 vote
1 answer
4k views

Installed Arduino, cant find /dev/USB0 or /dev/ACM0

I just installed Ubuntu 22.04 and installed Arduino using snap install arduino which installed as expected. I am aware I need to add my user to the dialout group, so I searched /dev for ttyACM* and ...
user4805834's user avatar
1 vote
0 answers
46 views

Cant upload to arduino with Arduino IDE in Ubuntu 22.04 [duplicate]

Hey guys my computer runs Ubuntu 22.04. And the Arduino IDE doesn't show any serial ports when a board is connected. This is what it shows when the board is disconnected: And this is what it shows ...
Raihan's user avatar
  • 371
6 votes
2 answers
7k views

Can not connect Arduino IDE with Arduino Board on Ubuntu 22.04

I have freshly updated my Ubuntu 20.04 to the new 22.04 LTS release. I have installed the Arduino IDE and add my user to the groups tty dialout uucp plugdevs. When I connect my Arduino Nano per USB to ...
nuri's user avatar
  • 202
1 vote
1 answer
1k views

Arduino libraries problem on Ubuntu 22.04

I want help because I have a problem with the arduino IDE. I wanted to use a RFID module so I installed the libraries but when I click on "verify", the Arduino's terminal, I've got that: ...
In_ The_Nether's user avatar
2 votes
1 answer
1k views

Can't install.sh Arduino software

Following the instructions on the Arduino install page, once I arrive in my extracted directory and run install.sh in the terminal, I get the message: install.sh: command not found How do I install ...
gfries's user avatar
  • 63
1 vote
4 answers
6k views

How to use ESP32 WROVER B with Ubuntu?

I want to use ESP32 WROVER B, and as I read here I need CP210x USB driver to use with Arduino IDE. But when I want to use it, I got this error: usb_driver/cp210x.c:290:18: error: initialization of ‘...
gabor aron's user avatar
1 vote
1 answer
562 views

Getting Arduino to work in raspberry pi with ubuntu server

I have a raspberry pi 4b with ubuntu server (21.10) installed. I'd like it to communicate with an arduino uno r3. I have the following problem, the arduino, while detected by lsub it doesn't have an ...
Ami-42's user avatar
  • 21
4 votes
2 answers
8k views

CH340 Serial device doesn't appear in /dev/ (WSL)

I have an arduino nano clone with a CH340 serial chip. It appears in lsusb as QinHeng Electronics HL-340 USB-Serial adapter and when it connects I can see it in dmesg with the following logging: [ ...
Leo Bound's user avatar
  • 131
3 votes
2 answers
1k views

How to run Fritzing on Ubuntu 18.04 LTS?

I have recently installed Ubuntu 18.04.6 LTS and then installed Fritzing using packages from official repository by using below command sudo apt-get install fritzing Then on first launch it showed ...
N0rbert's user avatar
  • 100k
7 votes
4 answers
4k views

Ubuntu 20.04 - can't upload Arduino's sketch

After a fresh install of Ubuntu, I tried to upload sketch using Arduino IDE v1.8.16 (installed using a .deb file downloaded from web). An error occurred while uploading the sketch avrdude: ser_open(): ...
guyd's user avatar
  • 965
2 votes
3 answers
6k views

arduino IDE import serial ImportError: No module named serial

I want to program my ESP32 as I did 100000000000 times before. Now I want to try it on linux ubuntu :) In preferences I put in the *.json link and installed the espressif board. I think I chose the ...
jento's user avatar
  • 39
1 vote
0 answers
889 views

Issues with arduino, /dev/ttyACM0 and ACLs? (maybe)

like many people I seem to be having an issue when trying to connect my Arduino uno to the Arduino IDE in ubuntu but it seems to go beyond the usual issues that people have. I am receiving the classic ...
HashKetchum's user avatar
-1 votes
1 answer
1k views

Arduino Port Not detected and can not run it as root

I have two Ubuntu one is 18.04 and another is 20.04, also i have some problem with Arduino boards,i have tried this instruction(pin connections and ...): But, the Arduino IDE can not detect the ...
Soheil Paper's user avatar
  • 1,427
1 vote
1 answer
448 views

cdc_acm 1-1:1.0: acm_port_activate - usb_submit_urb(ctrl irq) failed

I am trying to connect the arduino uno to the arduino Idle, but I've got troubles and I don't have any ideas how to fix it. Thats the message from dmesg. [ 4622.287543] usbcore: registered new ...
user20i090's user avatar
1 vote
0 answers
464 views

Ubuntu 20.04 LTS - OpenJDK 11: GTK theme for Java app

I am modifying the Arduino Snap because it looks ugly. I want the same GTK font and look like the rest of the applications in Ubuntu; light gray instead of orange for focused item menu. The ...
user2452426's user avatar
1 vote
1 answer
2k views

Reinstall and restart modem manager (revert changes arduino script did)

I'm one of those unlucky guys who ran a script as su without reading the content of the script. I tried to install Arduino. So downloaded and uncompressed the setup. I found scripts called install.sh ...
cipherdragon's user avatar
1 vote
1 answer
2k views

Port selection not possible in Arduino IDE on Ubuntu 20.04 [duplicate]

I have upgraded to 20.04. Arduino IDE loaded with: snap install arduino as suggested (version 1.8.13). The port selection item cannot be selected. As suggested in other posts, I have done: sudo ...
Andrea Bonarini's user avatar
3 votes
2 answers
10k views

Problem with the CH341 driver in Ubuntu 20.04

I run into this problem trying to program an ESP8266 board, which uses the CH341 chip in the programming interface as a USB-to-Serial interface. The problem appeared after an upgrade from 19.10 to 20....
MastroGeppetto's user avatar
0 votes
1 answer
426 views

how to fix connectivity problems with arduino board on ubuntu 16.04

I need to use the CP210 driver for the Arduino IDE on my ubuntu 16.04. I initially tried to install the driver but were getting lots of errors but I believe the driver is actually already installed ls ...
marie's user avatar
  • 21
1 vote
1 answer
9k views

How to change wrong ELF class: ELFCLASS64 to 32-bit on Ubuntu 20.04 LTS

OS: Ubuntu 20.04.1 LTS 64-bit I've been working on a small project using Arduino IDE v 1.8.13 installed via snap. I'm running into an error while trying to flash the Soft Device: Error while flashing ...
Carbon's user avatar
  • 11
0 votes
0 answers
760 views

Can't open arduino files via arduino ide DIRECTLY

I have arduino ide and a lot of arduino files(.ino) ,but I can't open them directly via arduino ide instead of visual studio code or others text editors I have. I go to (properties -> Open With) or ...
Nick_Gkoutzas's user avatar
0 votes
1 answer
4k views

How to fix Timeout error occured while waiting for acknowledgement using Arduino IDE 1.9.0 beta on Ubuntu 20.04

I'm using Ubuntu 20.04 and have downloaded the Arduino IDE 1.9.0 beta from https://www.arduino.cc/en/Main/Software. I added my user name to dialout group and rebooted: sudo usermod -a -G dialout $USER ...
kramer's user avatar
  • 113
3 votes
1 answer
10k views

Error in recognizing arduino on ubuntu 20.04

I just bought an ARDUINO MICRO and it looks it is recognized by the system since it shows on /dev/ttyS0. The sketch I wrote compiles without error, but when I try to upload I get: If I press the ...
Gigiux's user avatar
  • 777
0 votes
0 answers
282 views

Unable to read from port ttyACM* after restart

I have a Teensyduino thermal sensor its working fine in windows but when i connect it to linux either with ubuntu or centos. I didn't get the reading from specified port then i added a rules 49-teensy....
Sachin Singh's user avatar
2 votes
1 answer
784 views

modemmanager conflicts with arduino

I have a problem with modemmanager. I have a huawei e3372h usb stick lte and the arduino IDE. When I want to upload a code to arduino ,I get an error (---> port is busy). But when I write in terminal ...
Nick_Gkoutzas's user avatar
0 votes
2 answers
909 views

Arduino IDE code upload problem

I have ubuntu 18.04 with the Arduino IDE . The problem I always have is that when I want to upload a code and connect the USB cable from arduino to laptop ,I always get the same error: The error: An ...
Nick_Gkoutzas's user avatar
3 votes
1 answer
36k views

Could not open port /dev/ttyACM0 Error after every restart [duplicate]

I'm getting the error could not open port /dev/ttyACM0 : [Error 13] Permission denied : '/dev/ttyACM0 ' To solve this error I write the coomand sudo chmod a+rw /dev/ttyACM0 which solves the problem ...
Sm Ashhar's user avatar
0 votes
0 answers
143 views

HELP - Arduino install wrecked my Ubuntu desktop

Earlier tonight I downloaded Arduino 1.8.12, the Linux 64-bit version from https://www.arduino.cc/en/Main/Software, for use with the Keyboardio Model 01 keyboard. It downloaded to my Desktop/...
Melvin Q. Watchpocket's user avatar
1 vote
1 answer
1k views

USBtinyisp not showing up in Arduino IDE

So, I have tried everything I know how to do to solve this. Granted, that's not a lot. When I use either the Arduino IDE, or Eclipse with the Sloeber add in, I am unable to select a Port to program ...
maxspongebob's user avatar
0 votes
1 answer
1k views

Manually uninstall software without package control

On my Kubuntu 18.10 19.04 system, I have a software installed (in this case: the Arduino IDE), which I would like to completely uninstall. I cannot remember how I installed it, but it does not show ...
Fii's user avatar
  • 281
0 votes
1 answer
422 views

Arduino IDE for (X)ubuntu 19.10 [duplicate]

I recently installed Ubuntu 19.10. on my digital slave. From official repositories, there is no chance of an installation of Arduino IDE. Please confirm.
Pascal Klein's user avatar
1 vote
1 answer
931 views

Ubuntu not accepting my arduino

I am relatively new to Ubuntu, and have been enjoying it. However, it detects my Arduino Mega 2560 (it appears as /dev/tty/ACM0), but outputs these messages: avrdude: stk500_send(): failed to send ...
Myspace's user avatar
  • 33
0 votes
1 answer
83 views

arduino create online ide not working, loading indefinitely

I have an Arduino Mega 2560 microcontroller. It was working fine excellently, until about two days ago when I dual booted with Ubuntu 18.04 LTS on my windows 10 laptop. Since then the online Arduino ...
Sai Jeyaprakash's user avatar
1 vote
1 answer
3k views

arduino ide 1.8.9 on ubuntu 14.04 [closed]

Giving an error when running ./install.sh Ubuntu 14.04 64 bit IDE version 1.8.9 I checked the script file RESOURCE_NAME=arduino-arduinoid this is what it has for RESOURCE_NAME jarvis@jarvis-...
Tab_ninja 's user avatar
2 votes
1 answer
359 views

Autorun program after connecting Arduino nano

I have read few posts which explained how to write a script and save it on the USB flash drive, which will allow it to run as we connect the device. I want to know if there is a way where we can ...
Nandu's user avatar
  • 21
1 vote
2 answers
4k views

ubuntu can't find serial port

I'm using Ubuntu 18.04.2 LTS downloaded from Microsoft store and Arduino IDE. I'm trying to use ESP32 in Ubuntu, but Ubuntu can't find the serial port. In Arduino, Tools > Port is greyed out. In ...
jej1591's user avatar
  • 11
1 vote
1 answer
635 views

Installing a new package from command line [duplicate]

How do I installed the Arduino IDE in Ubuntu from a command line? I understand that a command line will look for the package on the web repositories and installed in a proper location in the hard ...
Jose Enrique Calderon's user avatar
0 votes
1 answer
164 views

Overwrote files on NTFS partition as blank -- how to prevent in the future?

My computer dual-boots Ubuntu from ext4 and Win7 from NTFS partitions on the same physical drive. TL;DR: How can I keep mounting my NTFS to avoid read/write conflicts? I opened the Arduino IDE, and ...
Dan C's user avatar
  • 41