Questions tagged [arduino]

Programmable circuit board with open-source IDE.

Filter by
Sorted by
Tagged with
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 ...
efl's user avatar
  • 11
4 votes
2 answers
48k 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 ...
Mohammed Rizqallah's user avatar
0 votes
1 answer
2k 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 ...
Jamie Beaumont's 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(): ...
Jakub Hubert's 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) ...
Ethan Aaron Vandal's 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....
Alex Laskin's user avatar
3 votes
1 answer
4k 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 ...
Janghou's user avatar
  • 5,699
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?
Anjish's user avatar
  • 11
0 votes
1 answer
3k 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 ...
Zach L's user avatar
  • 1
2 votes
1 answer
2k 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 ...
Dariel Pratama's user avatar
49 votes
12 answers
150k 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 ...
sergiomafra's user avatar
1 vote
0 answers
825 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....
Gordon Biersch's user avatar
5 votes
1 answer
19k 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 ...
mmachenry's user avatar
  • 161
2 votes
3 answers
13k 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 ...
user3554669's user avatar
0 votes
1 answer
1k 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 ...
kezia's user avatar
  • 1
0 votes
1 answer
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 ...
Dimitrios Desyllas's user avatar
8 votes
3 answers
21k 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 ...
N0rbert's user avatar
  • 99.8k
12 votes
2 answers
28k 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 ...
N0rbert's user avatar
  • 99.8k
1 vote
0 answers
8k 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, ...
Matthieu Kints van's user avatar
0 votes
0 answers
1k 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 ...
Shawn's user avatar
  • 1
3 votes
2 answers
5k 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?
devansh ahuja's user avatar
1 vote
0 answers
78 views

Unable to open console screen

I am trying to send data from an Arduino to ubuntu mate through Bluetooth hc 05. I am able to connect to my Bluetooth but unable to get console screen on ubuntu to see the Bluetooth output. Can anyone ...
Pratyusha Palanki's user avatar
2 votes
0 answers
315 views

I need to generate a hex file for Arduino in Linux

I bricked my BIOS and the one method which can help me to resolve the problem is to flash the BIOS chip via Arduino or other programmer. I need to generate a hex file in Linux for Arduino to make it....
ivan ivan's user avatar
2 votes
1 answer
571 views

Bluetooth Connection Drops After Few Seconds

I'm trying to connect my Arduino board with a JDY-30 module via Bluetooth to my Ubuntu 16.04. The connection is established, but drops after 5 seconds. Does anyone else have issues with bluetooth ...
Radusaurus's user avatar
1 vote
2 answers
6k views

Arduino Ide Port in the tool is greyed

I have installed Arduino IDE 1.8.5 I in my Laptop and in UBUNTU 16.04 LTS The option in Tools of PORT is grayed. I want to use Arduino Uno on it but i can't fix it.
Robo Lover's user avatar
0 votes
0 answers
160 views

Pipe stdout through sed or awk command BEFORE redirecting to file? [duplicate]

I am still kind of new to programming, but willing to learn: I am struggling with a problem in following project: I am logging analog read-outs of an Arduino board. The Arduino board sends tab-...
LUser's user avatar
  • 174
1 vote
1 answer
1k views

Configuring Ubuntu/adding udev rule

I'm working on 16.04 and trying to setup the Arduino IDE for use with a Genuino 101.I have the ide installed, v 1.8.2, in my home folder. It compiles sketches and picks up the board serial number as ...
homeStayProg's user avatar
0 votes
1 answer
865 views

Command not found when trying to run a script with sudo while configuring Arduino

I'm working on 16.04 and trying to setup the Arduino IDE for use with a Genuino 101. I have the IDE installed, v 1.8.2, in my home folder. It compiles sketches and picks up the board serial number as ...
homeStayProg's user avatar
1 vote
1 answer
8k views

ESP8266 Arduino IDE Addon

One of the alternatives to work with ESP8266 Wi-Fi microcontroller is using the Arduino IDE. By default, it doesn't come with this board features. Arduino package is too old and doesn't have Board ...
Pablo Bianchi's user avatar
1 vote
1 answer
2k views

I am not able to install arduino 1.8.2

When I run the command ./install.sh in the terminal it displays cc.arduino.arduinonoide does not exist xdg-icon-resource: icon name 'cc.arduino.arduinonoide' does not have a proper vendor prefix
Pavan Varyani's user avatar
2 votes
1 answer
714 views

Ubuntu Touch - access USB serial for Arduino

I have a BQ Aquaris M10 FHD on which I need to plug an Arduino board over USB. I can I access the serial port of my tablet ? When I do dmesg | grep tty It return nothing. When I check the syslog ...
ZazOufUmI's user avatar
  • 121
4 votes
1 answer
2k views

Arduino only works in root

I've installed Arduino but as the title says, I can only upload with sudo. And yes my user is part of the dialout group so that's the weird thing. Arduino did function before on my system. What ...
Sjors123's user avatar
1 vote
0 answers
1k views

Arduino driver problem

