Pages: [1]   Go Down
Author Topic: A question about XBEE  (Read 656 times)
0 Members and 1 Guest are viewing this topic.
Letchworth Garden City
Offline Offline
Newbie
*
Karma: 0
Posts: 43
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Dear forum,
I have recently made a sketch that uses an arduino uno with an ethernet shield attached to a router to interact wirelessly with my iPad/iphone using TouchOSC. It allows control of various microscope functions.

I hoped I could dispense with the ethernet shield and router by using a wireless shield and XBEE. Having spent a bit of time trawling through the internet, I now wonder if this will work.

Can someone tell me whether an XBEE and wireless shield can be configured as a wireless ethernet device that could communicate directly with iPhone/ipad? I don't want to use a computer intermediary.

I since found that there is a wifi shield on the market which I guess does exactly what I want but since I have already purchased the XBEE, I thought I would ask in case there is a way of using it.

If it is possible, can you suggest which library might be a good starting point.

I am currently using the following libraries so if I can use the same ones, it would be great:
Code:
#include <SPI.h>
#include <Ethernet.h> // Tested in version IDE 0022 Arduino UNO
#include <Z_OSC.h>

Thanks,
Nick

Logged

Grand Blanc, MI, USA
Online Online
Faraday Member
**
Karma: 71
Posts: 3511
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

XBees come in at least a dozen different flavors and they differ significantly from one to another, they are not all interchangeable. Do you know what part number you have? There is a Wi-Fi model that is relatively new, I haven't seen a lot of discussion on it, actually.
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Letchworth Garden City
Offline Offline
Newbie
*
Karma: 0
Posts: 43
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello Jack,
I have an XBee S1.

Bests,
Nick
Logged

Grand Blanc, MI, USA
Online Online
Faraday Member
**
Karma: 71
Posts: 3511
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

XBee Series 1 modules use the 802.15.4 standard, Wi-Fi is 802.11, so no, that particular XBee cannot be configured as a wireless Ethernet device. The Wi-Fi model would be this one.
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Letchworth Garden City
Offline Offline
Newbie
*
Karma: 0
Posts: 43
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks. Do you know whether the wifi version you pointed to would need an additional library? I am hoping the code I have written using ethernet and a router would work with minimal modification.

Best wishes,
Nick
Logged

Grand Blanc, MI, USA
Online Online
Faraday Member
**
Karma: 71
Posts: 3511
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I would assume that the Arduino Ethernet library, which supports the W5100 chip, would not work.
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Pages: [1]   Go Up
Jump to: