Arduino Yun Datalogger Example Prints differently on version 1.61 and 1.63

Good Day,

Have someone encountered printing discrepancy using the SD datalogger example for Yun? I did change only the destination and delay. Just want to know what is the difference between the 2 versions.

On version 1.61

my sd card location is /mnt/sda1/arduino/www/Heater2/Heater2.csv

the delay is changed to 1000 from 15000

The printout looks like this, the rest of the code is unchanged:

Filesystem datalogger

04/30/15-09:33:00 = 248,175,158 04/30/15-09:33:01 = 120,104,141 04/30/15-09:33:03 = 121,104,142 04/30/15-09:33:04 = 122,105,143 04/30/15-09:33:05 = 122,105,143 04/30/15-09:33:06 = 122,105,144 04/30/15-09:33:07 = 122,105,144 04/30/15-09:33:08 = 122,106,144 04/30/15-09:33:09 = 123,105,144 04/30/15-09:33:10 = 122,104,143 04/30/15-09:33:12 = 123,106,145 04/30/15-09:33:13 = 123,106,144 04/30/15-09:33:14 = 123,106,145 04/30/15-09:33:15 = 123,106,145 04/30/15-09:33:16 = 123,106,144 04/30/15-09:33:17 = 123,106,145 04/30/15-09:33:19 = 123,105,144 04/30/15-09:33:20 = 123,105,145 04/30/15-09:33:21 = 122,105,144

On version 1.63

my sd card location is /mnt/sda1/arduino/www/Heater2/Heater2.csv

the delay is changed to 1000 from 15000. the delay is longer than 1sec after changing the delay.

The printout looks like this, the rest of the code is unchanged:

Filesystem datalogger

04/30/15-09:41:17 = 247,176,167 = 127,109,150 = 128,109,151 = 128,110,151 = 130,111,153 = 130,111,153 = 130,111,153 = 132,113,154 = 130,112,154 = 132,113,155 = 130,112,154 = 132,112,154 = 132,113,155 = 131,113,155 = 131,112,155 = 131,112,154

Thanks in advanced.

Best Regards, Leo

lpestanas: the rest of the code is unchanged:

The rest of what code? Or is this some kind of guessing game where we are supposed to imagine all the possible errors that could be in a piece of code?

Hi Sir,

This is the SD card datalogger for Yun. The code can be found on the File ==>Examples/Bridge/Datalogger. This is using the Arduino Yun Board. I changed the delay and the destination only.

Best Regards, Leo

This is a problem with the Bridge library and version 1.6.3 of the IDE. The solution is to upgrade the bridge library: http://forum.arduino.cc/index.php?topic=316640.0

Hi Sir,

I tried your solution and I encountered the following error. It can print while using uploaded stated from 1.61 but printing on Serial Terminal of 1.63 nicely. When I try to modify and compile again, It prompts a new error.

After updating the 1.63 library installed Arduino on D:/ :

collect2.exe: fatal error: CreateProcess: No such file or directory compilation terminated. Multiple libraries were found for "FileIO.h" Used: C:\Users\user\Documents\Arduino\libraries\Bridge Not used: D:\Program Files (x86)\Arduino\libraries\Bridge Error compiling.

From fresh installation, Deleted all Arduino related folders before begin fresh installation. After updating the 1.63 library installed Arduino on C:/:

collect2.exe: fatal error: CreateProcess: No such file or directory compilation terminated. Multiple libraries were found for "FileIO.h" Used: C:\Users\user\Documents\Arduino\libraries\Bridge Not used: C:\Program Files (x86)\Arduino\libraries\Bridge Error compiling.

And the other sample codes does not work, like the "Process" on the example cannot compile. I temporarily reverted to 1.61 to make the datalogger working.

Thanks and Best Regards, Leo

Hi Shapeshifter,

Now I tried the same step you give last time. But tried on 1.64 and installed the Bridge library 1.02 version. Everything is running smooth now on my Application. Thanks for the help.

Best Regards, Leo