Show Posts
Pages: [1] 2 3 ... 15
1  Products / Arduino Yún / SD file.available() not working on: July 28, 2014, 09:18:31 am
Hi, does anyone can use the SD bridge function file.available()?
If I try to run the  datalogger example (http://arduino.cc/en/Tutorial/YunDatalogger) adding a check for the SD to be written or not:

Code:

....
  // The FileSystem card is mounted at the following "/mnt/FileSystema1"
  File dataFile = FileSystem.open("/mnt/sd/datalog.txt", FILE_APPEND);

  if(dataFile.available()>0)
    Serial.println("file already written");

  // if the file is available, write to it:
  if (dataFile) {
    dataFile.println(dataString);
    dataFile.close();
...

The program always stop on file available. looking at FileIO.cpp does not help so much.
Any suggestion?
Thanks in advance
2  Development / Suggestions for the Arduino Project / bug in YUN documentation Bridge library on: July 23, 2014, 08:41:33 am
From http://arduino.cc/en/Reference/YunBridgeLibrary go to any member of the "YunClient Class" you will see that it derives from "Bridge : HttpClient Class ". This is wrong and of course should be "Bridge : YunClient Class ".
3  Products / Arduino Yún / Re: yun selected ip interface on: July 23, 2014, 02:19:14 am
thanks
4  Products / Arduino Yún / Re: Yun "create interface" on: July 22, 2014, 09:11:09 am
do you mean that I can only use the yun as a server if it is wifi and not if it is connected using ethernet? looking at the "create interface" page the available interfaces are:
   [Ethernet Adapter: "eth0"] Ethernet Adapter: "eth0"
  [Ethernet Adapter: "eth1"] Ethernet Adapter: "eth1" (wan)
  [Wireless Network: Master "Arduino Yun-90A2DAF02784"] Wireless Network: Master "Arduino Yun-90A2DAF02784" (lan)
  [Custom Interface] Custom Interface

so I think eth0 concern the wired one but I don't know what is that for...
5  Products / Arduino Yún / Re: yun selected ip interface on: July 22, 2014, 08:47:48 am
If I have to contact the yun ok but if it's the yun that send packet to the internet which interface would it use?
6  Products / Arduino Yún / yun selected ip interface on: July 22, 2014, 08:09:33 am
Hi, if I have both interaces (wifi and ethernet) configured to be client or server what is used to route my packet? The client constructor does not specify if I want to create a client that use the wifi or the ethernt.


Thanks in advance
7  Products / Arduino Yún / Yun "create interface" on: July 22, 2014, 06:53:41 am
Hi does anyone know where can I found information about the create interface screen on the yun web setup? What kind of interface can I add? And what is "eth0"?
Thanks in advance
8  Using Arduino / Project Guidance / Re: Arduino + Xbee-Pro 868 temperature system on: July 21, 2014, 03:16:14 am
I am using two xbee pro 868 with arduino without problems. Using these shield:
http://arduino.cc/en/Main/ArduinoWirelessShield
http://shieldlist.org/libelium/xbee

I have never encountered electrical problems. I use API and AT mode and I can confirm you that the same library written for Xbee series 2 ZigBee works perfectly with the pro 868 xBee.
9  Using Arduino / Project Guidance / Re: arduino wifi shield and ip lease on: February 17, 2014, 03:44:38 am
Looking at the wifi shield behaviour I think the IP lease is managed directly by the firmware and that it is not necessary to care about as we need to do in the ethernet library.
10  Community / Bar Sport / Re: Anyone using Arduino official wifi shield? A lot of questions and no answers. on: December 18, 2013, 03:04:56 am
may be one solution is to periodically call the wifi.begin but I don't thing this is the best way to solve the lease problem
11  Using Arduino / Project Guidance / arduino wifi shield and ip lease on: December 17, 2013, 04:34:43 am
hello. Looking at the arduino official wifi shield library I can't see anything like an equivalent of the ethernet.mantain() function for reneving the ip addres once the lease has expired. This is not dicrectly handled by the shield, if I change ip from my router and I do not execute once again the wifi.begin() it stays with the old ip number. I do not want to call the wifi.begin() every time I need to send packets on the net because this solution is too much stupid. Do you have any suggestion to solve this problem in a more optimized way?
thanks in advance for any suggestion.
12  Using Arduino / Programming Questions / Re: WiFi shield - ConnectNoEncryption Example on: December 17, 2013, 04:26:47 am
The same is true for me. The sticker on the board has nothing to share with the real MAC address
13  Community / Bar Sport / Re: Anyone using Arduino official wifi shield? A lot of questions and no answers. on: December 17, 2013, 04:25:26 am
have you discovered anything interesting about IP lease?
thanks in advance.
14  Using Arduino / Project Guidance / Re: IDE: Set many sketchbook path on: December 10, 2013, 10:49:00 am
If you're outgrowing it, you could use one of the other development environments to build your Arduino projects.

You're right. I will try with visual studio that is my favourite IDE
15  Using Arduino / Project Guidance / IDE: Set many sketchbook path on: December 10, 2013, 05:04:27 am
Hello. Do anyone knows if  it is possible (and how) to  add many sketchbook path editing the preferencies.txt?
I want to do this because I need to keep separate some libraries (I use A LOT of libraries), do you know others way? (now I have only two libraries folders, one is the one created with the ide and one is in the user document folder). I am really disappointed that it is not possible to create subfolder to separate library
 example
library/sensor/libSens1
library/sensor/libSens2
library/actuator/libAct1
library/actuator/libAct2
...

Thanks in advance for your help.
Pages: [1] 2 3 ... 15