Show Posts
Pages: [1] 2 3 ... 92
1  Products / Arduino Yún / Re: Communication between Yun and UNO seeking advice on: Today at 04:14:39 am
You can plug the UNO to the yun just as you do with your computer.
On the yun, you need to
Code:
opkg update
opkg install kmod-usb-acm

Be aware: you'll run two boards with the same USB cable (the one from your pc to the yun). Hence, you'll likely run into power issues. Best is to plug a externally powered usb HUB to the yun and plug the UNO to the HUB
2  Products / Arduino Yún / Re: uploading sketches over the internet on: Today at 03:59:41 am
It's as if there is some kind of broadcast packet needed for the IDE to recognize the Yun that isn't being passed by my WiFi access point. I would assume that this would also be a problem going over the Internet.

Indeed that's what happens: a broadcast message is sent by the yun on all the networks it's attached to. It's called zeroconf although the name Bonjour (the Apple implementation) is more known

In fact, I don't understand why arduino yun has the functionality of uploading sketches over wifi and it hasn't got the functionality of uploading over the internet. At the end of the day it is only to search for the ip address and stablish a connection as a private network.

If you can manage to access yun's webpanel from outside, and if you're running the latest version of openwrt-yun, you can upload a precompiled sketch via web.
Locate and save the compiled .hex file, go the yun's webpanel, scroll down until you find the upload button, select the .hex file and upload it.
If you wish to do that via IDE, please consider contributing to the Arduino IDE project
3  Products / Arduino Yún / Re: Not enough space for yun-gcc on: September 30, 2014, 10:44:52 am
It still would be nice to have a FAQ on going-from-zero-to-yun-gcc that covers these kinds of details that are obscure for those of us who want to use the Yun but are overwhelmed with other embedded projects.

Do you mind writing this very FAQ? We have provided a playground page just for this kind of needs: see http://playground.arduino.cc/Hardware/Yun
4  Products / Arduino Yún / Re: Not enough space for yun-gcc on: September 30, 2014, 10:42:57 am
yun-gcc is just the toolchain (compiler, linker...)
As of now, you must provide the header files you need.
Help in improving this is more than welcome
5  Products / Arduino Yún / Re: Suggestion to improve uboot config on: September 30, 2014, 10:40:53 am
It looks like it does not support it. See https://github.com/arduino/openwrt-yun/issues/23
6  Products / Arduino Yún / Re: Not enough space for yun-gcc on: September 30, 2014, 08:32:36 am
Please follow this tutorial http://arduino.cc/en/Tutorial/ExpandingYunDiskSpace

It will make the yun believing your SD card is its new flash storage, going from about 7 free megs to the gigas of your SD card

Then reinstall yun-gcc
7  Products / Arduino Yún / Re: Guidelines to write python code for arduino yun on: September 30, 2014, 07:47:58 am
Nothing more than a good book and lots of practice (and related mistakes)
I'm not python expert, but I have this in my "to-read" bookshelf http://learnpythonthehardway.org/book/
8  Products / Arduino Yún / Re: getUserMedia and Recorder.js for save blob WAV in SD with PHP on: September 30, 2014, 07:44:03 am
Since the PHP code is from https://github.com/lempere/Recorderjs, you should better ask its author
9  Products / Arduino Yún / Re: Arduino Yun with Arduino GSM on: September 30, 2014, 07:42:03 am
Please consult this guide: it refers to the Arduino Leonardo but since yun and leonardo share the same microcontroller, the guide applies to the yun as well
http://arduino.cc/en/Guide/GSMShieldLeonardoMega
10  Products / Arduino Yún / Re: Arduino Yun Webserver on: September 30, 2014, 07:40:40 am
ma7730 have you double checked the url? You pasted ma7730.local/sd/temperatureWebPanel while correct url is ma7730.local/sd/TemperatureWebPanel (the "t" in temperature is upper case)

How do you install it into the correct place?

You don't need to install it. If these three conditions are met
 - your sketch has a "www" folder
 - your yun has an SD card properly set up
 - you upload via wifi
the Arduino IDE will upload the contents of that "www" folder to the yun and make them available at url http://arduino.local/sd/NAME_OF_YOUR_SKETCH_HERE/
11  Products / Arduino Yún / Re: Guidelines to write python code for arduino yun on: September 29, 2014, 10:37:33 am
I didn't see the nested try. Well, yun or not, nested "try"s should be avoided for sake of readability (me missing them is a proof, FWIW)
In the yun case, I'd let the error crash the script during development (some one call this approach "crash early"), and only after thorough testing I'd add the needed "try"s
12  Products / Arduino Yún / Re: Guidelines to write python code for arduino yun on: September 29, 2014, 07:56:07 am
"host unreachable" means the yun cannot access the target host. reasons may be a yun not configured to access internet (try with httpclient example to verify internet connectivity) or a wrong hostname
13  Products / Arduino Yún / Re: PHP and Curl on: September 29, 2014, 07:53:25 am
Can you give a spin to this? http://unitstep.net/blog/2009/05/05/using-curl-in-php-to-access-https-ssltls-protected-sites/
14  Products / Arduino Yún / Re: Distributed communications ideas? on: September 29, 2014, 05:59:49 am
Thanks for the confirmation and information! My original concept was to use several Arduinos with XBees talking to a master node that is a Raspberry Pi or similar class machine. I was not looking forward to developing a communications protocol for it (been there, done that, takes too much time and code space.) Then I found the Yun and it seemed like the communications answer.


Yes indeed smiley

I will put a more capable master node into the plan. Is it still reasonable to use one of the Yuns as the access point for the other Yuns and route the collected data to the wired Ethernet? In that case, the master node would be on the wired network. It seems that most of the RPi and similar class boards have no native WiFi, and I'm not thrilled with the idea of trying to add it via USB.

Yes. Yun CPU and linux distribution was born in the network router world, so forwarding network data comes natural.

What do you think of the idea of using http:/ /arduino.local/data/get to fetch the current data state? Or would I be better off trying to write a collectd custom writer module to extract the data from the collectd stream? Seems like a toss-up for the development effort, but the latter would lessen the load on the Yuns and the network.

It's definitely good for a first implementation. It greatly depends on the rate of requests. Start with that and monitor it. Switch to something else once you have measured the improvement this "else" brings.
15  Products / Arduino Yún / Re: Package Install Failing on: September 29, 2014, 04:06:41 am
Tried installing it:
 - checksum is right
 - package tries to install files already provided by another package: opened an issue

I used command

Code:
opkg --force-overwrite -t /root install yun-gcc

This way .ipk is downloaded under /root (which is on the SD card) rather than /tmp (which is on RAM).
Package is big, patience is a requirement (took about 20 mins to install on my yun)
Pages: [1] 2 3 ... 92