Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arduino]

Programmable circuit board with open-source IDE.

0
votes
1answer
30 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
51 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 ...
1
vote
2answers
189 views

How do I remove Arduino completely?

I have tried remove Arduino on Ubuntu 16.04 but it doesn't remove. These are the commands that I tried: sudo apt-get remove arduino sudo apt-get remove --auto-remove arduino sudo apt-get purge ...
0
votes
0answers
38 views

Mouse clicks caused by Arduino device

I have had issues with Arduino and Ubuntu for some time, where mouse click events occur even though I don't click. These click events seem to happen mostly when I do small mouse movements e.g. within ...
0
votes
1answer
35 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
45 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
185 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
218 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
0answers
168 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
38 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
0answers
445 views

Can't set Permission to Arduino IDE

I'm trying to upload a file on a anet printer but I receive the error: "avrdude: ser_open(): can't open device "/dev/ttyUSB0": Permission denied" I've tried all the tutorials: https://www.arduino.cc/...
0
votes
1answer
206 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
105 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 ...
0
votes
0answers
39 views

Can't open arduino Ide [duplicate]

Installed Arduino Ide using sudo apt-get install arduino not able to open then tried dowloading it from arduino webpage not able to open also tried using APP software not able to open it. Arduino IDE ...
6
votes
2answers
8k 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
202 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....
2
votes
0answers
1k 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
1answer
1k 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
166 views

Installing library with foreign architecture

I have been trying to install libc6-i386 on ubuntu 16.04 using: and the command line gave the following error: sudo apt-get install libx11-6:i386 It seems that it cannot detect packages from other ...
0
votes
1answer
884 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 ...
5
votes
1answer
6k 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 ...
0
votes
0answers
95 views

image_view : error while loading shared libraries : libGLESv2.so.2 : cannot open shared object file : no such file or directory

i was working on a project which combine ros, raspberry and arduino, so i wanted to run my camera by executing roslaunch cam-test.launch, the camera work but i had a problem in "DRI2 failed to ...
9
votes
1answer
9k views

How to install latest Arduino IDE?

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
3k 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
144 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 ...
1
vote
2answers
197 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?
1
vote
0answers
45 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 ...
2
votes
0answers
141 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....
2
votes
1answer
186 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 ...
0
votes
0answers
143 views

Folder location for github libraries for geany on arduino running ubuntu

Very new to ubuntu. Have a Arduino compatible board PCDuino3 (no longer made) but the Arduino IDE compiler will not work with any 3rd party drivers for adafruit boards for some reason. I keep getting '...
0
votes
0answers
312 views

Can't upload sketches onto Razor IMU on Linux

So i'm kinda new to Ubuntu and programming on arduino. I am working with a 9DoF Razor IMU M0. Everytime I try to upload to it, I keep getting the error below. I orginally had problems writing to the ...
0
votes
1answer
1k 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.
0
votes
0answers
810 views

Arduino mega 2560 connects but code is not loaded [duplicate]

Arduino mega 2560 connects and is showed on port but code is not loaded on it! It is working fine on Windows though! Following is the error message Arduino: 1.8.5 (Linux), Board: "Arduino/Genuino ...
0
votes
0answers
56 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-...
0
votes
0answers
1k views

I have installed Arduino IDE on Ubuntu 16.04 and ran it. I wrote this simple code and have following error

I have installed Arduino IDE on Ubuntu 16.04 and ran it. I wrote this simple code and have following error. Code: [Select] void setup() { // put your setup code here, to run once: pinMode(5, ...
1
vote
0answers
472 views

Reading serial input from Arduino using tail -f is delayed

I am trying to connect my Arduino's Serial in/out to my linux terminal i use the command stty -F /dev/ttyACM0 cs8 9600 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -...
1
vote
1answer
502 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 ...
0
votes
1answer
569 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 ...
0
votes
1answer
4k views

ESP8266 Arduino IDE Addon

One of the alternatives to work with ESP8266 WiFi microcontroller is using the Arduino IDE. By default it doesn't comes with this board features. Arduino package is too old and doesn't have Board ...
1
vote
1answer
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
1
vote
1answer
355 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 ...
4
votes
1answer
468 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 ...
0
votes
0answers
107 views

My Arduino doesn´t work

I installed Arduino IDE on my Laptop and gave it all rights. But When I'm clicking the symbol of it it blinks up and then it goes off. That's my problem. I've to deal with. I need this program very ...
1
vote
0answers
712 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 ...
0
votes
0answers
90 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 ...
0
votes
0answers
9k views

Can't open Arduino IDE (version 1.8.1) on Ubuntu 16.04

Download the last version Extract the file arduino-1.8.0-linux64.tar.xz Open the present directory into the terminal and move the file to "opt" directory. Terminal Command: sudo mv arduino-1.8.1 /opt ...
0
votes
1answer
2k 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....
0
votes
0answers
32 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 ?
2
votes
1answer
1k 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, ...
1
vote
1answer
388 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 ...