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.

Filter by
Sorted by
Tagged with
1
vote
1answer
845 views

ESP2866 and java ServerSocket

So I have an application that runs on the Arduino that passes info over serial. I'm using a ESP2866 to make it wireless. Arduino->Serial->Esp2866->SocketConn->JavaSocket->Console I ...
1
vote
1answer
74 views

Adruino Yun's Linux environment not working

I was recently given an Arduino Yun board from my university. I am able to upload sketch to the board, and it seems to function properly. However, I am unable to see the Linux booting up. When I want ...
1
vote
1answer
449 views

How do I use Microduino (mCookie) on Linux?

I'm interested in getting the mCookie working in Linux — specifically, in Fedora 23. The Arduino IDE (version 1.6.4) is already available. I'm very familiar with Linux, fine with C, and completely new ...
1
vote
2answers
452 views

How is AVR Assembly in Eclipse or at Linux command line done?

I'm trying to learn AVR development in C and Assembly for the Arduino Uno (Atmel 328p microprocessor) in Linux. I've found many good guides on how to install and setup the AVR plugin for Eclipse, ...
1
vote
1answer
5k views

How to connect Arduino device to Linux?

I wrote Arduino sketch and it works. It waits for a command and answers text on response. Simultaneously, I can't get any response with command line tools. For example, I have the following code to ...
1
vote
0answers
21 views

printf spacing using array variables in unix shell script [closed]

I'm trying to use printf with a dynamic spacing but I'm not able to do that. I have this array containing the desirable spacing for each coloumn: Max_num=(); then I am trying to use numbers inside ...
1
vote
0answers
34 views

Problem uploading my sketch onto my arduino. Arduino 1.8.13, Linux Ubuntu 20.4

This is my log, honestly no idea what the problem is here, tried updating java, didnt work. Sketch uses 11216 bytes (4%) of program storage space. Maximum is 262144 bytes. Global variables use 2384 ...
1
vote
0answers
18 views

AVR USB based device detection problem after switching from RPI3 raspbian stretch to buster [closed]

I have a device constructed from a Raspberry Pi 3 B and an AVR based USB device. The interconnection of these components is depicted in this picture. When RPI is on, data lines of keyboard will be ...
1
vote
1answer
136 views

Digispark uploading not working in KDE Neon (Linux)

I am using KDE Neon and have downloaded the Arduino IDE via the Snap store. It worked well with the ESP8266 and other Arduions. But when I tried to upload a simple sketch or an example sketch to my ...
1
vote
0answers
267 views

How to access native USB port of Arduino Due on Synology NAS?

I would like to flash my Arduino Due from my Synology DS218+ NAS which runs on an Intel 64bit Linux-derivate platform. Previously, I was able to flash a Mega 2560 from this NAS via avrdude and ...
1
vote
1answer
3k views

'“/dev/ttyACM0”: Permission denied' on Ubuntu 18.04

I'd like to say that I'm a noob at both Arduino & Ubuntu (have some command line experience). I've set port permissions, joined the relevant groups (tty,uucp,dialout & plugdev). I know that ...
1
vote
0answers
45 views

problem with communication between Linux and microcontroller [closed]

Hello Arduino community, I am new to the Arduino community and would like to ask for help (I work on a Arduino TIAN). Indeed, since 2 3 weeks I try through simple programs to understand the operation ...
1
vote
0answers
71 views

Pro Micro HID freezes during computer boot or resume from standby

I am using a Pro Micro as a HID touchpad, connected to a laptop running Ubuntu 17.04. Everything works, except that the board freezes or hangs while the computer boots or resumes from standby, ...
1
vote
0answers
248 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 ...
1
vote
0answers
56 views

How to shake hands (Atheros-ATmega comms)

How does one assert, from the Linux user land (root-er land?) on the Atheros AR9331, the 32u4's arduino-pin 7 for communication handshake?
1
vote
0answers
1k views

Reading Arduino output from serial line

I'm attempting to read data from the serial line coming from the Arduino and return it as a string. I have found/modified the following code to do so: #include <sys/types.h> #...
1
vote
0answers
248 views

How can I automatically start a LAN connection?

I have a Samsung Galaxy Note 10.1 with JuiceSSH installed. I also have Debian Linux installed via chroot. I'll be ordering an Intel Galileo to use as a portable compilation server. I have an ...
0
votes
2answers
2k views

Compile `.hex` files on Linux [closed]

I build .hex files for Arduino. How can I do this in Linux? I use the Linux distro Mint 17.2. I need a program to make [.hex files] (in Linux). Can anyone help me?
0
votes
1answer
3k views

ESP8266 as wifi Card? [closed]

I am very new to arduino and electronics in general. Can i use the NodeMcu Esp8266 as one of those usb wifi dongles? I want to use it as a monitor mode capable wifi card, for my linux laptop.
0
votes
1answer
2k views

Recovering from lost USB connection (Leonardo to Raspberry Pi)

I have several Arduino Leonardos connected to a Raspberry Pi (running Ubuntu) via USB. They appear as /dev/ttyACM0, /dev/ttyACM1, etc. Occasionally, one will disappear and even pressing the Arduino'...
0
votes
2answers
154 views

Compile problem when using keyword 'new' on Raspberry Pi

I have the following line of code in my Arduino sketch: static double *temps = new double[arraySize]; //Declare array to hold tempratures, place the array on the heap where it will not be deleted ...
0
votes
3answers
201 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 ...
0
votes
1answer
48 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: ...
0
votes
3answers
3k views

easy_install pip on Arduino Yun fails

