Transfer files using the Arduino Wireless SD Shield and XBee

Hello all!

So, here's the situation. I have an Arduino AtMega with a bunch of sensors connected to it, and I'm printing all this data in neat .csv files on the microSD. So far, so good.

What I want to know is what's the simplest, most foolproof way to get this data onto a PC without having to take out the microSD.

A few ways I've been looking at: Use FTP. http://playground.arduino.cc/Code/FTP The problem is that from what I've read, this is meant for Ethernet. The Ethernet board has 4 sockets, wireless shields seemingly have only one, so I didn't find anyone who got this to work wireless (http://forum.arduino.cc/index.php?topic=150810.15). It would pretty easy and great if I could get this to work though.

Use a PHP script to receive data on a server (something like http://forums.parallax.com/discussion/159854/xbee-wifi-send-and-receive-data-from-web). I don't know PHP, but I'm willing to learn, so that would be quite a learning experience. If it can be done I'll try it, but I'd rather do something less intimidating.

Send the data byte-by-byte. Not sure what would be the best way to receive it, but since it's just .csv files, this would be pretty simple to do.

Also, the reason I haven't started experimenting yet is because the XBee antenna is in the mail, should come in in a few days.

To be clear, I'd want the XBee to connect to a local WPA2 network, send data to this network, and somehow receive this data on a PC connected to the same wifi network.

If it can be done I'll try it, but I'd rather do something less intimidating.

How intimidated you are is not something we can judge. PHP uses a lot of C syntax, so the code will look a lot like the Arduino code.

Send the data byte-by-byte. Not sure what would be the best way to receive it, but since it's just .csv files, this would be pretty simple to do.

All data is, ultimately, sent byte-by-byte. The best way to receive it is byte-by-byte.

To be clear, I'd want the XBee to connect to a local WPA2 network

An XBee can't do that. An XBee-Wifi can, but they are not XBees as most of us understand the term.

PaulS: How intimidated you are is not something we can judge. PHP uses a lot of C syntax, so the code will look a lot like the Arduino code. All data is, ultimately, sent byte-by-byte. The best way to receive it is byte-by-byte. An XBee can't do that. An XBee-Wifi can, but they are not XBees as most of us understand the term.

That's good to hear, about PHP. Transferring byte-by-byte would be my preferred method, yes. I'm just not sure where to look to get started to upload those bytes somewhere. Also, sorry for the imprecision, it is a XBee Wifi, this one to be precise: https://www.sparkfun.com/products/12568 .

I've also found about the Phant library, which seems to be useful for turning the raw data into a format that can be uploaded to the web. https://github.com/sparkfun/phant-arduino

It just sounds like the XBee would have to host a webserver to do all that, and I have no idea where to start with that. Is that even possible, or am I misunderstanding and it's just communicating with a webserver hosted elsewhere?

It just sounds like the XBee would have to host a webserver to do all that

Please be careful to use XBee-Wifi when you are referring to something that is not what we typically refer to as an XBee.

Your wifi device will need to be a server if you want to upload data to it. It will need to be a client if you want it to upload data to some other server (which is what I understood you to want to do).