Wireless Communication Speed
TylerS
Posts: 7
For an upcoming project I am looking at wireless data transmission.
My searching has turned up Xbee and Bluetooth as available technologies. If there are more good ones for robots please let me know.
Xbee listed speed is 250kbps and parallax easy bluetooth list speed is 921.6kbaud. (What is kbaud and how does it compare to kbps). When I think of speed I think of it in kbps (or bps) which to me means if I have a 250kb picture I could send it in one second.
However, I'm interested in how quickly (in micro seconds or seconds) I can send a small amount of data (say 16 sensor readings). So if this data is 32 bytes (I have no idea how big it actually would be), then does that mean I can send it in 32/250000 = .000128 seconds?
Which wireless technology would you guys recommend. I have no desire to control my robot by my phone etc. only PC. The Xbee costs about $25 while the bluetooth is almost 3x as expensive. Is it worth the extra expense? Is either technology more reliable than the other if there is lots of RF interference (say at a competition with lots of remote controlled robots)? The Xbee also includes 6 10 bit ADC channels and some digital I/O pins which could be very helpful to have. (It's looking like I might end up using all of the propellers pins).
Bluetooth links
http://www.parallax.com/Portals/0/Downloads/docs/prod/comm/30085-Easy Bluetooth-v1.1.pdf
http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/bluetooth/List/0/SortField/4/ProductID/550/Default.aspx
Xbee Links
http://www.digi.com/products/wireless/point-multipoint/xbee-series1-module.jsp#overview
Digi also has a lot of Wi-fi products but it's all in another language to me.
http://www.digi.com/products/wireless/wifisolutions/
Thanks for any info in advance.
My searching has turned up Xbee and Bluetooth as available technologies. If there are more good ones for robots please let me know.
Xbee listed speed is 250kbps and parallax easy bluetooth list speed is 921.6kbaud. (What is kbaud and how does it compare to kbps). When I think of speed I think of it in kbps (or bps) which to me means if I have a 250kb picture I could send it in one second.
However, I'm interested in how quickly (in micro seconds or seconds) I can send a small amount of data (say 16 sensor readings). So if this data is 32 bytes (I have no idea how big it actually would be), then does that mean I can send it in 32/250000 = .000128 seconds?
Which wireless technology would you guys recommend. I have no desire to control my robot by my phone etc. only PC. The Xbee costs about $25 while the bluetooth is almost 3x as expensive. Is it worth the extra expense? Is either technology more reliable than the other if there is lots of RF interference (say at a competition with lots of remote controlled robots)? The Xbee also includes 6 10 bit ADC channels and some digital I/O pins which could be very helpful to have. (It's looking like I might end up using all of the propellers pins).
Bluetooth links
http://www.parallax.com/Portals/0/Downloads/docs/prod/comm/30085-Easy Bluetooth-v1.1.pdf
http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/bluetooth/List/0/SortField/4/ProductID/550/Default.aspx
Xbee Links
http://www.digi.com/products/wireless/point-multipoint/xbee-series1-module.jsp#overview
Digi also has a lot of Wi-fi products but it's all in another language to me.
http://www.digi.com/products/wireless/wifisolutions/
Thanks for any info in advance.
Comments
"I have a 250kb picture" ... I think you don't really mean 250kb(it), do you? Size of pictures usually is given in Byte (250kB). So, you will need a bit more time to transfer that!
I did not read the Xbee specs but had a short glance into the Bluetooth specs. You have to pass the data as package. This means that with each package you have data plus overhead (I counted 7 bytes of overhead). So, if your packages are small your netto data-rate will be much less than the 921kbaud. If your packages are large you get closer to that.
In any case the calculation is (data size in bits + overhead in bits)/(given kbits per sec) and only gives you the theoretical max. as noise on the used channel will decrease the reliability and the speed.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Will work for Propeller parts!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Signature space for rent!
Send $1 to CannibalRobotics.com.
You shall soon have really solid XBee support from Parallax (in fact, I'm at Digi today, the XBee supplier) so I encourage you to take a look at their devices.
The 60 mW versions can work up to a mile outdoors, and the 2 mW works 100' indoors. What range do you need?
2mW chip or wire antenna will be $19.00; $32.00 for the 60 mW (EXCELLENT PRICES I assure you. . . sales guy here).
I'll even sample you the Parallax breakout boards. Send me a PM!
Ken Gracey
Parallax Inc.