Page 1 of 1

XBee Wi-Fi on Mega IO Expansion Shield

PostPosted: Tue Aug 13, 2013 10:37 pm
by theoracle39
I have an Arduino Mega 2560 R3 with an IO Expansion Shield (http://www.dfrobot.com/index.php?route= ... uct_id=339) and a XBee Wi-Fi module. I'm trying to connect to the module with X-CTU, but so far I haven't been able to make it connect. As far as I can tell there is no difference in the schematics between the Cytron XBee Shield (http://www.dfrobot.com/image/data/DFR00 ... %20SCH.pdf) and the Mega IO Expansion Shield (http://www.dfrobot.com/image/data/DFR00 ... %20SCH.pdf). Are there any settings inside X-CTU that I need to change to get it to connect properly? Is there anything I need to check on the Mega or IO boards?

Re: XBee Wi-Fi on Mega IO Expansion Shield

PostPosted: Wed Aug 14, 2013 10:24 am
by yonghui
i never used xbee wifi before, but used xbee before.

i will like to know do u communicate with your xbee wifi? through UART or SPI.
TRansparent mode or API mode. if u are using transparent mode.

enter the AT command mode by +++ within one second. just dont put any delay between
then start entering your command followed by a CR (0x0D)

remember to read out the response from the Xbee "OK\r" 3 character from the module. every time u send something from UART>

refere product manual
http://www.cytron.com.my/usr_attachment ... Manual.pdf

page 25.

Re: XBee Wi-Fi on Mega IO Expansion Shield

PostPosted: Wed Aug 14, 2013 11:06 am
by robosang
Can show the photo of hardware?

You might want to check the XBee-WiFi module datasheet for any special pin which offer internal pull-up or pull-low.

Also I heard that Xbee-WiFi module consume high current when it is power up, maybe the capacitor for power line need to be bigger.

Re: XBee Wi-Fi on Mega IO Expansion Shield

PostPosted: Wed Aug 14, 2013 10:54 pm
by theoracle39
robosang, I think you are right about needing a bigger capactior. 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.

Re: XBee Wi-Fi on Mega IO Expansion Shield

PostPosted: Thu Aug 15, 2013 2:20 pm
by robosang
What is S6 means? Different series?

Re: XBee Wi-Fi on Mega IO Expansion Shield

PostPosted: Sat Aug 17, 2013 4:22 am
by theoracle39
S6 is a legacy device. See http://www.digi.com/products/wireless-wired-embedded-solutions/zigbee-rf-modules/point-multipoint-rfmodules/xbee-wi-fi#models

The differences between S6 and S6B are explained here: http://www.digi.com/pdf/xbee-wi-fi-s6%20to-s6b-migration-guide.pdf

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.

Re: XBee Wi-Fi on Mega IO Expansion Shield

PostPosted: Sun Aug 18, 2013 9:59 pm
by robosang
Do you have xbee shield in that case? Why don verify with something you know it is working? BTW, thanks for the explanation.