The Arduino Yún is a microcontroller board based on the ATmega32u4 and the Atheros AR9331. Use this tag for questions specifically regarding the Yún, and not just general Arduino usage.
0
votes
0answers
4 views
SSH and web interface broken on Yun
I have two Arduino Yuns that are not accessible at all on the network. I can't go to the arduinoname.local, ssh arduinoname.local, as I previously could. I know at least one it working because it ...
0
votes
2answers
18 views
lininoIO running “partially”
I installed LininoIO (OS date 02 06 2015).
Everything seems to work fine - but last not least nothing works as expected.
I have a running linux - but when I try to use GPIO like describe here ...
0
votes
2answers
49 views
Streaming sensor data over UDP using an Arduino Yún - how to do it and how fast could it be?
The company where I work wants to do a proof of concept for our new product, a force-sensing platform.
The platform contains four three-axial load cells, so we have 12 channels, which are to be ...
0
votes
1answer
19 views
Yum as eth->wlan adaptor
Is there a way to make a yun an Ethernet-wifi bridge? Applications include giving wifi to raspberry pi and other Ethernet only devices and vice versa.
0
votes
3answers
63 views
How to empty the buffer for Serial port?
I have a Yun that accepts commands via the bridge (note the below code is part of a very simple virtual keyboard that accepts commands then runs Keyboard.println on them:
#include <stdlib.h>
...
0
votes
1answer
25 views
YUN - recover from wrong wifi password
i'm trying to customize my Arduino Yun to work as an access-point (or hotspot) for providing services to clients directly connected and, altenatively, to work as a client on a wireless network for ...
0
votes
0answers
42 views
Two identical functions, one works one doesn't. why?
I'm cross-posting this with the Arduino exchange because I'm not sure if it's a problem with my C or something else entirely.
I'm attempting to communicate over WiFi using the process library (Part ...
0
votes
0answers
19 views
Arduino yun strange uploading error
I'm new to arduino and I'm trying to upload a fairly large (I think) program to a arduino yun which includes a 3 dimensional array. I'm using the bridge features of the yun.
when I upload the first ...
0
votes
0answers
10 views
Send console command when triggering gpio on yun
I have an arduino yun and I've been trying to figure out how to send input to the Linux terminal when a button is pressed connected to a gpio port.
Can anyone point me in the right direction?
0
votes
1answer
31 views
Perfect copy of Yun with Micro SD
My Yun has a micro SD card with shared file system using ExpandingYunDiskSpace.
I would like to copy my Yun/SD card data perfectly onto my backup Yun/SD card. Because I have made many changes to the ...
0
votes
1answer
16 views
Console monitor on different wifi network
I have a Yun doing data logging. It runs nicely and when I am on the same wifi network I can use the Console Monitor to watch what it is doing in more detail. However, my arduino is deployed far from ...
1
vote
1answer
34 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
41 views
Change arduino.local server address
I have a Yun and I'm trying to change the URL I type in to access the Web UI.
I've successfully changed its hostname in /etc/config/system, which now lets me SSH in using the new name. However:
...
0
votes
3answers
61 views
iterate through values in an array of strings to print
I (think I) am trying to iterate through the values of an array and print the string to a tft. I have declared the array of 4 strings, and that works fine. But when I try to print it, I get garbage. ...
0
votes
0answers
17 views
How to make the Yun allow access to a resource
I have replaced /www folder on the Yun (backing it up first), how do I make it so the Yun will redirect to the new index.html? It, right now, gives Access to this resource is forbidden when I go to ...
0
votes
3answers
47 views
Convert a Serial string to a sketch command on Yun?
How can I convert a string like the following:
"pinMode(2, INPUT_PULLUP)"
or
'Keyboard.print("Hello world")'
into actual code that the Arduino can act on?
0
votes
1answer
29 views
Transmitting sketches to Yun with Autobahn - a byte at a time?
I am using this tutorial to connect an Arduino Yun with a browser using Autobahn.
In the python file in the above repo, there is this code:
def controlLed(self, turnOn):
if turnOn:
...
0
votes
0answers
28 views
YUN as BT keyboard
Sort of a follow up to Yun as bluetooth master, but this is to get the yun to act as a slave device. Specifically, I want it to be a BT keyboard.
I could probably do it on my own, but I need to find ...
0
votes
0answers
44 views
Yun as bluetooth master
How does one make an outgoing bluetooth connection? I have already installed packages for bluetooth, and have run hcitool scan to find the BT address. And I'm using a USB BT dongle.
Output of lsusb
...
0
votes
0answers
87 views
Arduino Yun used as wifi hotspot
I use for a project an Arduino Yun with Node.JS+socket.io to provide interactivity between a smartphone, driving through a webpage different devices. I would like to enable this service for several ...
0
votes
1answer
72 views
How to copy files from local computer to Yun with scp?
I need to transfer files from my local machine to my Arduino Yun.
I have tried:
scp /Users/SSCirrus/Documents/index.html [email protected]:/root
scp ~/Users/SSCirrus/Documents/index.html ...
1
vote
0answers
61 views
Cannot access SD card on Yun
I have a brand new 8GB micro SD card freshly formatted as FAT in my Yun.
When I run df -h, I don't see the card's capacity included.
When I enter cd /mnt/sda1, it says can't cd to /mnt/sda1.
When I ...
0
votes
0answers
33 views
Arduino Yun and SoftwareSerial Problem
I am trying to connect an nrf24L01 module to the arduino yun and it prints are gibberish.
this is my code:
#include <SoftwareSerial.h>
SoftwareSerial mySerial(8, 3); // RX, TX
void setup()
{
...
0
votes
0answers
48 views
How do I install a library in Arduino Yun cross compile environment?
A few days ago, I've asked this question.
Thanks to the replies I've received, I've set up a cross compile environment for Yun by following this guide.
I've created a virtual machine with virtualbox ...
0
votes
0answers
193 views
Got Trouble with ESP8266 and Arduino Yun using REST control
Sorry about my English.
I'm a new bie in program Arduino and interested in ESP8266. I'm trying to use ESP8266 control Arduino Yun using REST API.
Like you know, we using web browser as
...
0
votes
1answer
39 views
Arduino YUN real time control
I have a very specific problem, exactly with real time control. For example I try to write an application where I can edit min or max temperature that after reaching it , I will receive SMS with ...
0
votes
1answer
47 views
How to get string parts from string? [duplicate]
I have this method:
void getWeatherData() {
String resp = "";
Process p;
p.begin("python2.7");
p.addParameter("/root/weather.py");
p.run();
while (p.available() > 0) {
...
0
votes
0answers
39 views
Yun - FileSystem.Open prevents client.println from outputting to web page
The below code is meant to display lines stored in a text file to an arduino based web page (it's a IR gate monitoring solution).
When I visit
I can execute client.println("hello") and I see the ...
1
vote
1answer
49 views
Sending values to an Arduino Yun across different networks
I have quite a lot of experience with Arduino but have recently been faced with a challenge that has stumped me. The project is to create a robot that can be controlled from a separate network than it ...
0
votes
0answers
61 views
Arduino Yun not showing up in Windows or Linux [software issue?]
I've got my Arduino Yun (less than a year old) connected to my computer via a USB cable. The device seems to be on (that is, the lights are all on). However, the Arduino is not showing up in either ...
0
votes
0answers
68 views
how to turn yun to ad hoc mode?
Can I turn Yun to ad hoc mode?
How to?
As the image above I can see the Ad-Hoc model in that drop down list. But only WEP for its security.
0
votes
0answers
12 views
yun manage bridge manually
in "Disabling the Bridge Script" of http://cylonjs.com/documentation/platforms/yun/
I did:
Edit the /etc/inittab file to comment out the ttyATH0 line (put a # before it)
...
0
votes
1answer
38 views
output of yun is not 3.3
After execute the program of below, the 13 pin output is 4.8v. Why it's not 3.3v?
void setup() {
// put your setup code here, to run once:
pinMode(13, OUTPUT);
}
void loop() {
// put your main ...
0
votes
0answers
114 views
How to use console.log message from nodejs server, to control led pin 13?
I want to use Arduino Yun as a client, that connects to my nodejs server, receives a message from nodejs and then change led pin 13 on/off according to the message send.
I have this example of a ...
0
votes
1answer
111 views
Find external router IP from Arduino Yun inside router network
I want two Arduino Yuns in different private networks to communicate, i.e., behind two distinct routers of which at least one does not have dynamic DNS, so its external IP may change from time to ...
0
votes
0answers
47 views
have to reload Sketch every time I start Yun
I am new to Arduino and IoT. Got my hands on Yun and loaded a simple Sketch to subscribe to a topic. I am receiving messages (have setup a PHP script and broker on server which takes care of the ...
0
votes
0answers
20 views
Bridge */arduino/analog/2 returns a blank page
Had some start up difficulties. But updated the YUN and IDE to the latest version.
Using * "/arduino/digital/13/1" works as supposed (turns on the LED) - it's just a bit slow. But I can't see why ...
0
votes
0answers
72 views
Yun - replaced uhttpd with lighttpd - luci works but not /data access..?
Ok, utthpd is running on port 80 and lighttpd on port 81...both give access to the luci control panel...all well and good.
However the /data access to the yun data store only works from uhttpd.
...
1
vote
0answers
106 views
How to do Serial monitor with Arduino Yun?
I'm trying to read some values from a TCS3200 colorsensor using Arduino Yun. I have some code, which you can see below, that I used when I tested on the Uno.
With the Uno everything worked fine and I ...
0
votes
1answer
298 views
Arduino YUN server crashes after few hours!
I have made a simple server using the YUN SERVER and CLIENT Libraries./
The server runs on a loop and waits for a client to connect. After connection it sends the client a simple message and then ...
0
votes
2answers
692 views
How to make an arduino wifi repeater?
I am trying to make a wifi repeater. My router's signals don't come to my study and instead of buying a proper wifi repeater I prefer making one.
I want to learn how to make a simple wifi repeater ...
0
votes
1answer
287 views
Arduino Yun USB host - reading usb MIDI data and passing forward to another device
I am starting simple, but for some reason I cannot find any examples online and I stuck with my task.
I have a usb midi keyboard, Arduino Yun, and a synthesiser that can accept midi via usb. The ...
0
votes
1answer
73 views
Which thermometer for home brewing
Hello,
I have an Arduino Yun and I brew beer.
I would like to log the temperature of the beer at all time during the fermentation process (final stage). This means the thermometer would have to ...
0
votes
1answer
193 views
External access to YUN - request not recognised as HTML
I am trying to access my YUN externally.
My router recognises traffic on Port XXXXX and forwards it to my Arduino Yun.
I have the below code working internally and now trying to adapt this to work ...
1
vote
1answer
203 views
Communication between python script and Arduino sketch
I'm trying to transfer data beetween the two scripts. I'm already using the YunMesseger library (https://github.com/plotly/YunMessenger). But it only make the
Arduino -> Python
communication.
I ...
2
votes
1answer
112 views
How can I obtain the .hex of a file
I have an Arduino Yún running Openwrt-Yún 1.5.3 (which is the latest version, as I upgraded yesterday), and I am trying to obtain a .hex (compiled sketch), so that I can upload a sketch directly into ...
0
votes
2answers
268 views
Arduino Yun - Problem with bridge and client
I'm using this simple code
#include <Bridge.h>
#include <YunServer.h>
#include <YunClient.h>
YunServer server;
void setup() {
Serial.begin(9600);
Bridge.begin();
...
1
vote
0answers
39 views
Issue with removing files progrmatically created under “/www/…”
I am having an issue with removing temporarily files I am creating under the /www directory. I have a subdir, "/www/csv", where csv formatted files are being written based on sensor data. The files ...
0
votes
1answer
215 views
Pulse measurement
I am currently doing the project in pulse measurement using arduino yun. I am using pulse sensor is SEN-11574 .
When I verify the code I get this error:
Arduino: 1.5.8 (Linux), Board: "Arduino Yún"
...
0
votes
0answers
473 views
How do I read from an SD card on the Yun?
I'm trying to read a small file off the SD card installed in a Yun. Here's the sketch:
#include <FastLED.h>
#include <FileIO.h>
#define WIDTH 32
#define HEIGHT 1
#define NUM_LEDS (WIDTH ...