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).

Filter by
Sorted by
Tagged with
0
votes
1answer
28 views

I Can't Connect to my MQTT server via arduino

I have mosquitto MQTT installed on my VPS server which I can subscribe and publish to it using paho client thorugh websockets. However when I tried to connect to it through Arduino, I get the ...
1
vote
2answers
66 views

Does Linux have software protection on USB? Or has the magic smoke escaped?

I'm making a GUI in Python that will control an Arduino via serial monitor. I have 6 input pins grounded and I'm taking 5V from the board (powered from USB) whilst serial monitoring and everything's ...
2
votes
1answer
241 views

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; ^ ...
1
vote
0answers
27 views

More than one port available in Arduino IDE in Ubuntu

I'm using Jetson AGX Xavier, and in my Arduino IDE, there are dev/ttyUSB0, dev/ttyUSB1, dev/ttyUSB2, dev/ttyUSB3. I'm sure I connect Arduino in USB0, but I cannot download the code. The device is also ...
-1
votes
2answers
43 views

Where can I find SerialMonitor.java in installed Arduino IDE 1.8.13?

I have found the git source for SerialMonitor (Arduino/app/src/processing/app/*) but unable to find it in the installed Arduino IDE. I am using Ubuntu 20.04 64-bit. I want to make changes to it, not ...
0
votes
2answers
2k views

Error 'exec: “python”: executable file not found in $PATH Error compiling for board AI Thinker ESP32-CAM.' in Arduino IDE 1.8.12

I am trying to upload a sketch to the ESP32-CAM board using Arduino IDE 1.8.12 and I get an error message: exec: "python": executable file not found in $PATH Error compiling for board AI Thinker ...
0
votes
0answers
46 views

How to revive a KEYESTUDIO Pro Micro

So I have a KEYESTUDIO Pro Micro that seems flaky. I had trouble w Ubuntu's permissions for the device, and it may have changed a manual chmod 666 underneath me? Anyways... I now have a very hard ...
0
votes
1answer
648 views

No ttyACM0 with Pro Micro on Ubuntu 18.04

I am trying to determine the dev path of a USB keyboard running an Arduino Pro Micro on my Ubuntu 18.04 system. The files /dev/ttyACM0 and /dev/ttyUSB0 do not exist. When I run dmesg I get: [ 410....
-1
votes
1answer
6k 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 ...
4
votes
6answers
9k 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 ...
3
votes
3answers
7k 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 ...
1
vote
1answer
55 views

How To Get Data From Arduino Uno Onto My Laptop Through The USB

I want to write a c++ program that does something with the data from one of the input analog pins as the program runs, but I want to know how to get the value from the arduino uno though the USB port (...
2
votes
0answers
44 views

Multiple arduino connections problem

I have 2 Arduino Mega 2560 connected via USB to my Ubuntu 18.04 machine. When I boot, one connects to /dev/ttyACM0 and the other connects to /dev/ttyACM1. Communication works perfectly. However, ...
0
votes
1answer
77 views

Serial communication between PC and Arduino using C

I'm trying to send some data to my arduino mega 2560 using serial communication. I'm using the exemple that I found here without success. Every site I read say that I can send data to the arduino ...
22
votes
5answers
96k 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 ...
1
vote
0answers
173 views

Can't open serial monitor on Ubuntu (Teensy 3.2)

I am running a simple blink/hello world program on Teensy 3.2. The code is compiling and running fine but I can't see the serial output. When I try to open the serial monitor it gives me "Board at ...
0
votes
1answer
1k views

Cannot connect through /dev/ttyACM0 (Ubuntu 18.04)

I am using an Arduino UNO which worked fine until today. My system: Ubuntu 18.04 Now, the IDE can no longer connect to it: Cannot do any sketch upload Cannot ask for board info No USB ports shown in ...
1
vote
0answers
43 views

Wroom 32 can't be recognized by Arduino 1.8.9 on a ubuntu 19.04 computer

I started by plugging my Wroom 32 into my Kubuntu desktop. I checked my /dev before and after, and found no changes. After opening Arduino IDE, I only found my other Arduino, the Arduino Due, in the ...
1
vote
0answers
36 views

Arduino Port randomly changes whenever I punch correct RFID tag

I was working on an Electronic Door Lock/Unlock system using Arduino Uno and RFID Reader/Tags on Ubuntu 18.04.02 lts. Now the problem is that whenever I punch-in the correct RFID tag to the RFID ...
1
vote
0answers
429 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 ...
1
vote
1answer
1k 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
votes
1answer
152 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
436 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 ...
3
votes
2answers
1k 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 ...
1
vote
2answers
2k 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 ...
0
votes
1answer
606 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
1answer
475 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
vote
5answers
5k 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\...
11
votes
1answer
346 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 ...
1
vote
0answers
242 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
2answers
272 views

How to select arduino 101 in ubuntu?

How to I select arduino 101? I have ubuntu.
0
votes
1answer
372 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
2k 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 ...
3
votes
3answers
9k 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 ...
0
votes
1answer
943 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 ...
5
votes
1answer
2k 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 ...
1
vote
1answer
3k 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. ...
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 ...
2
votes
2answers
2k 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
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 ...
-1
votes
2answers
178 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 ...
2
votes
1answer
198 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 ...
2
votes
1answer
384 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
5k 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
110 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
121 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
268 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
vote
0answers
251 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(): ...
2
votes
1answer
2k 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: $...