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
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?
1
vote
0answers
278 views

Arduino Yun OpenWrt MySQL Issue

I am using OpenWrt in Arduino Yun. I want to save some sensors data into MySQL Server which is installed in OpenWrt localhost. But it gives an error when I try to login MySQL after reboot the system. ...
5
votes
2answers
996 views

Can I specify custom port names in the Arduino IDE on Linux?

On Linux, if you have more than one USB TTY device, the USB port name (/dev/ttyUSBx) changes every time one is plugged in, and there's no easy way to know the new name without going and looking ...
0
votes
2answers
2k 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
1k 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/...
1
vote
2answers
844 views

Baud rate Arduino/Linux

I'm trying to communicate some numbers between a Linux program and my Ardunino Uno. To this end I wrote a C++ program which somehow contains: #include <stdio.h> int a,b; a = 1; b = 2000; File*...
2
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 ...
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
1k views

connection between Arduino Uno with nRF24L01 and notebook with wireless card

My project intend to command an Arduino UNO by my notebook without cable. I thought to use a RF Nordic nRF24L01 cabled on an Arduino UNO, and to use the wireless card of my notebook to send command to ...
2
votes
1answer
576 views

Compilation error using arduino-mk on arch Linux (undefined reference to __dso_handle)

I'm compiling a simple sketch that reads values from an analog input and activates a buzzer on a digital input. working on an Arduino uno. the sketch compiles and runs fine on windows and arch linux ...
0
votes
1answer
1k 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'...
1
vote
0answers
51 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?
0
votes
1answer
137 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 ...
1
vote
2answers
417 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, ...
0
votes
1answer
119 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
4k 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 ...
5
votes
2answers
166 views

How to differentiate between 2 Micros on Linux

I have 2 Arduino Micro based devices that I want to use on my Ubuntu Linux machine. I need them to have unique serial ports. Unfortunately, both have the same serial number which makes ...
3
votes
1answer
2k views

Arduino IDE on Fedora

I'm using Fedora_21_MATE.img on a Raspberry Pi. Installing the Arduino IDE 1.0.6 using these commands, taken from Arduino On Pi. Those instructions are for Raspbian, I assume, so changing for Fedora, ...
1
vote
1answer
82 views

Does restarting Yún configuration mess up Arduino or its SD card?

I noticed something odd recently - a Yún, that was working previously, wouldn't connect. After logging in to the web setup, setting the access point and password (which hadn't changed), and save &...
0
votes
1answer
85 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
10k 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....
1
vote
2answers
2k views

Arduino UNO R3 USB not working

I have a problem with my Arduino Uno board, its not mounting in my linux machine but its power is On and L light is glowing. It was working before. After I tested buttons with 12V external supply. I ...
0
votes
2answers
150 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 ...
1
vote
2answers
2k views

How to get Baite Pro Mini working?

I have recklessly bought the Baite Pro Mini and I find it difficult to upload any program. I use Ubuntu Linux, but out of frustration I am ready to install Windows, if it is necessary. I've read the ...
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> #...
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: $...
5
votes
1answer
150 views

In Linux, how do I get this Arduino library to work

In Linux Fedora 20 Arduino I want to use the Timer library from here, from which I have downloaded the folder Timer-master.zip, but, when I try to import it, I get the Arduino message that it cannot ...
17
votes
7answers
8k views

In Linux, how to identify multiple Arduinos connected over USB?

If I have multiple Arduinos connected over USB to a Linux computer, and they show up as /tty/ACM0 /tty/ACM1 /tty/ACM2 How can I identify which Arduino is which without connecting to them via ...
3
votes
5answers
2k views

Can I control analog IO pins using Yun Linux

2 days back I bought Arduino Yun. I'm able to flash Led on 13 pin. And I'm able to flash Led on Bread board connected to A0. I'm able to run linux commands. Now I want control A0 pin using Linux/...
2
votes
0answers
838 views

Connecting Arduino Yun to wifi with 802.1X authentication

Is it possible to connect the Yun to wifi using 802.1X authentication? 802.1X is WPA2-Enterprise that uses a username and password (per user) instead of one password (for every user). I don't see a ...
0
votes
1answer
619 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 ...
1
vote
0answers
247 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 ...
5
votes
1answer
1k views

Can I compile c/c++ code on the linux part of the Arduino Yun?

Can I compile c/c++ code on the linux part of the Arduino Yun? How complete is the linux part of the Arduino Yun? Can I scp some c/c++ code onto the Atheros AR9331 chip compile it? Or must I first ...
2
votes
1answer
1k views

Arduino Serial Communication

I'm trying to communicate with the Arduino through the serial port to fade the LED. There's the code running on my Arduino: #include <aJSON.h> aJsonStream serial_stream(&Serial); const ...
19
votes
3answers
19k views

Arduino program only works when run as root

Uploading simple sketches seems to work when I run the Arduino program as root (sudo). I would like to run it as a regular user. Has anyone faced the same problem before and fixed it? Here is what I ...
3
votes
3answers
1k views

Use an Arduino as a user interface for the computer

I wanted to use either Arduino Mega or Uno as a form of an interface between me and the computer. I want to apply it to the following scenario; if I press a button on a circuit board I want it to ...
2
votes
4answers
4k views

Arduino disconnecting at upload

This problem doesn't seen to be very common around the Arduino community. Basically, what's happening is that as soon as I click the upload button, the Arduino IDE tells me that my Arduino board is ...
14
votes
2answers
3k views

Yún boot from SD card

I have an Arduino Yún, and it only has 16mb flash onboard for the Linux. I was wondering of it is possible to put a bootloader on the flash that uses the sd card as a rootfs? i want to be able to do ...
25
votes
6answers
13k views

What does it take to compile Linux on Arduino, if at all possible?

Is it possible to run Linux on Arduino? If yes, what steps and limitations need to be considered? If not, what are the limitations that prevent this?