Show Posts
Pages: 1 ... 30 31 [32] 33 34 ... 135
466  Products / Arduino Yún / What is the meaning of the return value of on: January 27, 2014, 01:41:11 pm
As to the documentation does not return anything.
However the declaration states:
unsigned int Process::run()
As I have a problem (code doesn't work anymore but so does the wifi  smiley-confuse ) and the return value is 1 I'm wondering....
What does 1 mean?
Best regards.
467  Products / Arduino Yún / Re: [SOLVED] Fail to mount cif drive on: January 27, 2014, 08:08:20 am
468  Products / Arduino Yún / Re: Connect yun mini usb with yun USB A does not work. on: January 22, 2014, 06:43:20 pm
Seems the problem was located with me.
Works great now :-)
Best regards
469  Products / Arduino Yún / Re: how to conect multiple yun? on: January 22, 2014, 12:37:20 pm
For example:
When master receive signal from the two slave(button or some thing else) then led on master turned on.
Funny: When the master turns on a led based on  a signal from the slave the master is the slave and the slave is the master.
In other words: Master is the one who gives the orders; slave is the one that executes the orders.

How to do that?

With the yun there are so many ways. Most of those ways can also be done with other Arduino's. The real yun way is using HTTP.
In other words the MASTER does a HTTP call  to the slave who turns on a led based on the HTTP call.
The biggest advantage is that you do not need any additional hardware.

Best regards
470  Products / Arduino Yún / Re: yun behaviour with wifi-live-or-reset disabled. on: January 22, 2014, 08:27:50 am
Interesting, that would help me too, because my private Wifi is disabled during sleeping times and when I turn on my Yun in this period of time, it goes to AP mode. And it will not connect to my Wifi until I turn it off and on again :-(
Have you also disabled the wifi-live-or-reset?
Best regards
471  Products / Arduino Yún / Re: Connect yun mini usb with yun USB A does not work. on: January 21, 2014, 04:19:45 pm
well I only checked dmesg after I failed to connect with the tty with minicom.
So this may not be the root cause but there sure is a problem somewhere (even if it is only in my head  smiley-eek-blue )
Best regards
472  Products / Arduino Yún / yun behaviour with wifi-live-or-reset disabled. on: January 21, 2014, 04:18:09 pm
I have a problem with the yun behaviour when the wifi network is not available.
In the thread
I asked the question
This means that if my wifi is not available for 60 seconds I get into a deadlock situation.
In other words If the wifi is unavailable for 60 seconds when my robot is rebooting my robot will never start again.
Can I configure yun not to do so?
on which Federico replied
Of course you can. Since you need to edit a file on the yun, I suggest you to connect to the yun with an SSH client or with some serial terminal software like cutecom or putty
Once you are in, edit /etc/rc.local and put a hash at the beginning of line "wifi-live-or-reset" so that it looks like

At next reboot, yun won't bother if wifi is up or down
I was really happy with that untill the first time the network was actually not available.
I noticed that my yun actually went to accespoint mode on IP
After I rebooted it behaved the same (still no network).
After I rebooted closer to the wifi ap he started and connected and worked fine.

So I reread and I noticed the phrase: "At next reboot, yun won't bother if wifi is up or down"
That is not what I want. I want yun (when not connected to wifi) to try to connect to my wifi untill it is connected.
This is how my openwrt +arduino mega works.
Can that be done?
Best regards
473  Products / Arduino Yún / [SOLVED] Connect yun mini usb with yun USB A does not work. on: January 21, 2014, 03:10:07 pm
As I have a sketch that uses the serial communication that I want to run on the yun. My original idea was to port the code so it uses the bridge.
Then I got the smart(?) idea to simply connect the usb of the leonardo with the usb of linino. This way I could continue using the serial communication via the usb ttyacm0 and have the bridge do the more advanced web stuf.
Connecting the 2 usbs did not give any sparks. but the dmesg doesn't look good:
[ 2637.840000] usb 1-1.1: new full-speed USB device number 4 using ehci-platform
[ 2637.970000] usb 1-1.1: New USB device found, idVendor=2341, idProduct=8041
[ 2637.970000] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2637.970000] usb 1-1.1: Product: Arduino Yun
[ 2637.980000] usb 1-1.1: Manufacturer: Arduino LLC
[ 2637.980000] cdc_acm 1-1.1:1.0: This device cannot do calls on its own. It is not a modem.
[ 2637.980000] cdc_acm 1-1.1:1.0: ttyACM0: USB ACM device
This device cannot do calls on its own? I guess there is some configuration error somewhere.
Any input on how I could fix this or why I should not do this is appreciated.
Best regards
474  Products / Arduino Yún / Re: Yun running for days, no longer able to telnet or web-login, sketch still workin on: January 21, 2014, 05:35:12 am
As the sendmail works fine you can safely conclude both parts of the yun are up and running and communicating. So you are probably experiencing a local network problem and not a yun problem.
I have the same problem quite regularly due to a cheap(?) wifi router. The way for me to solve it is to reboot the wifi router.
Best regards
475  Community / Website and Forum / Re: Sorry SurferTim, you are banned from using this forum! on: January 20, 2014, 04:50:02 pm
Can you provide a link to that forum so we can all join in.
Sorry, invitation only
Don't feel left out. Only some moderators are invited
Best regards
476  International / Nederlands / Re: Calibreren on: January 20, 2014, 12:05:04 pm
Als je pulsen niet wilt missen moet je met een interrupt werken. Dan heb je alle extras niet nodig.
Met vriendelijke groet
477  Products / Arduino Yún / Re: Dumpfile stop before to read completelly the file - Arduino Yun on: January 20, 2014, 09:09:49 am
My 2 cents
I have similar problems with my arduino mega connected to a yun (but sending from arduino to linino). I think the serial class has a problem (there is an issue for that as well on github) which manifests in both directions.
I think this issue has hardly been noticed until now because
1) you only have it when the serial buffers go full
2) because the arduino ide monitor resets the arduino it solves the problem when it occurred.
3) PC's are normally so fast sending to pc's will hardly cause the problem.
4) not many people send huge amount of stuff from pc to arduino
As yun is not so fast as a pc (and has a serial rate higher than most people use on pc) the problem is more likely to pop up there.
Best regards

478  Products / Arduino Yún / Re: [request] 2 of the 4 holes for attachement can not be used by spacers on: January 20, 2014, 08:54:14 am
I've been thinking about this. If the holes can not move due to backwards compatibility; it may be an option to go from round holes to elipses.
Best regards
479  Development / Other Software Development / Re: Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches on: January 19, 2014, 02:31:31 pm
V2.2 has been released officialy now.
There is plenty of new stuff.
For the non eclipse guru's amongst us: please read the install advice
Best regards
480  Development / Other Software Development / Re: Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches on: January 18, 2014, 10:12:19 am
Great :-)

Maybe it is a good idea to add a Teensy dedicated part to my website and put the files there. The website is uploaded from github That means anyone can create a pull request.
Tell me what you think.

Best regards
Pages: 1 ... 30 31 [32] 33 34 ... 135