Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [arduino]

Programmable circuit board with open-source IDE.

Filter by
Sorted by
Tagged with
0 votes
1 answer
26 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 ...
user avatar
0 votes
0 answers
29 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 ...
user avatar
  • 81
0 votes
1 answer
80 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 ...
user avatar
  • 73
0 votes
0 answers
42 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: ...
user avatar
0 votes
0 answers
57 views

Why would my Arduino disconnect and reconnect randomly from a USB port under Ubuntu 20.04.3 LTS?

My app was working fine, then I did some upgrade and fix commands on my Linux box and now the USB port randomly disconnects, but reconnects within seconds. The port connection shows up as, "...
user avatar
  • 11
2 votes
1 answer
127 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'. https://www....
user avatar
  • 53
1 vote
2 answers
394 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 ‘...
user avatar
0 votes
0 answers
131 views

After a recent system update, some USB devices are not recognised

For the past few weeks I've been editing an Arduino device over USB. I performed a regular system update recently, and now the USB device is no longer recognised. It's unclear to me what is at issue, ...
user avatar
0 votes
0 answers
96 views

Ubuntu 21.10 64b (dtop) / Raspberry Pi 4B - Arduino upload via usb/serial com is inop

Ive recently begun to experiment with the subject os/hw combo. My hw setup is verified functional using the Raspbian (Buster) 32bit OS and its associated arduino ide version. But ive had no success - ...
user avatar
1 vote
1 answer
245 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 ...
user avatar
  • 21
2 votes
1 answer
2k 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: [ ...
user avatar
3 votes
2 answers
437 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 ...
user avatar
  • 88.9k
7 votes
4 answers
2k 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(): ...
user avatar
  • 909
0 votes
2 answers
3k 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 ...
user avatar
  • 9
1 vote
0 answers
178 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 ...
user avatar
0 votes
1 answer
489 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 ...
user avatar
1 vote
1 answer
232 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 ...
user avatar
1 vote
0 answers
178 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 ...
user avatar
1 vote
1 answer
756 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 ...
user avatar
1 vote
1 answer
683 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 ...
user avatar
2 votes
2 answers
3k 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....
user avatar
0 votes
1 answer
206 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 ...
user avatar
  • 21
0 votes
1 answer
3k 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 ...
user avatar
  • 1
0 votes
0 answers
406 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 ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
  • 13
2 votes
1 answer
4k 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 ...
user avatar
  • 381
0 votes
0 answers
156 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....
user avatar
2 votes
1 answer
527 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 ...
user avatar
0 votes
2 answers
532 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 ...
user avatar
1 vote
1 answer
12k 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 ...
user avatar
0 votes
0 answers
84 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/...
user avatar
1 vote
1 answer
750 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 ...
user avatar
0 votes
1 answer
764 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 ...
user avatar
  • 121
0 votes
1 answer
409 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.
user avatar
1 vote
1 answer
519 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 ...
user avatar
  • 33
0 votes
1 answer
66 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 ...
user avatar
1 vote
1 answer
2k 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-...
user avatar
2 votes
1 answer
246 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 ...
user avatar
  • 21
0 votes
2 answers
2k 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 ...
user avatar
1 vote
1 answer
567 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 ...
user avatar
0 votes
1 answer
124 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 ...
user avatar
  • 31
1 vote
1 answer
3k views

No connection between Ubuntu 18.04 and Arduino [duplicate]

There's no connection between Arduino and my computer. When I upload a program, I get the error message: avrdude: ser_open(): can't open device "/dev/ttyS0": Permission denied An error occurred while ...
user avatar
  • 11
4 votes
2 answers
34k views

How do I remove Arduino completely?

I have tried remove Arduino on Ubuntu 16.04 but apt doesn't remove it. These are the commands that I've tried: sudo apt-get remove arduino sudo apt-get remove --auto-remove arduino sudo apt-get ...
user avatar
0 votes
1 answer
1k views

'rospack Error: package 'rosserial_arduino' not found' when trying to run 'rosrun rosserial_arduino make_libraries.py' when it IS there

Sorry if the title is a little confusing. I'm trying to get rosserial installed as to allow communication between ROS and my arduino. I was following the guide and nothing would install rosserial ...
user avatar
1 vote
0 answers
262 views

Arduino problem with uploading program to Arduino Uno WiFi through USB [duplicate]

I have problem with uploading Arduino program to my Arduino Uno Wifi device through USB interface on my Ubuntu 18.04.1 LTS. After initiating upload process I get this error: avrdude: ser_open(): ...
user avatar
1 vote
1 answer
1k views

Ubuntu 18.04, Arduino 1.8.5, NodeMCU v1 will not flash even with all requirements met. Why?

Before you mark as duplicate I have read everything I can find, and done the following. 1) I have added myself to dialout group, then logged out, then back in, chmod 0666, even 0777 /dev/ttyUSB0. 2) ...
user avatar
1 vote
1 answer
2k views

Arduino and Ubuntu 18.10: java.lang.ExceptionInInitializerError

On freshly installed Ubuntu 18.10 Arduino installed from official repositories can't start with error Exception in thread "main" java.lang.ExceptionInInitializerError at processing.app....
user avatar
2 votes
1 answer
2k views

How to access a device with Arduino IDE Flatpak

I've installed Arduino IDE (1.8.5) with Flatpak (Kubuntu 18.04). Attached my Wemos D1 Mini to the USB port, but can't upload a sketch: An error occurred while uploading the sketch error: cannot ...
user avatar
  • 4,864
1 vote
0 answers
89 views

Arduino IDE crashes before it opens on Ubuntu 16.04 [duplicate]

I currently installed Arduino 1.8.6 in Ubuntu 16.04, but it crashes before it opens. It worked fine for 2 days, and now it crashes. Please, can anyone help?
user avatar
  • 11
0 votes
1 answer
2k views

How to edit .rules file

I am newer to linux and how to use terminal and I am trying to work with an arduino but the ports have access denied, and I am follow the steps to fix that issue, and I got to the part where you need ...
user avatar
  • 1