I want to install pip on the Yún which is running Linino OS but every time I execute the standard steps for opkg i.e. # opkg update # opkg install distribute # okpg install python-openssl # ...
0
votes
1answer
12k views

ttyACM0 no such file or directory On Ubunutu 14.04

I have an Arduino Uno which communicated with the computer (Ubunutu 14.04) fine till 6 days ago (I assume some software update is to blame). Now when trying to upload I get processing.app....
0
votes
1answer
31 views

Arduino as USB HID is slowed down when PC doesn't read events

I have an Arduino Micro that is acting as a HID device for a Linux PC. I use this call to send the HID values: HID().SendReport(1, _values, sizeof(_values)); This works in principle, but I noticed ...
0
votes
2answers
123 views

Latest news about alternative Arduino IDEs

I simply hate the default Arduino "IDE". On Windows I use Visual Studio Code with the related plugin. Now I have a Ubuntu machine and I'm looking for the definitive IDE. Questions: I'm not sure ...
0
votes
1answer
698 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 ...
0
votes
1answer
58 views

Using Arduino as contact to the world for linux box if app crashes

I am new to this micro controller thingie world so bare with me :) Let me describe a scenario first. Say I have a linux box for house automation embedded in a wall. For security reasons is the only ...
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 ...
0
votes
1answer
199 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 ...
0
votes
1answer
1k views

Read Serial data from an arduino with c code

I am trying to receive data through the serial port from my SBC (a TS-7200), i am working with linux and handle serial communication using C/C++.To send data to the SBC i'am using an arduino uno. So ...
0
votes
1answer
3k views

avr/io.h No such file or directory error when compiling using avr-gcc

I am trying to use the atmega328p as standalone microchip and program it. I ama using an Arduino Uno as ISP. I have written a simple program to test it however when I try to compile it using avr-gcc ...
0
votes
1answer
748 views

Linux SSH command for Arduino Console

I have a Leonardo with a Yun shield, and I would like to be able to control the arduino with a windows form app, but thats besides the point for now at least. Currently, I am using putty and the ...
0
votes
2answers
902 views

Where is Arduino on Fedora?

I am trying to install the Teensy loader software but I need to know where Arduino is installed. Does anyone know where in Fedora the Arduino files are?
0
votes
2answers
3k views

Reading 2 numbers from serial

I try to send pairs of numbers over the serial port from a linux pc to the arduino. By now I did so always by piecing together the ASCII chars from the serial line and using Serial.read(). Now I need ...
0
votes
1answer
2k views

In Linux how do I start up Atmel Studio

I am using Linux Fedora 20. In order to compile C programs for the Arduino, as described in the book "C Programming with Arduino" by Warwick A Smith, pub by Elektor, I have downloaded and untarred/...
0
votes
2answers
1k views

Arduino and PHP communication only work if I open the Arduino IDE

I have a problem. I try to open a channel to arduino and PHP talk, the PHP would send a command and the Arduino should answer that. It works, but only if I execute some steps before: sudo chmod 777 /...
0
votes
1answer
153 views

I don't have “Process” header

I'd like to run an application on my system after pushing a button on an Arduino shield. I've read that I need to use the runShellCommand() function, which can be accessed from a Process header. ...
0
votes
1answer
1k views

Why does Arduino Due Native Port change serial ports after every reset? (Linux)

Previously I had my Due connected via Programming Port for weeks, and it never changed serial ports after pressing the reset button. Recently I switched to having it connected via the Native Port ...
0
votes
1answer
122 views

How to wait Arduino ready with ANY method?

Recently I knew, that Arduino restarts any time somebody accesses it's serial port. I was trying to use this feature so that for each request Arduino restarts and give answer on request. Unfortunately,...
0
votes
1answer
90 views

Same Arduino Sketch when uploaded from a Linux machine does not work

I am trying out some code using the Arduino IDE. The code basically tries to connect to a server and push some data to it. When I upload the sketch to the Arduino from Mac (Apple PC running on Mac OS)...
0
votes
1answer
651 views

Arduino IDE has no shortcut in openSUSE

I just installed the Arduino IDE in openSUSE 13.1. I am able to open the application using the run dialogue, so I know it has installed. However, there is no way to open the IDE from any application ...
0
votes
1answer
70 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 ...
0
votes
1answer
68 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 # ...
0
votes
0answers
216 views

Unable to upload code on Arduino Nano on Manjaro Linux [duplicate]

I try to upload the Blink sketch. I can successfully upload on Windows but not on Manjaro Linux. I'm using Arduino IDE 1.8.12. In Boards Manager Arduino AVR Boards version 1.8.2 is installed I tried ...
0
votes
0answers
72 views

ArchLinux avrdude not in sync (resp changes everytime) but it works on Windows? [duplicate]

I have some nano clones (ch340) which are driving me crazy! I have followed every possible advice (including wiping out arduino, avr and related configs, using another board, using another pc running ...
0
votes
1answer
602 views

No data sent over serial port in linux c++

TL;DR - I am attempting serial communication with Arduino with code that I found here and nothing gets sent over (Arduino programmed to respond, and I checked that it does with its serial monitor) Hi ...
0
votes
1answer
99 views

Arduino Yun can no longer send to Dropbox

A long time ago I had set up an Arduino Yun to send files to Dropbox... I tried now and it ends in "killed" when trying to install the latest Dropbox Python module. pip install (six, urllib3, etc etc)...
0
votes
2answers
1k views

Cannot start Arduino IDE after playing with several versions of it

On my Linux Mint 17 Quiana I have manually downloaded and ran several versions of the arduino IDE (1.05 which is in the repo, 1.6.x for some time, now 1.8.3). Things worked like a charm. Now I am ...