Show Posts
Pages: [1]
1  Products / Arduino Yún / Yun won't show up as a Port in IDE on: January 15, 2014, 09:05:47 pm
My Arduino Yun is not showing up in the Port menu of the IDE. THe MacBook is on the same Wifi router as the Yun and has previously shown up on the Port menu however I upgraded to a new laptop last week. I'm no sure how to troubleshoot this.

I am able to use a browser to connect to the Yun's and log in just fine. Any ideas?
2  Using Arduino / Networking, Protocols, and Devices / Xbee getRemoteAddress() return value not making sense on: November 18, 2013, 07:46:14 pm
Problem summary: even though each of my XBee Series1 radios is assigned a unique ATMY address, the remote address an Arduino on the receiving end gets is always the same.

On the receiving side is a Yun with a Series 1 Xbee attached via the Sparkfun shield. On the transmitter side is an XBee attached to a Uno via the Sparkfun shield. I'm using the XBee library.

I want my Arduino Yun to be able to determine which XBee radio sent a message (sent using a Tx16Request and received with a Rx16Response). The payload data is received correctly however the getRemoteAddress16() value is a constant. If I set the transmitting XBee to use a broadcast address the Yun will always see a value of 511 from the getRemoteAddress16() call. If I set the transmitting XBee to send to the Yun's radio address getRemoteAddress16() always returns 256. The XBee on the receiving end is set to ATMY00001. I've tried two different XBee radios on the transmitter side: one is ATMY0002 the other is ATMY0003.

I printed out the first 30 bytes of the received packets (in hex) and here's a sample. The first set of numbers, which I believe are the remote address doesn't change even when I swap transmitting radios.

Any idea what's going on? Everything else works fine but this one has me stumped.
3  Products / Arduino Yún / Re: Problem using XBee with Yun on: November 04, 2013, 12:06:24 pm
You are right Federico. I didn't notice I wasn't logged in and once I did I could see the image on my iPad.
4  Products / Arduino Yún / Re: Problem using XBee with Yun on: November 04, 2013, 11:06:49 am
Thanks very much Sebastian. A picture is worth a thousand words - now I clearly understand what to do. And I discovered that if I view the Forum on my iPad there is no indication at all there is a picture attached. I had to look for it using a computer to view the forum instead.

I had seen your post on the SoftwareSerial issue and will keep an eye out. I'm first going to modify the board for pins 8/9 and test it on an Uno. If that seems stable I'll move it all over to my Yun.
5  Products / Arduino Yún / Re: Program in the sketch side vs program in the linino side... on: November 04, 2013, 08:29:58 am
I have a home monitoring project I started on Uno and recently moved to Yun. I wanted to project to take advantage of Dropbox, Temboo etc and I quickly discovered that although programming everything in a sketch was convenient I rapidly hit the wall on variable storage. Several things I wanted to do required non-trivial strings and those were the main culprit. Since the strings were mainly being used to connect outside the Yun I decided to change the architecture and make fuller use of the Linux side (compared to driving everything via Bridge).

So I enabled cron to start on boot up on the Linux side and created several cron entries to run PHP scripts periodically. For things I want to trigger immediately the sketch side will use the Bridge to poke the Linux side (e.g. via a curl command or Temboo call). But for other items I run a script periodically on the Linux side which looks for data from the sketch side and processes/communicates/posts in response as needed. (BTW I hacked the Temboo SDK so I can do Temboo calls from the Linux side as well as the Arduino side).

As far as which is master, I'm not sure that's a valid or important distinction. The Arduino is still the interface to the "real world". In my architecture, for the most part, the Linux side is the interface to the "connected world".
6  Products / Arduino Yún / Re: Problem using XBee with Yun on: November 03, 2013, 03:53:48 pm
I was doing some additional forum searching and found a comment about pin limitations on the Leonardo that might apply here. On the Leonardo page it says "Not all pins on the Leonardo support change interrupts, so only the following can be used for RX: 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI)".

So this seems to say I can't use pin 2 for RX with SoftwareSerial. Is this likely the issue, and if so would I be safe in using Pin 8 for RX and pin 9 for TX? If so I'll have to hack the Sparkfun board as its switch only has the option for 0/1 or 2/3.

