I have a helicopter, which is loaded with some parts like GPS,Accelerometer, rpm counter, temperature sensor and a pic… I want to transmit this datas to my computer serial port.
What you recommend, which solution is the best? I think xbee is appropriate for me…
Is Xbee confidential(is it losting data?) and easy to programmin?
I have a helicopter, which is loaded with some parts like GPS,Accelerometer, rpm counter, temperature sensor and a pic… I want to transmit this datas to my computer serial port.
What you recommend, which solution is the best? I think xbee is appropriate for me…
Is Xbee confidential(is it losting data?) and easy to programmin?
Thanks in advance!
since you want to go to the PC, yes, I’d say that 802.15.4 without zigbee is easiest. The XBee series one are drop dead simple in this kind of application. Do a little number crunching to decide if you need the “pro” version which has about 60mW transmitter power whereas the non-Pro is about 1mW. The fading and error rates will be better, if your battery consumption budget can stand the higher power. It’s all about transmitter duty cycle - how many mA per hour consumed for all devices versus the battery capacity down to some voltage droop.
The ground side antenna is important: typical rubber-ducky antenna has poor vertical radiation. This is more important at 2.4GHz than the lower freqs used by R/C transmitters.
You can get 802.15.4 modules for 900MHz (US, 868 in EU), and they will do somewhat better than 2.4GHz. But the cost more and use more battery.
As to error correction: The 802.15.4 MAC layer has CRC error detectoin and error correction - though it uses an ACK for good frames and no ACK for errored frames. The receiving end has to timeout a missing ACK and retransmit n times. This time delay is adjustable and may be important. I’d suggest you code a simple protocol in addition: say one with message sequence number checking to detect lost frames (802.15.4 has that too, but its an option not usually implemented).
to get 1500m you will need the ext. ant. connector and a high gain antenna. Maybe on both ends.
I got 3/4 mile line of sight with two XBee Pros at 60mW. One had a chip antenna; the other had just 5.6dBi from an omni. There are lots of 14dBi patch antennas available from the WiFi world, such as hyperlinktech.com
you can easily calculate what power and antennas you need for distance x if you have line of sight. Google for a link budget calculator.