January 11, 2012
about 2 years ago
So…it turns out there really is no problem with these two playing well together if you realize:
1) The XBee socket is accessed via Serial1, not Serial. I had tested this proposition earlier, but was fooled by the second issue. Also, it’s not documented anywhere I can find above in the product description - something I’ve suggested Sparkfun may want to consider. Based upon reviewing these comments as well as the ones in the forum, lots of folks have stumbled on this issue when trying to talk to Xbee socket devices of various flavors.
2) When putting the WiFly RN-XV into command mode, provide sufficient time for the commands to execute and respond. Once I allowed 1 second to elapse after each sent command before reading any output from the WiFly device, I was in great shape.
I hope this feedback helps someone else facing the same apparent dilemma.
On a final note, Sparkfun Tech Support was very helpful in working through the issue with me via email. My thanks in particular to Michelle who even took time to mock up what I was attempting and came to the same conclusion, coincidentally at just about the same time.
Trying to simply get a WiFly to work with this Fio (V3). It would seem simple serial communications should not be that difficult. I’m evidently making this too hard or missing something fundamental. Here’s my simple sketch just to get it to join my network. Any feedback on what I’m doing wrong?
Serial.println(“set wlan ssid thisismywlan”);
Serial.println(“set wlan pass thisismypassword”);
about 2 years ago
Late breaking news, when I powered the FIO via a LiPo battery, the WiFly worked just fine. So…in a way this is good news…I think.
I’m having the same problem (see next note). If you have any success, PLEASE share it. What’s frustrating is that this module worked in the same FIO last Spring. I’m now wondering if the newer firmware (2.38.3) is the problem.
I’ve had one of these for about a year. Recently updated the firmware. My frustration is that I no longer can get it to work with a FIO (blue). It works fine via a FTDI-USB cable - it attaches to my WiFi network and works as expected. However, as soon as I plug it into a FIO (even one with basically a null program) it will no longer attach to the WiFi network. The two “played together” very well 9 months ago. Any thoughts would be greatly appreciated.
(update 20130218) I just ordered a new FIO (red), a new radio, and a XBee breakout board to get to the bottom of this. Don’t feel I should have to make this further investment, but I need to figure out how to move forward!
No public wish lists :(
Forgot your password?
No account? Register one!