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 [ubuntu]

A distribution of the Linux operating system. Use this tag for issues which are specific to working with Arduino in an Ubuntu environment (e.g. uploading a program to an Arduino board from a computer running Ubuntu).

0
votes
0answers
33 views

Uploading my code gets an error : permission denied on Ubuntu 16.04

I have faced this problem for few years ago and I solved it on Ubuntu 14.04 but I don't know why my solution doesn't work right now on Ubuntu 16.04 The Error : avrdude: ser_open(): can't open ...
0
votes
1answer
21 views

How to send characters to Arduino serial using Linux command line without tail -f?

I want to send characters to Arduino serial port which makes the Arduino turn on/off an LED. Here is the code: int led_main=8; void setup() { pinMode(led_main, OUTPUT); Serial.begin(9600); ...
1
vote
3answers
349 views

missing /dev/ttyACM* on Ubuntu

I installed the Arduino IDE according to the arduino.cc instructions (invoking install.sh) rather than sudo apt install .... The ports /dev/ttyACM* were present when the following Linux command is ...
-1
votes
1answer
104 views

Arduino on Windows vs Ubuntu [closed]

I have some code that works fine on Windows but is giving me errors on Ubuntu. I noticed that while Windows is running the code using avr-gcc, Ubuntu is trying to make it run using avr-g++. Any ...
1
vote
1answer
148 views

Arduino Uno with Kubuntu 16.04: Unable to enumerate device

I try to connect my arduino uno R1 in order to program the atmega8u2 but I am not able to do so. When I run sudo dfu-programmer atmega8u2 erase I get the following results: dfu-programmer: no device ...
0
votes
1answer
282 views

Can't see second Arduino port on Ubuntu

I have connected two arduinos to /etc/ttyUSB0 and /etc/ttyUSB1. Only one is visible in Arduino IDE. Why and how to force second? UPDATE $ ls -l /dev/serial/by-id total 0 lrwxrwxrwx 1 root root 13 ...
1
vote
2answers
718 views

Arduino Editor: Monitor menu show “Serial port unavailable”

Ubuntu 16.04LTS 64bit, Arduino Pro Mini board (ATmega 328P, 3.3V 8Mhz) I have problem with WEB editor: I selected Arduino Pro mini and ticked "8Mhz ATmega 328P". I tried to upload "blink" test program ...
3
votes
2answers
536 views

Multiple IDE instances

I recently moved all in for Linux and have no intentions of going back to Windows, but programming for Arduino is a little annoying as I cannot find a way to have multiple instances. In Windows you ...
0
votes
2answers
234 views

How to select arduino 101 in ubuntu?

How to I select arduino 101? I have ubuntu.
0
votes
1answer
1k views

Arduino IDE in conflict with pyserial for use of serial port in OSX Yosemite

I'm trying to communicate with an Arduino Uno via pyserial using a code that I wrote for Ubuntu. However, when I try to use the same code in OSX Yosemite after identifying the serial port for the case ...
1
vote
0answers
155 views

Gui Scale on Linux HD display

I use Fedora 24/25 and now Ubuntu 17.04 Gnome on my Lenovo Yoga 900, which has an extremely high pixel density display. For these situations on Mac and Windows, I find a gui.scaling option in the ...
0
votes
1answer
299 views

Serial ports(in 1.0.5 & Port in 1.6.11) is greyed out under tools

I am running a linux distro on my pc(Ubuntu 16.04). I have installed Arduino IDE(version 1.0.5 since it's the only one available on the store) from the Ubuntu Software Center and also using the .ZIP ...
0
votes
1answer
538 views

Burn arduino bootloader using ubuntu 16

I get the following error when I try to burn the arduino bootloader on an atmega328 mcu: avrdude: verification error, first mismatch at byte 0x0000 0xfd != 0x05 I am using an Arduino as ISP ...
1
vote
1answer
368 views

Arduino Pi-3 Ubuntu MATE not compiling

When I try to upload a script to my Genuino Uno from the Linux ARM distro on genuino.cc/downloads it spits out this during compiling. avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission ...
-1
votes
1answer
4k views

Arduino IDE “Tools > Serial Port” grayed out (Ubuntu)

I know this has been asked before, but no one's solutions I've seen have worked so far. I just got started with Arduino and downloaded Arduino IDE from the Software Center. When trying to to set up my ...
0
votes
1answer
5k views

How do I install the latest Arduino IDE on Ubuntu 14.04LTS? [duplicate]

What I've tried: I downloaded the package for 1.6.7 on Ubuntu 14.04 LTS but when I open it no matter what I try it will not start. I installed 1.0.5 from the Ubuntu Software Center. I tried to update ...
15
votes
3answers
52k views

First time set up- permission denied to usb port- ubuntu 14.04

I just plugged my arduino in and the light is on, but the blink test failed to upload. here is my error: Arduino: 1.6.7 (Linux), Board: "Arduino/Genuino Uno" Sketch uses 1,030 bytes (3%) of program ...
10
votes
1answer
248 views

I can't seem to receive data to the ArduinoStudio serial monitor on ubuntu 14.04 [closed]

I'm using the Arduino Starter Kit so I have a Uno R3 and going through the examples I'm trying to read temperature data from my controller in Arduino Studio. In essence my problem can be reduced down ...
3
votes
2answers
1k views

Maintaining Arduino on Ubuntu 14.04

I used to use Arduino on Windows but I changed to Linux last week and I was wondering how to have a maintained version of the Arduino terminal: Indeed, I'm not sure my version is quite recent: The ...
2
votes
5answers
4k views

Error uploading Arduino Micro Sketch using Kubuntu

I have an arduino micro which I want to program from my Kubuntu 15.10 system. I installed the arduino software using apt-get, but when I try to upload the program (for test purpose I use the Basics\...
1
vote
1answer
2k views

Bluetooth connection to HC-05 paired but not connected (in Linux)

I have an Arduino Uno connected to an HC-05 Bluetooth sender/receiver chip. I am trying to create a Bluetooth connection between my Acer laptop running under Ubuntu 14.04 LTS and the HC-05 chip. ...
3
votes
3answers
7k views

WARNING: Category '' in library *any library* is not valid. Setting to 'Uncategorized'

I'm using Ubuntu 14.04 with arduino Galileo and the newest arduino IDE from arduino.cc and every time I compile I got this warnings with any library in place of EEPROM, SD, Wire, Wifi and a lot of ...
2
votes
1answer
161 views

How can I make Arduino IDE use Atmel's provided toolchain? (Linux/Ubuntu)

I have an Arduino based board using ATmega168PB, but so far only Atmel's provided toolchain supports this microcontroller. I can download the toolchain from Atmel's website, but I am not sure how to ...
3
votes
1answer
196 views

Arduino IDE fails without sudo

I use Arduino IDE 1.6.6 on Ubuntu 15.10. Starting the Arduino IDE without using sudo fails for both: uploading the code to the Arduino Uno starting the serial monitor The group I need to add my ...
0
votes
1answer
4k views

Arduino Mega, Ubuntu, Time.h: No such file or directory

I'm using an Arduino Mega with Ubuntu 15.10. Sadly I've got an error during compilation, that the Time.h library cannot be found. The verbose compile output shows: /usr/share/arduino/hardware/tools/...
1
vote
0answers
61 views

Arduino DUE Bossac Lockup after Ubuntu Upgrade

I already asked my question in the Arduino Forum here: https://forum.arduino.cc/index.php?topic=353846.0 but got no answer so far. Thus I hope here might be people who have a hint for me. Since I ...
1
vote
2answers
100 views

How can program/arduino restarted by IDE?

I wrote my custom sketch, where I am printing some greeting text inside setup() method. I found, that each time I am restarting IDE, and opening serial monitor, a greeting text is printed there again,...
2
votes
0answers
215 views

Arduino Due upload firmware issue

I have Arduino Due on SAM3x8e. I'm on Ubuntu 14.04. Before today I uploaded firmware via terminal using those commands: $ stty -F /dev/ttyACM0 speed 1200 cs8 -cstopb -parenb $ /home/q/apps/devel/...
-1
votes
2answers
169 views

How to use Induino R3 on Ubuntu 14.04

I have just got Induino R3. I have installed Arduino on my Ubuntu. I tried blink example but it shows error serial port COM1 not found I think i need to select proper option from serial port. But i ...
1
vote
0answers
220 views

Problem uploading code to Arduino Uno using stino

I am having problems uploading my code to my Arduino Uno. The code that's already up, is running normally. The error code I get is: ioctl("TIOCMSET"): Connection timed out avrdude: stk500_recv(): ...
4
votes
1answer
1k views

Cannot find Arduino under /dev Directory

I have the Arduino board connected to a USB port of my machine. But I cannot find it under /dev/ directory in my Ubuntu. Does anyone know how to deal with this issue? By the way, "lsusb"'s output ...
2
votes
1answer
1k views

communicating with arduino over serial via terminal

I'm attempting to write data over a serial line to the arduino, however I don't want to use the arduino IDE but rather use the command line. In order to do this I have the following commands: $...
2
votes
2answers
2k views

Sketches not uploading to Micro from Ubuntu 14.04

I recently bought an Arduino Micro to see what all the fuss was about and I figured I'd use it with Ubuntu on an older Dell Latitude. I was able to install all of the files using some tutorials but I ...
2
votes
2answers
5k views

Why does command line BOSSA not recognize Arduino Due?

Running Ubuntu 12.04.4 LTS (64 bit) I try to upload my code to the Arduino Due through the Native port. I have tried both the bossac that ships with the Arduino IDE (which is a modified version of ...