General

Using XBee Wi-Fi with Mega IO Expansion Shield v1.2

userHead theoracle39 2013-08-12 21:05:09 6625 Views4 Replies
I have an Arduino Mega 2560 R3 with an IO Expansion Shield v1.2 (http://www.dfrobot.com/index.php?route= ... uct_id=339) and a XBee Wi-Fi module. Ultimately I want to get the XBee Wi-Fi module to connect to my home wireless network, but so far I haven't been able to connect to X-CTU or get any example code working (https://github.com/cjbearman/xbee-wifi-spi-arduino). In this example code I'm not sure what pins to set up for XBEE_RESET, XBEE_ATN, XBEE_SELECT, or XBEE_DOUT 23 so that could be the problem. Do I need to make modifications to one of the boards to get this working or should it work as is? How do I figure out what pins on the Mega correspond to the pins on the XBee Wi-Fi module? Any help would be greatly appreciated.
2013-08-19 17:12:51 Hi?
Don‘t worry. I think you still need a usb xbee adapter or the xbee shield.
This can reduce much  trouble
userHeadPic Grey.CC
2013-08-17 04:22:48 I got the S6B in the mail today.  I wrote a blank program to the Arduino, connected the 9V adapter, connected the S6B, and I still can't get it to connect in X-CTU.  I measured the voltage of the Vcc pin and it reads 3.3V even with the USB cable connected so that is a good thing.  I don't know what else to try. userHeadPic theoracle39
2013-08-14 21:00:42 I think I figured out the problem.  I have the S6 Wi-Fi module, which requires an extra capacitor to handle the in-rush current requirements.  I'm sending it back in exchange for the S6B, which doesn't require any board modification.  I'll post again when I've tried it out. userHeadPic theoracle39
2013-08-14 18:05:14 Hi,
I think USB in mega maybe have 2 different chips
USB adaptor and the USB chip in mega or leonardo works in the same way
maybe that is problem
why not use a usb adaptor?  It is more convenient
http://www.dfrobot.com/wiki/index.php/X ... U:DFR0174)
and  there is a guide about X_CTU
http://ftp1.digi.com/support/documentat ... 1003_A.pdf
I don't know  which type  xbee module you used.


userHeadPic Grey.CC