I’m working on a project that will consist of two Arduinos, they are:
Arduino Uno
Arduino Lilypad
I will have sensors on both of these boards. Which is the best way to connect them to a PC, so that the PC can receive a continuous stream of data. I was thinking of using either Wifi or XBee, but I’m new to the Arduino platform and wanted more input. The distance is short, about 30 - 50 ft.
may not need a second arduino - series 2 xBees have analog and/or digital I/O pins built in, so for simple sensing/actuating you may be able to forego the uC on the sensor side.
much lower power requirements, especially if you go with #3 above to skip the uC and use sleep modes. This is great if your sensors need to run off battery.
portable - The system is self sufficient, no need for routers or other infrastructure.
Advantages of the wifi
much higher bandwidth
much easier to send data remotely over Internet
possibly easier to communicate with computers rather than uCs.
Funnily enough, based on the limited amount of info in the OP (liliypad suggests something worn on the body, so likely portable and battery-operated, and a few sensors), I would likely choose xBee, for the reasons listed.
To me, the defining question is bandwidth and destination of the data. If you need a lot of bandwidth (like video for example), then go WiFi. If you want to pipe the data to a remote computer (as opposed to one in the same room as the sensor platofrms), probably go WiFi as well. Otherwise, go xBee.
It completely depends on your throughput requirement. If your throughput requirement is low you can use Zigbee module and if your throughput requirement is high then you should go for WiFi module.