Show Posts
Pages: [1] 2 3 ... 5
1  Products / Arduino Yún / Re: Yun reliability issues on: July 01, 2014, 04:34:49 am
Federico, there is no PC involved, Yuns are connected to the router via wire or via wifi...
2  Products / Arduino Yún / Re: Yun reliability issues on: June 30, 2014, 01:24:55 pm
Federico, that´s exactly what I mean, Yun starts transmitting to the Internet and the suddenly stops and never recovers. It happens both with a Yun connected via WiFi and another connected via Wire.

I`m going to develop a simple Temboo sketch to update a Google spreadsheet periodically to check if we can find any logic. Once working I will send you the sketch and will share the spreadsheet such that you can follow the progress.

If there is any testing you would like me to do, in order to help debugging what´s going on, just tell me.

Thanks
3  Products / Arduino Yún / Re: Yun reliability issues on: June 30, 2014, 05:17:48 am
Federico, I have tried using Wifi and Wired connection and it seems to be no significant difference in terms of behavior.

Thanks for your reply
4  Products / Arduino Yún / Re: Yun reliability issues on: June 29, 2014, 06:30:42 pm
I've update 4 Yun, all of the show a bright white USB led and the response to the cat command is:

built=Fri Jun 20 07:32:45 CEST 2014

Still all of them present random behavior when running exactly the same program (based on HTTPclient example).

After reseting all of them:

Yun1:  works OK for a relatively long period of time (> 1 hour)
Yun2: works OK for a short period of time (< 10 minutes)
Yun3: never connects
Yun4: similar to Yun2

Then I reset all of them again and everything changes but still none of them works OK.

Federico, any hints? What can I do to better identify the problem?

I have been facing internet connection problems with the Yun for several months now...

Many thanks in advance
5  Products / Arduino Yún / Re: HTTPClient Bridge Example hangs on: December 27, 2013, 02:39:26 am
Federico, so far so good, I have been able to apply the modifications you suggested and everything is working fine.

I will be out for 20 days, will resume testing when back.

Thanks
6  Products / Arduino Yún / Re: HTTPClient Bridge Example hangs on: December 23, 2013, 08:41:10 pm
federico, many thanks, I will be able to look at it next Thursday, I will let you know how it goes.
7  Products / Arduino Yún / Re: HTTPClient Bridge Example hangs on: December 21, 2013, 05:37:55 pm
Thanks Federico.
8  Products / Arduino Yún / Re: HTTPClient Bridge Example hangs on: December 21, 2013, 05:02:47 pm
Thanks Federico, so what would you recommend? Should I wait for a fix?

This is taking too long and is quite disapointing...
9  Products / Arduino Yún / Re: HTTPClient Bridge Example hangs on: December 19, 2013, 06:27:29 pm
Hi OttoF,  once again many thanks for your input.

Unfortunately the solution that worked for you wouldn't help in my case, I have to send an API ( "get" request) that is 100 characters long and the server will not understand if it is not sent all at once. I then receive 14 bytes back from the server.

Bottom line I  wouldn't say that in my case the transfer involves  "...a lot of bytes on the bridge..."  and besides I guess the Yun should work no matter what or otherwise the limit should be part of the spec.

Don't you agree?

Best and thanks again for your support
10  Products / Arduino Yún / Re: HTTPClient Bridge Example hangs on: December 18, 2013, 02:53:27 pm
Hi Federico, I wonder if you were able to reproduce the problem.

Thanks, Simon
11  Products / Arduino Yún / Re: HTTPClient Bridge Example hangs on: December 13, 2013, 03:34:48 pm
Federico, as always thank you very much for your support... and I'm very glad you are testing it, hopefully you will be able to reproduce the problem and of course fix it!

Regarding your remarks:

Quote
I'm running your sketch since 2 hours and it hasn't failed yet (I haven't kept on watching the led since then, I just see that is blinking the expected way)

No surprise to me, some times it hangs after a short period of time ( < 2 hours) and sometimes runs for more than a day

Quote
Could the problem be related to something else going on the linux side? Like some cron-driven process or something generating big log files or filling up the ram?

I have no clue, I've no experience with Linux the only thing I can tell you is that the simple sketch is the only thing I've loaded.

Have a nice weekend!
12  Products / Arduino Yún / Re: HTTPClient Bridge Example hangs on: December 11, 2013, 08:55:23 am
OttoF, thanks for sharing your insights.

 Anyway I guess the main point is why the Yun doesn't perform as it should even with a very simple case as this.

Let's wait to see what the Arduino's gurus (Federico?) have to say about

Best!
13  Products / Arduino Yún / Re: HTTPClient Bridge Example hangs on: December 11, 2013, 08:29:03 am
You are correct, the LED stops blinking (as a matter of fact stays ON leading to imagine the problem is related to the HTTP client operation.

As for the compiler optimization I have no clue...
14  Products / Arduino Yún / Re: Rest API gets slower and slower and finally webserver hangs... on: December 11, 2013, 08:08:57 am
@OttoF, many thanks for your reply.

In order to simplify things I've decided to start a new topic reporting the full issue:

http://forum.arduino.cc/index.php?topic=204077.0

looking forward to hear your thoughts...

Best!
15  Products / Arduino Yún / HTTPClient Bridge Example hangs on: December 11, 2013, 08:05:55 am
Team, I've developed a very simple HTTP client application completely based on the HTTPClient example from the IDE which runs OK for some time and then suddenly stops working. In some occasions the Yun recovers after awhile but most of the times hangs and the only way to bring it back to life is by performing a full reset (off and on again)

My WiFi is pretty stable and I have other devices connected to the same network working properly even when the Yun stops.

In order to eliminate the (highly probable) possibility of an error on my sketch I've slightly modified the original example (see code below) an got exactly the same behavior.

The modifications I made are:

- remove (comment) the Serial communication operations in order to be able to leave the Yun working by itself unattached to other computer.
- added a Led feedback in order to "see" if the Yun is or not operating.

Hope I've been clear and it should be easy to reproduce the problem.

I'd really appreciate any hints on what can be done to overcome the issue.

Many thanks in advance, Simon

Code:
/*
  Yun HTTP Client

 This example for the Arduino Yún shows how create a basic
 HTTP client that connects to the internet and downloads
 content. In this case, you'll connect to the Arduino
 website and download a version of the logo as ASCII text.

 created by Tom igoe
 May 2013

 This example code is in the public domain.

 http://arduino.cc/en/Tutorial/HttpClient

 */

#include <Bridge.h>
#include <HttpClient.h>

void setup() {
  // Bridge takes about two seconds to start up
  // it can be helpful to use the on-board LED
  // as an indicator for when it has initialized
  pinMode(13, OUTPUT);
  digitalWrite(13, LOW);
  Bridge.begin();
  digitalWrite(13, HIGH);

  //Serial.begin(9600);

  //while (!Serial); // wait for a serial connection
}

void loop() {
 
  //turn the led to show we are starting a new loop
    digitalWrite(13, HIGH);

  // Initialize the client library

  HttpClient client;

  // Make a HTTP request:
  client.get("http://arduino.cc/asciilogo.txt");

  // if there are incoming bytes available
  // from the server, read them and print them:
  while (client.available()) {
    char c = client.read();
    //Serial.print(c);
  }
  //Serial.flush();

  // turn the led Off to indicate completion
 
      digitalWrite(13, LOW);

 
  delay(5000);
}

Pages: [1] 2 3 ... 5