Show Posts
Pages: [1] 2 3 ... 8
1  Products / Arduino Yún / reading configurations via Bridge on: July 29, 2014, 03:52:48 pm
I'm wondering what is the simplest way to read some configurations (any format is ok, csv, json, whatever) from the linux machine via the bridge library

right now I'm reading a file and parsing it manually (csv) but i'm using String class and it is expensive and I think there is for sure some easiest way
2  Products / Arduino Yún / Re: Console Versus Serial1 on: July 29, 2014, 04:03:06 am
I'm not really a guru of those serial things and I've not fully understood what you're trying to do but here it is what I have done in some experiments:
- read Serial via Arduino IDE Serial monitor
- read Serial1 via /dev/ttyATH0 though nodes/python inside the onboard linux machine (be sure that you have disabled the Bridge library commenting out the line in /etc/inittab)
- read Console via "telnet localhost 6571" from the onboard linux machine (after the ssh access)
- I have no previous experience with SoftwareSerial in the yun

Hope it helps!
3  Products / Arduino Yún / Re: Python script to monitor Yun wifi connection on: July 28, 2014, 04:47:56 am
thank you for sharing the python script
4  Products / Arduino Yún / Re: Wifi connection lost, do I have some logs? on: July 28, 2014, 04:11:07 am
sonnyyu: why do you think that the wifi low signal makes the system crash?
5  Products / Arduino Yún / Re: Wifi connection lost, do I have some logs? on: July 25, 2014, 06:33:40 am
do you have sd card bootable?
6  Products / Arduino Yún / Re: Wifi connection lost, do I have some logs? on: July 25, 2014, 04:33:38 am
Also with the new workaround script (do not reset configuration) after some days the yun lost the connection and the white led in the board is off.

I have tried to move the router and now
if I go in the router control panel the mac address of the yun has
Signal           Noise   RX Rate                                           TX Rate
-88 dBm   0 dBm   28.9 Mbit/s, MCS 3, 20MHz   21.7 Mbit/s, MCS 2, 20MHz

if I go in the yun luci (advanced panel) I can see the ip of the router with those values:
-71 dBm   -88 dBm   13.0 Mbit/s, MCS 1, 20MHz   28.9 Mbit/s, MCS 3, 20MHz

The router is ~7-8 meter. Honestly I don't think it is really a problem of wifi strength. Am I wrong?

It has to say that I'm using yun openwrt sys upgrade 1.2 (I have installed a bunch of things and if it is possible I won't format everything) and bootable sd card.
Can it be a problem?

In the previous post I realised that I have done a useless log, In my log I have only "wifi down, rebooting."
What kind of more useful information can I log down?
7  Products / Arduino Yún / Re: Python script to monitor Yun wifi connection on: July 25, 2014, 04:04:34 am
I am experiencing wifi stability too.

Did you uncommented the `wifi-live-or-reset` in the rc.local? To me it seems that this script is an alternative to it.

I would add some more things like wifi strength signal..
wh don't put it on github?
8  Products / Arduino Yún / zero conf protocol and node modules compiling on: July 24, 2014, 05:18:13 am
I want to play a bit with bonjour protocol that is in the yun.
I've never heard before "zero conf" neither "Avahi".
Some info on how it is configured in the yun?

But I've successfully tried on my local computer.
It is a nodejs module that requires compiling c++ code.
Has anyone already compiled it for the yun?
I haven't set up a toolchain for openwrt and yun processor yet..
9  Products / Arduino Yún / Re: Yun in wireless mesh network on: July 23, 2014, 05:40:35 pm
I honestly thing that the arduino yun is really a big step into the iot, ioe, or whatever we can call the near future.
thanks for sharing!
10  Products / Arduino Yún / Re: HTML5 bidirection websocket (node ws) sketch to try. on: July 23, 2014, 07:22:49 am
I've just read this topic..

so, I have a question: what about replacing the linux bridge part with a direct connection with node serial module and read directly from the serial instead of deadline? will it make it faster?
11  Products / Arduino Yún / Re: Solutions for avoiding time-consuming Bridge.put and Bridge.get calls? on: July 23, 2014, 05:51:36 am
how are you creating the web page?

i mean: a solution for that will be replace the bridge. bridge is very nice and very handy but a little bit slow, as you noticed.
you can do this:
write on the linux side a simple web server that in one side handle the incoming http request and in the other side read and write the serial. on the arduino side you just read and write on the serial as if you were with an arduino uno and have to communicate with your computer..

this involve commenting out the ttyATH0::askfirst:/bin/ash --login in /etc/inittab.. there are few blog post about it in the net
12  Products / Arduino Yún / Re: How to reduce non-Bridge data trafic on the inter-processors serial line ... ? on: July 23, 2014, 05:47:15 am
i think that yes upgrading will solve the kernel panic issue for sure your because it will delete everything in your yun
13  Products / Arduino Yún / Re: Communication between 2 Arduino Yunv over WiFi on: July 17, 2014, 04:03:54 am
IHMO I think that the only problem is to understand the yun ip.
after that you can do it in the way you are more comfortable: raw socket, http, udp, osc, what you want. in which language do you want: c++ on arduino side, python, js with nodejs.. whatever
14  Products / Arduino Yún / Re: Wifi connection lost, do I have some logs? on: July 17, 2014, 03:53:58 am
ok there is something very strange happening..

The yun is up, I can ping it and ssh into it, because I remember its ip

In the configuration page of my router (an old to-link with openwrt on it) I can not see the ip address:

(I know that is that machine because I know the mac address and I can ping and ssh because I know the ip it had yesterday via dhcp)

So.. what can it be?
15  Products / Arduino Yún / Re: Yun NodeJS simple web server bug? on: July 16, 2014, 07:34:21 am
is it a windows problem?
Pages: [1] 2 3 ... 8