Page 1 of 1

Arduino & Xbee Wifi

PostPosted: Tue Feb 17, 2015 12:32 pm
by curtismith04
Hello every one,

Has any one had any experience with the Xbee wifi module and arduino programming? I've been trying to follow this tutorial
https://learn.sparkfun.com/tutorials/internet-datalogging-with-arduino-and-xbee-wifi. But I can't get it to work at all.

I've tried setting up my router for WEP and for WPA2_AES. But I can not figure out what is going wrong.

I've tried setitng up the xbee to connect to the network via X-CTU and I can do that. It registeres and the LED's correspond as specified. So I know that the Xbee is connecting to the network.

I've taken my Tx & Rx from my xbee and fed them into the arduino Rx -> Rx & Tx-> Tx. I've tried crossing them over to, no luck. I'm wondering if the segment of code below is causing issues at all, as the description is vauge for me to read.

CODE: SELECT_ALL_CODE
// Your WiFi network's SSID (name):
String WIFI_SSID = "WIFI_NAME_HERE";
// Your WiFi network's encryption setting
// Set the "encrypt" variable to one of these four characters:
// OPEN = 0, WPA_TKIP = 1, WPA2_AES = 2, WEP = 3
enum encryption{NO_SECURITY, WPA_TKIP, WPA2_AES, WEP};
encryption WIFI_EE = WPA2_AES;
// Your WiFi network's passphrase (if necessary). If your network
// is open, make this a blank string (passphrase = "";)
String WIFI_PSK = "WIFI_PASSWORD_HERE";


below is what I have done,

CODE: SELECT_ALL_CODE
// Your WiFi network's SSID (name):
String WIFI_SSID = "Wirelessnetwork";
// Your WiFi network's encryption setting
// Set the "encrypt" variable to one of these four characters:
// OPEN = 0, WPA_TKIP = 1, WPA2_AES = 2, WEP = 3
enum encryption{WEP = 3};
encryption WIFI_EE = WEP;
// Your WiFi network's passphrase (if necessary). If your network
// is open, make this a blank string (passphrase = "";)
String WIFI_PSK = "letme";


I can't quite determine what the note about setting the encrypt variable to means.

Has any one run through this tutorial? Has any one successfully connected an xbee wifi to an arduino for that matter?

Thanks for the help,

Re: Arduino & Xbee Wifi

PostPosted: Tue Feb 17, 2015 4:26 pm
by ober
Sharing the actual hardware setup will help more. A few clear photos would do.