Go Down

Topic: ZigBee and Wi-Fi with one Arduino (Read 2 times) previous topic - next topic

adidaillini

Is it possible to use a XBee Zigbee module and a XBee WiFi module with a single Arduino?

I'd like to communicate with multiple field sensors, do some processing on a central controller, and then publish it all to the net from a single point without using a PC.

Thank you.

PaulS

What is a XBee Wifi module? Do you have a link to such a device?

Jack Christensen

#2
Oct 22, 2011, 02:24 am Last Edit: Oct 22, 2011, 02:28 am by Jack Christensen Reason: 1
http://www.digi.com/products/wireless-wired-embedded-solutions/zigbee-rf-modules/point-multipoint-rfmodules/xbee-wi-fi#overview

These are pretty new, don't know a thing about them. Overview says they have serial and SPI interfaces. So maybe use the serial interface for the ZigBee module, and SPI for the Wifi. Or use an Arduino Mega which has multiple serial interfaces. Multiple devices on a single serial interface is usually kind of shady  XD
MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

draythomp

I believe you can if you want to do some interesting code.  Put the regular XBee on pins 2,3 and use newsoftserial with it.  The wifi XBee can go on 0,1.  However, Jack is right, using one of the arduino megas would be the easiest way to go.  Your get more serial ports that way and the cost isn't too out of range.
Trying to keep my house under control http://www.desert-home.com/

adidaillini

Do I need to worry about interference with the zigbee and wifi radios in the same device?  They are both 2.4GHz.  Should I use a 900MHz radio instead?

hayankata

Do I need to worry about interference with the zigbee and wifi radios in the same device?  They are both 2.4GHz.  Should I use a 900MHz radio instead?


no you dont need 900MHz radios,
you can use both zigbee and wifi radios together at 2.4 GHZ.
if zigbee and wifi signal interfere with each other, then simply change the channel id of xbee until you get maximum zigbee range.

note:
changing channel id means changing xbee frequency of operation
xbee has 16 channels (2.4 ghz--2.48... ghz)

have fun

hayankata

http://www.facebook.com/pages/Arduino/131513336944533?sk=wall
for more xbee and arduino tutorial.

Go Up