7  Products / Arduino Yún / Problem using XBee with Yun on: November 03, 2013, 03:37:30 pm
I recently started experimenting with XBees and since my Yun runs a sketch 24/7 I did my initial work with a Uno. I have Series 1 XBees and am connecting to the Arduinos using the Sparkfun Arduino shield. If I plug this shield onto an Uno the sketches work fine - I'm able to communicate with the XBee (send '+++', send AT commands, receive packets from other XBees etc). The sketches are all set up to communicate with the Arduino using SoftwareSerial on pins 2 & 3.

However if I take this shield and plug it into the Yun it fails to communicate with the XBee. Sending a '+++' results in no response. I've tried all my usual debugging tricks and can't yet figure out why it isn't working. It seems to be a basic failure to communicate over pins 2 & 3 (but it works fine on the Uno...).

I'm hoping someone can give me some pointers to help me track this down. I feel I'm missing something obvious but I'm not sure what it is. When I am doing these tests on the Yun there are no other connections to the Arduinos.
8  Using Arduino / Project Guidance / Outdoor & Indoor remote weather/temp system on: October 13, 2013, 04:13:55 pm
I'm interested in building a sort of weather station. The processing power would come from an Arduino Yun (sensor input as well as logging data to the Cloud). I'd want to have one outdoor sensor for temp and humidity that would connect to the Yun wirelessly and, if possible, be solar powered. A rain sensor would be a bonus  smiley-cool In addition to the wireless outdoor sensor I'd like to be able to have a couple of indoor temp and humidity sensors (battery or AC powered).

Has anyone built a wireless outdoor sensor like this and if so what did you use? Is it able to function in temperature extremes (at least 0F to 120F)? Areas of investigation for me include the power source, weatherproof enclosure (if needed, but sensors need exposure to the air, right...), sensors, and of course the wireless technology to communicate with the Arduino Yun. In terms of range, the outdoor sensor would be less than 100' away (but outdoors while the Arduino is inside a brick house). I could probably keep the distance to the outdoor sensor <50'.

I figure if I can build a outdoor sensor to do what I want I'll have enough to figure out the indoor sensors.

Any advice would be appreciated. I have tried to search the forum and the internet in general without coming across a project like this. My apologies if I missed an obvious answer.
9  Products / Arduino Yún / Running Temboo from the Linux/Linino/OpenWRT processor on: October 12, 2013, 01:52:29 pm
I got Temboo working from a sketch quite quickly and it is pretty awesome. But I noticed I was running low on space for variables and also thought it was a shame to have the Linux CPU sitting idle so much of the time. So I thought "why not run Temboo on the Linux side" but then found out it wasn't supported. Thanks to some helpful folks at Tembo I got it working and Linux on the Yun is happily tweeting away. If you're interested in the steps I took please look at this blog post It's not a complete step-by-step guide but I think it will give you a clear idea what I needed to do. Have fun and share what you do with this!
10  Products / Arduino Yún / Re: Yún and SSL on: October 12, 2013, 11:53:57 am
Found my solution in this thread, I can now run Temboo choreos from Linux on the Yun!
11  Using Arduino / Networking, Protocols, and Devices / Re: Problem with bridge sketch tempWebpanel (client & REST connection issue) on: October 05, 2013, 10:00:09 am
I don't have a clear understanding of the problem you're having. But this sketch did not work for me at first either. I got a not found error. For this, the solution was to reboot after creating the arduino/www directory. Without the reboot it seems the Linux side did not recognize that change.
12  Topics / Home Automation and Networked Objects / Sending push notifications from an Arduino on: May 24, 2011, 10:42:38 am
I recently created a project with Sparkfun's Wifly shield that sends push notifications to my iPhone when certain conditions are detected. I decided to go with this approach since I had the infrastructure in place and the code to make this work on the Arduino is dead simple. I created a blog post that details what I did here

It involves running a PHP script on a server and the use of the Prowl app on my iPhone. The details of the post are specific to my setup but the components and outline are similar even if you are using different platforms. I thought it might be useful as I see folks regularly post about the use of email and SMS for notifications and this is a viable alternative in some cases. From an Arduino standpoint it doesn't really matter what Ethernet or WiFi shield you use.
Pages: [1]