I'm new in Ubuntu, and I had a problem. I installed Arduino IDE and everything worked perfectly since I was using my Arduino UNO board. But when I tried to upload my sketch to an Arduino NANO (with ...
andrewfk's user avatar
0 votes
0 answers
103 views

My speaker works fine, but have no more control from volume button

I just bought a new computer and install Ubuntu 16 for the first time. Everything worked perfectly, sound control was fine, until I start playing with my arduino. I had to run some cmd to get it to ...
Switch Watch's user avatar
0 votes
1 answer
3k views

Problem after installing Arduino IDE 1.8.0

I am using ubuntu 14.04 I tried to install Arduino IDE the last version 1.8.0 because when I installed it by terminal it was 2009 1.0.5 version I download the last version Extract the file arduino-1....
Tarek's user avatar
  • 368
0 votes
0 answers
62 views

Arduino IDE on Ubuntu Touch [duplicate]

I want to ask whether it is possible to install arduino ide or avr-tools to ubuntu touch. Is it ?
calynr's user avatar
  • 109
3 votes
1 answer
2k views

Errors when trying to run Arduino

I have installed Arduino. When I run it from terminal it gives me the following messages: A fatal error has been detected by the Java Runtime Environment: # SIGSEGV (0xb) at pc=0x00007f02d79d9009, ...
Shauqi's user avatar
  • 33
1 vote
1 answer
498 views

Telnet with Arduino & WiFi shield: connection refused

I've equipped an Arduino Due with a WiFi shield and want to run a Telnet server on the Arduino. I've found here how to: https://www.arduino.cc/en/Tutorial/WiFiChatServer I copied the whole code and ...
flap's user avatar
  • 73
0 votes
2 answers
7k views

Error opening Serial Port - Arduino

I try to upload arduino code to an Arduino Mega. The serial port is detected the first time I plug in the board. As soon as I upload, I get an error saying 'Error opening Serial Port '. And then the ...
Chinmay Harmalkar's user avatar
2 votes
0 answers
2k views

Arduino mega 2560 does not connect via USB

I dont know it this is the right place to ask this question, but I think there is enough know how here to solve my problem. When I connect my arduino mega 2560 via USB, I get the following ...
user128257's user avatar
7 votes
1 answer
28k views

Cannot send AT commands in minicom

I am trying to use minicom to communicate with an ESP8266 Wifi chip using AT commands. I log into minicom and I type command "AT". The normal answer of the chip would be to send "OK" back to minicom. ...
martin_0004's user avatar
  • 1,003
2 votes
1 answer
1k views

Controlling Ubuntu Gnome 16.04 screen lock with arduino

I am trying to use arduino with my laptop (Ubuntu-gnome 16.04 installed) to control the screen lock using RFID Module (Screen lock/unlock is controlled by an RFID card) Here in this particular case, ...
pokemon's user avatar
  • 73
1 vote
1 answer
2k views

How to prevent Arduino Uno to change USB port

I have an Arduino Uno connected through USB to my Ubuntu PC (one USB hub in between). I run a program that communicate through serial and use then the port /dev/ttyACM0 It works well though not ...
Memes's user avatar
  • 370
20 votes
7 answers
108k views

Setting Up Arduino Uno IDE on Ubuntu

I am new to Ubuntu (And I love it). I want to burn a code to my Arduino Uno. When uploading the code, there's an error message saying, Serial Port COM1 not fount found. Did you select the correct one ...
Redwanul Sourav's user avatar
-1 votes
2 answers
2k views

How to install Arduino IDE?

I have downloaded the arduino package. Now I need to install it. I have extracted the files also, but I don't have idea what to do now? How can I do so?
Ashish's user avatar
  • 11
3 votes
2 answers
19k views

Unable to comunicate to Arduino Uno on Ubuntu 16.04 [closed]

I have installed the Arduino ide 1.6.9 by downloading it from Arduino website. When I plug the Arduino UNO board the LEDs on it turn on. When I try to upload a program to the board it says: ...
Pau Torruella Besa's user avatar
0 votes
1 answer
56 views

How to know which the software's version will be installed by ubuntu make?

Today was released a new version of Arduino IDE (1.6.9). I think Ubuntu Make hasn't still been updated. But, how could I know it?
aledruetta's user avatar
7 votes
2 answers
22k views

Run "sudo arduino" with .desktop file

To the close voters: seemingly a dupe, but not quite, at least not of the suggested one: in the linked question, the commands can be added safely to the sudoers file. In case of an IDE, it is a bad ...
Metalzero2's user avatar
0 votes
1 answer
1k views

Cannot access Adafruit Feather 32u4

I have properly installed a new version of arduino IDE (at least 1.6.0) the adafruit AVR boards library The device shows up under Tools->Port but I cannot upload data to the device. I get the ...
LittleByBlue's user avatar
3 votes
3 answers
3k views

Unable to install Intel i586 library (Intel galileo gen 2) in Arduino IDE on Ubuntu 16.04 LTS

I followed the instructions for installation of the latest Arduino IDE 1.6.8 on Ubuntu 16.04 LTS from this blog post (http://ubuntuhandbook.org/index.php/2015/11/install-arduino-ide-1-6-6-ubuntu/). ...
Rishi Shukla's user avatar