XBee Pro transfer rate

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

GPSFDI.txt

GPSXbee.txt

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

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?

  • Developer
    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...

    Took me some time figure out this...

    Good luck.
  • Developer
    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.

    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..
  • Developer
    Are you using xBee PRO series 2?
  • Bump - Anybody knows how to correctly set these XBee pros (Series2) up?

    regards,
    -tychoc
  • If Jordi or Chris reads this I'm curious how they set up their XBees. I'm pretty sure they use the same modules. Also, what update rate do you get?

    Anybody else know what is the correct way to set these up?

    thanks,
    -tychoc
  • 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....

    Thanks,

    -tychoc

    xbeeFunctionSet.JPG

  • 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.

    Thanks,
    -tychoc

    Xbee.jpg

  • 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.
This reply was deleted.

Activity

Jørn Ramnæs liked VIDEO LINK's profile
yesterday
Mark Harrison left a comment on Moderators
"Wow, Ning2 looks really great on mobile. I had sort of drifted away as my browse-time went more on my phone, so this is great."
yesterday
Hank Deucker left a comment on PIXHAWK
"I am sure most will say not again, Pixhawk telemetry. I do need help and all can be reassured that I have spent many hours scouring the net for useful information. I am not new at quadcopter flying, I started in 2012 and have progressed through many…"
yesterday
Hank Deucker left a comment on PIXHAWK
"Tomorrow, I am thinking about the wording at the moment."
Thursday
More…