2
\$\begingroup\$

I am planning on making a wireless sensor network with 4 Xbees going to 1 Coordinator. I want each of the sensor nodes to transmit continuously at ~5Hz.

Is this feasible with Xbees? What sort of traffic limitations does the protocol have in regards to collisions, dropped packets, latency, etc.?

\$\endgroup\$
  • \$\begingroup\$ "transmit continuously at 5Hz" is a bit confusing. Do you mean they need to send one message 5 times a second? \$\endgroup\$ – Kortuk Oct 3 '12 at 0:40
  • \$\begingroup\$ Sorry for the confusion, I meant that each sensor is sampling and sending data to the coordinator at 5hz. \$\endgroup\$ – Michael Choi Oct 3 '12 at 4:52
  • \$\begingroup\$ How much data is being sent? There is not nearly enough information here. If you are getting 1Gb of data this is really easy to answer, if you are getting 1 byte, juts as easy. \$\endgroup\$ – Kortuk Oct 3 '12 at 5:24
1
\$\begingroup\$

Depending on how much data is actually sent every 200 ms, this can certainly be feasible for a 4to1 network. I've done this with 8to1 networks with a 10 Hz update rate, sending about 20 bytes every time. It works like a charm. The xbees come in different flavors, but in general you can get receipt acks at the xbee level (if in API mode), or you can simply implement your own at the application level. Depending on the configuration, the xbees will attempt a set amount of retries on their own.

\$\endgroup\$
  • \$\begingroup\$ I wouldn't recommend using anything but API mode. Using application-level acknowledgment may be better than xbee acks if one needs to send data in response to a message, but in transparent mode there's no guarantee that one won't receive part of one message combined with part of another, so as to erroneously resemble a whole message. \$\endgroup\$ – supercat Jan 1 '14 at 21:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.