I'm having problems with my XBee Pros intended as the downlink for the Ardupilot. When I hook my Locosys 5hz GPS directly to the computer using the FTDI cable, I'm getting a 5hz update rate as seen in the attached file GPSFDI.txtAs soon as I introduce the XBees in the link, thus GPS--->Xbee (set at 38400) ----> XBee ->FTDI, the rate drops down to on NMEA sentence every few seconds or so as seen in the attached file GPSXbee.txt.What am I doing wrong? I've separated the two XBees anywhere from a few feet to 10 meters apart, but with the same results. How can I get an acceptable transfer rate with the XBees?Thanks,-tychoc
I'm using Xbee Pro S1 as the transmitter and Receiver for my Quadcopter.
Can the data rates becomes a problem with the controlling of the Quadcopter.
Actually i'm new in this.
When i test the xbee with the controlling of the motor there is delay in changing the speed of the motor,is this because of the data rates of the xbee?
Hello i back: Try to program your modules with the configurations indicated in the next pictures:
Ok one must be coordinator and the other router (sorry i didn't remember the names) marked with yellow. The PAN ID must be the same, and the Source/Destination End point try to put the same too (RED)... Now pay special attention in the green arrows, You must define the Destination Address in the Coordinator, you must copy the Serial Number HIGH and LOW bytes to the Destination Address exactly.... In this way you will have bidirectional com.
In the Second Photo you will see where you can change the baud speed, both modules needs to have the same baud...
UHH!.. good luck man.... xBee series 2 are very different from series 1, but I can help, i don't have time today, but maybe tomorrow afternoon i can tell you how to do it... Just try this:
One must be end device, the other must be the router, they should have the same PAN number.
Now with this manual, the modules will only work in one direction, in order to do it bi-directional you must specify in the router the destination point (With X-CTU), you can obtain the destination of the "End Device" using X-CTU too, . Sorry but i don't remember the names well... I have to find my units and reconnect them to my PC..
That makes sense. Based on the Function Sets available in X-CTU,. which should I choose to set both XBees up in the correct mode? See attached picture. I'm all new to the XBees....
Look at page 26 of the XBee manual . Channels 0x0C - 0x17 should be available. It's been a couple of years since I worked with the XBees, but I think we generally moved up to channels 0x10 - 0x15 when we had interference problems.
However, I just noticed that you're using the XBee in a mode with which I'm not familiar - we never used the PAN addressing. So it appears that the address allocation is controlled by PAN configuration. I suspect you want to be in a non-beacon mode without a coordinator.
Thanks Howard. Now the next question: How do you change the channel? In the X-CTU app where I configured the baud rate, PAN ID etc. I don't seem to be able to change the "Operating Channel". Look at the attached picture. When I click on that option/line, I don't get a choice of channels to choose from.
Try changing the XBee channel at both ends - these radios can be affected by outside interference. In the best case, you should be able to get 80kbps half-duplex transfer rate with these radios.
Replies
I'm using Xbee Pro S1 as the transmitter and Receiver for my Quadcopter.
Can the data rates becomes a problem with the controlling of the Quadcopter.
Actually i'm new in this.
When i test the xbee with the controlling of the motor there is delay in changing the speed of the motor,is this because of the data rates of the xbee?
Ok one must be coordinator and the other router (sorry i didn't remember the names) marked with yellow. The PAN ID must be the same, and the Source/Destination End point try to put the same too (RED)... Now pay special attention in the green arrows, You must define the Destination Address in the Coordinator, you must copy the Serial Number HIGH and LOW bytes to the Destination Address exactly.... In this way you will have bidirectional com.
In the Second Photo you will see where you can change the baud speed, both modules needs to have the same baud...
Took me some time figure out this...
Good luck.
One must be end device, the other must be the router, they should have the same PAN number.
Fallow the instructions of this manual..
Now with this manual, the modules will only work in one direction, in order to do it bi-directional you must specify in the router the destination point (With X-CTU), you can obtain the destination of the "End Device" using X-CTU too, . Sorry but i don't remember the names well... I have to find my units and reconnect them to my PC..
regards,
-tychoc
Anybody else know what is the correct way to set these up?
thanks,
-tychoc
Thanks,
-tychoc
xbeeFunctionSet.JPG
However, I just noticed that you're using the XBee in a mode with which I'm not familiar - we never used the PAN addressing. So it appears that the address allocation is controlled by PAN configuration. I suspect you want to be in a non-beacon mode without a coordinator.
Thanks,
-tychoc
Xbee.jpg