You may have noticed that we had wireless telemetry in our flight testing last week. It's really easy to add.
The first thing to keep in mind is that you should use Xbee modules in a different frequency range than your RC equipment.
If you've got 72Mhz RC gear, you can use 2.4Ghz Xbee modules. We use Xbee Pro wireless modules with a Adafruit adapter board on the aircraft side, and a Sparkfun USB adapter board on the ground/laptop side.
If you've got 2.4Ghz RC gear, you should use 900Mhz Xbee modules. We use a Xbee Pro with the wire antenna for the aircraft, and and Xbee Pro with a SMA antenna connector (and a good 900Mhz antenna) on the ground, with the same adapter boards as above.
Next, you need to set up your Xbee modules. They ship with a default of 9600bps, which you must change to 4800 bps for ArduPilot 1.0 or 57,600bps for ArduPilot 2.x. Connect them with your FTDI cable (see instructions here) then use Digi's X-CTU utility to change the baud rate to 4800 or 57,600 (in the modem configuration tab--press the Read button and then click on and change the baud rate line). You should also give them unique Network IDs so they'll be paired. Just use any 3-digit number, and just make sure you've set it the same on both modules. (Don't use 999 if you're going to be flying around me--that's mine!). When you're done with the settings, click "Write". Remember that after you change the baud rate you have to switch back to the PC Settings tab and change the baud rate there, too, or the utility won't be able to communicate with the module. (Switch it back to 9600 when you're switch to the second module, if it's still in the default mode, and repeat the process.)
On the ArduPilot side, use three jumper wires to connect the following pins circled in red on the board below:
--Xbee RX to ArduPilot FTDI port TXO
--Xbee 5v+ and GND to the VCC and GND pins next to the FTDI port.
It will end up looking like this:
(Note: the above is to get telemetry from the Autopilot. If you just want to see the NMEA data from the GPS module, connect the TX pin to ArduPilot's RXI pin, right next to the to TXO pin, instead.)
On the ground side, connect the other Xbee module to your laptop with your FTDI cable, as described here.
That's it! If you open up a terminal program on your laptop and set the baud rate to 4800 or 56,000, depending on which ArduPilot software version you're using, you should see ArduPilot telemetry coming in. Anytime there is a "Serial.println" in the code, that data will be sent through the Xbees to the ground. You can record any data you want, and even GPS datalog from the ground! Couldn't be easier.
BTW, if you want to test the range of your Xbee link, connect the plane-side Xbee module's RX and TX pins together to create a loopback circuit and use the X-CTU utlitity's range test function. For the modules we're using you should get around a mile.
Once you've got the wireless connection set up, you can use our Ground Station to display real-time telemetry with ArduPilot 2.1 and up:
hello i have apm 2.6 and iam trying to use my xbee pro 900 as telemetry and i failed to have connection every time........how ever i have no problem with connecting my 3dr telemetry ..............any one please help
My XBEE only transmits for a second, then quits until I reconnect it.
I have an XBEE PRO attached to the XBEE Adapter, and then attached the 3 required pins to the Shield Version 1. I then have the 2nd XBEE attached via USB and it's terminal opened in X-CTU. My ArduPilot is running V2.4. and on my terminal reads:
It appears to transmit some random periods for some reason... Also, if I disconnect it, and reconnect it while the Ardupilot is running it will send a few more packets of data.
This is not the place you'll get helped. it's about wireless telemetry with ArduPilot!
Post your question in an appropriate location to be heard. You'll probably want to add some details about your setup and code versions you loaded onto your board in order to other to imagine what the problem could be. Furthermore, its not the Ardupilot board which locks to satellites, but your GPS! I also hope you went through the instructions several times.
Hi. I relatively new to all this.(under grad @ University of Louisiana at Lafayette)
Is it possible to use Xbee with the board that comes with BlimpDuino?
If not, what must I add to it to enable some form of wireless communication?
The Idea is for the blimp to float around gathering mac addresses. I really need some sort of push in the right direction, so any advice no matter large or small is greatly appreciated.
Ok, maybe I didn't clarify my question properly. I was looking for the ardustation groundstation source code . My bad... I found the other one, thats for the board version correct. I want to modify to software version for windows, if that is possible ? If not no biggie...
Comments
hello i have apm 2.6 and iam trying to use my xbee pro 900 as telemetry and i failed to have connection every time........how ever i have no problem with connecting my 3dr telemetry ..............any one please help
I have an XBEE PRO attached to the XBEE Adapter, and then attached the 3 required pins to the Shield Version 1. I then have the 2nd XBEE attached via USB and it's terminal opened in X-CTU. My ArduPilot is running V2.4. and on my terminal reads:
++ASP:-277,THH:84,RLL:60,PCH:1,***
.+++ASP:-274,THH:84,RLL:60,PCH:1,***
.+++ASP:-279,THH:84,RLL:60,PCH:1,***
.!!!LAT:XXXXXX8,LON:-9XXXX12,SPD:1.22,CRT:0.60,ALT:11,ALH:46,CRS:292.90,BER:219,WPN:0,DST:11,BTV:0.00,RSP:-35,***
.+++ASP:-277,THH:84,RLL:60,PCH:1,***
.+++ASP:-278,THH:84,RLL:60,PCH:1,***
.+++ASP:-278,THH:84,RLL:60,PCH:1,***
.+++ASP:-278,THH:84,RLL:60,PCH:1,***
.!!!LAT:XXXX68,LON:-XXXXXX,SPD:1.01,CRT:0.44,ALT:10,ALH:46,CRS:287.50,BER:203,WPN:0,DST:9,BTV:0.00,RSP:-35,***
.+++ASP:-278,THH:84,RLL:60,PCH:1,***
.+++ASP:-278,THH:84,RLL:60,PCH:1,***
.+++ASP..bRRRj.+++AS.!!!L....
It appears to transmit some random periods for some reason... Also, if I disconnect it, and reconnect it while the Ardupilot is running it will send a few more packets of data.
Anyone have any ideas why this is happening?
Post your question in an appropriate location to be heard. You'll probably want to add some details about your setup and code versions you loaded onto your board in order to other to imagine what the problem could be. Furthermore, its not the Ardupilot board which locks to satellites, but your GPS! I also hope you went through the instructions several times.
Is it possible to use Xbee with the board that comes with BlimpDuino?
If not, what must I add to it to enable some form of wireless communication?
The Idea is for the blimp to float around gathering mac addresses. I really need some sort of push in the right direction, so any advice no matter large or small is greatly appreciated.
Thanks, you guys rule.
you meant ardupilot groundstation right?
then it is over here, btw u need labview in order to edit the source code
http://store.diydrones.com/ProductDetails.asp?ProductCode=DE-0001-01