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).
Questions tagged [ubuntu]
52 questions
26
votes
5 answers
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 storage space. Maximum is 32,256 bytes.
Global…
user18719
11
votes
1 answer
I can't seem to receive data to the ArduinoStudio serial monitor on ubuntu 14.04
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 to
void setup() {
Serial.begin(9600);
}
void…
ivarni
- 211
- 1
- 6
6
votes
6 answers
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 issued.
ls -l /dev/ttyACM*
This shows that the…
H2ONaCl
- 193
- 1
- 1
- 7
5
votes
1 answer
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 proves that it has been recognized. Here is the…
user3684042
- 153
- 4
3
votes
1 answer
Ubuntu Serial Port Briefly showing on arduino IDE
I am using a NodeMcu with Arduino IDE on Ubuntu.
I have managed to upload the blink script and it work.
Now, when i plug the nodemcu, the serial port /dev/ttyUSB0 is briefly available in the IDE.
After 2 seconds, the port menu is grayed out again…
Justin Mayer
- 33
- 3
3
votes
2 answers
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 create individual shortcuts for several Arduino IDE…
LinuxFerLife
- 187
- 1
- 6
3
votes
3 answers
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 others.
When I check the boards manager I got the…
rado
- 159
- 1
- 1
- 6
3
votes
0 answers
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/arduino/arduino-1.5.7/hardware/tools/bossac…
4xy
- 151
- 5
3
votes
3 answers
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 BOSSA), and the master BOSSA branch.
Running this…
Friend of Kim
- 1,493
- 3
- 16
- 16
2
votes
0 answers
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(): programmer is not responding
ioctl("TIOCMSET"):…
Lucas Simonini
- 21
- 2
2
votes
1 answer
How to know my Arduino core version and its location on my Ubuntu laptop?
Bakground:
When compiling a demo project about e-paper, I got this problem
./GxEPD/src/GxIO/GxIO_SPI/GxIO_SPI.h:39:5: error: ‘SPISettings’ does not name a type
SPISettings _spi_settings;
^
which on the Internet, people often say your…
ar2015
- 153
- 6
2
votes
1 answer
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:
$stty -F /dev/ttyACM0 cs8 9600 ignbrk -brkint -imaxbel…
Thijser
- 173
- 10
2
votes
0 answers
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 Arduino settings. However, on Linux there is no such…
mike
- 347
- 6
- 20
2
votes
1 answer
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 icon seems to have lived ages without a little…
Revolucion for Monica
- 135
- 1
- 8
2
votes
1 answer
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 make the Arduino environment use it.