Show Posts
Pages: [1] 2 3 ... 8
1  Products / Arduino Yún / Re: How to invoke cd command from Process.runShellCommand() : Please advise - Thanks on: July 27, 2014, 09:58:17 am
If 'cd' is a built-in process, it does change the current working directory, but as soon as the sub-process finiishes (after 'cd' has completed in your example) you are back where the parent process was. Write  small shell script instead and do everything you have to do after cd-ing to the wanted directory. Run the script.

kind regards,

Jos
2  Products / Arduino Yún / Re: Python script to monitor Yun wifi connection on: July 26, 2014, 04:59:24 am
I will try with an extra access point to see what that does.

Maybe a bit cheap solution: I mounted a pair of larger antennas on my wireless router (just +- 1o euros); they give me +- 8dB more signal strength.

kind regards,

Jos
3  Products / Arduino Yún / Re: [Please help] [Not working]Connecting the Arduino Yun to WIFI on: July 24, 2014, 12:05:37 am
Have you tried to connect to your Yun through its mentioned IP address? (192.168.1.122)

kind regards,

Jos
4  Products / Arduino Yún / Re: Console.print(ln): when does this return? on: July 23, 2014, 12:59:50 pm
Normally, ahem, those suspicous opertations are easy to pinpoint, i.e.

unsigned long start= micros(); // or even millis()
// suspcious operation here ...
unsigned long end= micros();

if end-start is 'too long to be true' narrow down the suspicious operation until you have found the nasty rascal.

kind regards,

Jos
5  Products / Arduino Yún / Re: Console.print(ln): when does this return? on: July 23, 2014, 11:56:31 am
I'm not using the bridge stuff (I dumped it) but after reading the (python) source code, all it does is read and write from/to /dev/ttyATH0 and send/receive stuff to/from a client socket. The python 'middle man' set up a server socket on port 6571 for the purpose. If your WiFi connection is bad, it can take quite some time for a read/write to complete ... sorry, I can't be of more help here.

kind regards,

Jos
6  Products / Arduino Yún / Re: Console.print(ln): when does this return? on: July 23, 2014, 08:23:34 am
I must've misundersttood: if you print to the Serial stream, you're effectively printing to the USB bus; if nothing is connected at'the other end', such as a serial monitorr from  your ide, then the buffer fills up etc.

kind regards,

Jos
7  Products / Arduino Yún / Re: Console.print(ln): when does this return? on: July 23, 2014, 05:13:51 am
My experience is, that if nothing is connected to that USB, the write buffer fills up and a next write call blocks forever (what else could it do?)

kind regards,

Jos
8  Products / Arduino Yún / Re: Qualcomm, Oracle, Imagination team up to optimize Java, OpenWRT. on: July 21, 2014, 11:58:52 pm
Souns good because the only alternative now is jamvm; although its a fine 1.5 JVM (which is officially long dead), it has to run with 'classpath', the GNU version of the core classes and they are only up to version 1.4 and has lots of bugs. The only plus side is that it runs 'BeanShell'; it makes the entire Yun much more accessible through Java. I can hardly wait until an 'official' Oracle Java implementation for the MIPS processor sees the light ;-) Thanks for the information.

kind regards,

Jos
9  Products / Arduino Yún / Re: unexpected indent in python script udp receiver on: July 17, 2014, 03:16:45 am
Python is like that: it is extremely picky on indentation of your code; line #24 clearly shows the extra indentation; perhaps it's a combination of tabs and spaces? You won't see it in your edItor but Python does ;-)

kind regards,

Jos
10  Products / Arduino Yún / Re: Arduino Yun + GSM Shield, HOW TO? on: June 29, 2014, 09:12:06 am
Your shield has the same SIM900 chip as I have; I can't power it from an Arduino (it takes up to 2.5A at 5V when it is transmitting or receiving); can't you power it externally? b.t.w. a SoftSerial interface should work fine for RX/TX.

kind regards,

Jos
11  Products / Arduino Yún / Re: Arduino Yun + GSM Shield, HOW TO? on: June 29, 2014, 07:02:23 am
I own a SIM900 chip and I simply hook it up to the usb host port on the Linux side (through usb/serial converter); I can write my AT commands to /dev/ttyUSB0 ...

kind regards,

Jos
12  Products / Arduino Yún / Re: Please upgrade your Yún on: June 20, 2014, 07:01:36 am
Frederico, do you know the new serial number of the Yun's with the upgrade in them already?  Is it possible I have one, or do I need to upgrade, just got it a couple weeks ago.

Dean

If it is present in the new release, check the reease date in file /etc/arduino/linino-arduino-release.

kind regards,

Jos
13  Products / Arduino Yún / Re: Arduino Yun and WiFi - need help getting started on: June 12, 2014, 04:44:51 am
The Yun doesn't have that many layers; it's MS Windows 8 that is to blame; it doesn't allow your laptop to connect over an open WiFi network, but it allows a connection over the wire (which makes that entire 'protection mechanism' (mind the quotes) futile). Check if you can reach Yun's webpage with your browser: http://192.168.x.x; I bet you can.

kind regards,

Jos
14  Products / Arduino Yún / Re: Arduino Yun and WiFi - need help getting started on: June 10, 2014, 01:33:09 pm
...
If you have access an other laptop, should give it try.
...
find out which one is trouble maker, Windows or Yun.

Assuming it's a fresh Yun (or with a properly reset WiFi), my guess is MS Windows 8 is the trouble maker; if it's true that it doesn't want to connect to an open network, I find it preposterous.

kind regards,

Jos
15  Products / Arduino Yún / Re: Arduino Yun and WiFi - need help getting started on: June 09, 2014, 10:04:19 am
Jos, when I hover over the bars/shield  I don't get anything other than "Security: Unsecured" and "Type 802.11n"  I presume that a Yun at level 802.11n is compatible with my MiFi/laptop at 802.11g?  

That's no problem; your laptop even noticed that Yun's network is 'open', i.e. no WPA or WEP key are necessary. Can you right click on that network and see all it properties?

kind regards,

Jos
Pages: [1] 2 3 ... 8