Questions tagged [linux]
Linux is an open source operating system (OS) that is lightweight and runs on many systems. It also runs on the Arduino Yún. There are different "flavors" or "distros" (distributions and changes made by different groups) of Linux such as Ubuntu, Debian, and Fedora.
118 questions
3
votes
1
answer
2k
views
Chrome-sandbox error in Arduino IDE 2.3 in Ubuntu 24.04
I'm trying to setup an installation of the IDE 2.3 in a Ubuntu 24.04 LTS (beta) environment, and am facing an issue I'm unable to resolve. The IDE gets to the GUI for accepting terms and conditions, ...
-1
votes
1
answer
163
views
Ubuntu - TinyISP is not recognized
I got a Pocket AVR Programmer.
https://learn.sparkfun.com/tutorials/pocket-avr-programmer-hookup-guide
I hooked it up on Ubuntu Linux, opened up a sketch in the Arduino IDE, selected Programmer: ...
1
vote
1
answer
127
views
Arduino Readings Update Correctly on Windows but not Linux
I have written a simple script to get angle measurements from a magnetic sensor. The script works very well on Windows. However, when compiling the script on a Linux VirtualBox (Ubuntu 20.04), the ...
0
votes
2
answers
738
views
Is it possible to program an AVR chip (atmega328p) via i2c?
Currently I am using avrdude and I'm programming my atmega328p chip via the spi pins by pulling the RESET pin low (spidev programmer).
In my project I'm using predominantly i2c and this the only place ...
1
vote
0
answers
630
views
Arduino lagging or buggy with delays and serial print?
I got a strange issue with my Arduino Leonardo (clone). It seems to be laggy or buggy, I don't know what the issue is.
I get issues when I use "long" delays.
Below sketch is working fine.
...
1
vote
0
answers
764
views
Can no longer select a port in Arduino IDE on Linux?
I am trying to upload to my Elegoo Mega 2560. I previously had it set up properly with the board installed and selected and the port automatically detected.
Now when I go to Tools and hover my mouse ...
-2
votes
2
answers
2k
views
Arduino Uno R3 not recognized by Arduino IDE on Ubuntu 21.04
Now I've been pulling my hair for two days over this one. I've tried everything. I've turned every stone, looked at every search result, and every Arduino Forums thread.
The problem is that Arduino ...
1
vote
2
answers
464
views
Error compiling ESP32 Wrover Module in Linux Virtual Machine
SO i have been getting this error window when i compile a simple code to run different LED lights on the ESP32-S2-SOLA (Wrovere) module
Code:
int LED_BUILTIN = 2;
void setup() {
pinMode (...
1
vote
1
answer
3k
views
avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied Upload error:
I am using arduino-ide2.0.0-beta.7(CLI Version:0.18.3 alpha) on Manjaro Linux and I get this error when uploading sketch to my Arduino Micro:
avrdude: ser_open(): can't open device "/dev/ttyACM0&...
1
vote
1
answer
491
views
Arduino IDE 1.8.13 won't launch properly
Recently I have been trying to install Arduino IDE 1.8.13, and I have ran into according problem.
When trying to launch Arduino IDE with ./arduino command it shows according error:
./arduino: line 35: ...
-1
votes
1
answer
430
views
Efficient workflow/tools for converting color images to hex arrays
I would like to display 65k color animated gifs on my oled. I'm using the adafruit library for https://learn.adafruit.com/096-mini-color-oled
Now I need to convert a significant number of images to ...
1
vote
1
answer
754
views
How to get arduino to always be connected as /dev/ttyUSB0 and with chmod 0777?
I've got Debian 10 as OS and for a Project, I need my arduino to always be connected as /dev/ttyUSB0, not any other ttyUSB-number, and I need it to be connected with the 0777 rights for a script to ...
0
votes
1
answer
161
views
I can't run shell commands on Linux through AVR sketch (Arduino Yun)
I'm a little confused with some Process.h methods.
I'm trying to run the command "nc 192.168.1.15 9911" to the Linux processor through a sketch.
The appropriate netcat listener is waiting on ...
1
vote
3
answers
5k
views
how do i connect my Arduino Nano to my Linux Laptop
update:
I uninstalled the portable package of Arduino IDE, completely, and installed the IDE using sudo apt install arduino. yes, I verified that my Nano was plugged in, the status on the bottom right ...
1
vote
1
answer
276
views
Esp8266: Linux - fatal: No names found and undefined reference to `app_entry_custom()'
as Gentoo user I build everything from sources, but I have problem with building toolchain for esp8266. I came up with this script:
#!/bin/sh
# note: eselect python2 before, because of gcc
# ...
1
vote
1
answer
1k
views
Upload already compiled code on Linux CLI without arduino-cli
I have a sketch for an Arduino Nano. I'm compiling it on my build server and get these 3 files:
project.bin.elf
project.bin.hex
project.bin.with_bootloader.hex
Now I need to be able to upload/flash ...
1
vote
2
answers
2k
views
Baudrate is set to 9600 automatically even if specifying a different value
You initialize the serial communication via USB with
Serial.begin(baudrate);
where baudrate is a long specifying the number of symbols you want to send over the connection per second. You can put ...
0
votes
1
answer
4k
views
find out the pin numbers for the Arduino IDE for a certain board - the esp 32
I followed the tutorial I found here https://techtutorialsx.com/2019/03/29/esp32-arduino-controlling-a-dc-motor/
On the very interesting topic controlling a DC motor with the esp32 and Arduino I have ...
1
vote
1
answer
99
views
Program Arduino Mega Adk on linux
for a project my supervisor gave me a Arduino Mega ADK board (https://store.arduino.cc/arduino-mega-adk-rev3) and the usb-cable.
I only programmed a Atmega32 8 bit controller on linux ubuntu. I have ...
0
votes
1
answer
270
views
How can I run the arduino IDE 1.8.9 on debian testing as regular user?
When I start the arduino IDE as regular user from my debian testing system, I get a crash right after the splash screen:
Temp/arduino-1.8.9/arduino ...
3
votes
1
answer
4k
views
Selected board depends on 'arduino' core (not installed)
When I load the Arduino IDE with Board: Pololu A-Star 32U4 selected, I see:
The current selected board needs the core 'arduino:arduino' that is not installed.
I installed the board manually via these ...
1
vote
1
answer
206
views
C: No communication to a connected serial port?
I'm trying to connect to an arduino Mega At2560 unit connected via usb serial port in my linux based PC.
Using C code, I'm trying to send and receive simple text strings, just I'm able to send and ...
1
vote
1
answer
4k
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);
}...
0
votes
1
answer
67
views
LED on Arduino does not blink
I successful installed arduino, added me to uucp and lock and loaded cdc_acm module.
I use Arduino Uno R3, so I also installed arduino-avr-core.
I have Arduino on /dev/ttyUSB0.
I configured with:
...
2
votes
1
answer
116
views
Which platform is better to debug Arduino memory problems? Linux or Windows?
I am developing a product. I developed every module in the firmware individually. Now I am integrating them but getting memory issues. I am not able to see how the memory is allocated inside the MCU ...