Questions tagged [arduino]

Programmable circuit board with open-source IDE.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

Arduino - com port greyed out - cannot upload sketch

Cannot upload sketches to the Arduino - COM port is greyed out and cannot be selected. I use 1.8.13 of Arduino IDE. Added a few output from the terminal that may or may not be helpful (I have several ...
1
vote
1answer
110 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 ...
0
votes
0answers
38 views

Arduino and Ubuntu 20.04

I have been using Ubuntu and Arduino for at least 10 years. I tried to update to Ubuntu version 20.04 but there was some kind of problem and I lost my old version of Ubuntu (18.04) and the new version ...
1
vote
1answer
166 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 ...
0
votes
1answer
580 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....
0
votes
1answer
85 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 ...
0
votes
1answer
651 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 ...
0
votes
0answers
186 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 ...
0
votes
0answers
90 views

How to enable i2c on Ubuntu 18.04 running on VM (Windows 10 Host)?

I am having problems communicating with the PCA9685 board attached to an Arduino Mega board. I am using Ubuntu 18.04 on a virtual machine with a Windows Host. Now, I am able to communicate with the ...
0
votes
0answers
49 views

Arduino IDE always shows /dev/ttyS4

I'm on Ubuntu 20.04.1 and I just installed Arduino IDE. I always worked on Arduino via Ubuntu via Virtual Machine so this is my first time on "phisical" Ubuntu. Even without my UNO connected,...
0
votes
1answer
1k 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 ...
0
votes
0answers
24 views

How to tell ubuntu to dont recognize my GSM shield as a broadcom device?

I own a GSM shield for Arduino, and I was having a good time testing it out on Windows, using AT cmds with pyserial, to retrieve SMS data it received. Then I decided to give Ubuntu a try, but it ...
1
vote
1answer
1k 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 ...
0
votes
0answers
66 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....
0
votes
0answers
206 views

Unable to Read Data from /dev/ttyACM0 port

I am trying to read data from a teensy based sensor connected to ttyACM0 on a Ubuntu 18.04 based system. It seems to run fine for around 10 seconds each time when connected but does not responds later....
2
votes
1answer
274 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 ...
0
votes
2answers
294 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 ...
0
votes
1answer
4k 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 ...
0
votes
0answers
50 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/...
1
vote
1answer
427 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 ...
0
votes
1answer
657 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 ...
0
votes
1answer
396 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.
1
vote
1answer
257 views

Ubuntu not accepting my arduino

I am relatively new to ubuntu, and have been enjoying it. I currently have this issue. I get the error message shown below. It detects my Arduino Mega 2560, but it instead decides to give these error ...
0
votes
1answer
60 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 ...
1
vote
1answer
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-...
2
votes
1answer
142 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 ...
0
votes
2answers
1k 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 ...
1
vote
1answer
503 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 ...
0
votes
1answer
109 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 ...
1
vote
1answer
2k 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 ...
3
votes
2answers
24k 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 ...
0
votes
1answer
896 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 ...
1
vote
0answers
260 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(): ...
1
vote
1answer
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) ...
1
vote
1answer
1k 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....
2
votes
1answer
1k 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 ...
1
vote
0answers
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?
0
votes
1answer
1k 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 ...
2
votes
1answer
949 views

ttyACM0 stop streaming after some time

I have an arduino device that read a light sensor which then the result can be stream trough its USB port. on Windows, using a software called Serial Osciloscope I am able to read the data sent by the ...
33
votes
10answers
79k views

Uploading code to arduino gives me the error: “avrdude: ser_open(): can't open device ”/dev/ttyACM0“: Permission denied”

My OS is Ubuntu 18.04 and arduino was working until now. Although there are a few solutions, none of them seems to work for me. I followed these instructions on the arduino website. Then I tried ...
1
vote
0answers
675 views

Arduino IDE timeout error Ubuntu 16.04

I have already successfully installed Arduino IDE 1.8.5 on Ubuntu 16.04. Now, I am having trouble getting programs to upload from my PC. I have a Mega 2560, I am using Arduino IDE 1.8.5, on Ubuntu 16....
3
votes
1answer
7k views

Permission denied to non-root user for USB device

I'm having a lot of difficulty getting the Arduino Tiny AVR Programmer, aka (PMG-11801) to work on my Ubuntu 18.04 laptop. This is an Arduino device that programs ATTiny85 chips in the Arduino IDE. I ...
0
votes
2answers
6k views

No ttyACM0 for Arduino Nano on Ubuntu. How can I attach it?

On my Firefly-RK3399 (arm arch) I have installed their official ubuntu image for the board. I also installed Arduino IDE and when I connect my Arduino UNO then all fine, I can flash it and I see in my ...
0
votes
2answers
756 views

Installing library with foreign architecture

I have been trying to install libc6-i386 on ubuntu 16.04 using: sudo apt-get install libc6-i386 and the command line gave the following error: sudo apt-get install libx11-6:i386. It seems that it ...
0
votes
1answer
3k views

Arduino over /dev/ttyACM0 recognized but on group tty instead dialout. IDE fails to open the serial console

I have plugged my arduino over the usb port and is recognized in /dev/ttyACM0 port according to my dmesg: [ 3269.509330] cdc_acm 1-6:1.0: ttyACM0: USB ACM device [ 3312.346228] usb 1-6: USB ...
8
votes
3answers
17k views

How to make Arduino (Snap) access serial port /dev/ttyUSB0 (or /dev/ttyACM0)?

I have Ubuntu 18.04 LTS installed. I installed Arduino IDE v1.8.5 as a snap with snap install arduino-mhall119 I have added my user to dial-out group and rebooted: sudo usermod -a -G dialout $USER ...
12
votes
2answers
23k views

How to install latest Arduino IDE? [duplicate]

As we know Arduino has non-official Snap which can access serial ports only if installed as classic (but not indicated in snap find output): $ snap find arduino Name Version ...
1
vote
0answers
6k views

Run arduino from terminal (snap) [duplicate]

I've just installed arduino from Software Center but I've run into a few complications. Port /dev/ttyACM0 is not accessible so I can't upload anything. I understand that this is a common problem, ...
0
votes
0answers
647 views

Python scripts cannot find ttyACM0 Serial port

I have a Arduino Mega 2560 sending data out, my environment is Ubuntu 14.04, it's a python ROS node. Problem is that it works well when I use Serial Monitor or Plotter in Arduino IDE to see the data ...
2
votes
2answers
3k views

How to add C libraries in Ubuntu

I want to add Arduino-serial-lib.h in order to achieve serial communication between my system and Arduino. How can I add this library in my system?