Strange behavior with XBees

Hi. 

I have a real strange problem with my XBees. 
I have two XBees sitting on one XtreamBee Board for each XBee. 
The APM is connected to one of them as per the manual and the other is connected to my laptop using a FTDI cable.

Now here´s the problem: each time I connect the wires between the APM and the XBee, I see in the terminal in X-CTU that I receive data (I´m using the test program) but only for a second or so, then it stops. 
If I disconnect the wires and reconnect them, data is received (or sent) but only for a brief moment, then it stops. 

The two XBees are obviously paired and my FTDI cable works since i can send/receive data.

Any idea what could be wrong and why it stops transmitting (or receiving, i don´t know where the problem lies)? 


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

Join diydrones

Email me when people reply –

Replies

  • I have the exact same problem with you.

    I try to interface the telemetry port to Serial->USB interface directly and it works fine at 115200.

    Xbee Loopback test works fine at 115200.

    So i suspect it has something to do with how telemetry port interface with XBEE.

    May be it's something about the baudrate in APM is not accurate enough so desync occur and XBEE is not that forgiving comparing to Serial->USB interface?

  • Ok, so i got the Xbees working if I set the baud rate to 57600.
    The test program then works as i should.
    I have not been able to get i to work in 115200 baud even though I have tried the suggested "fixes" (setting two stop bits etc).

    Is it possible to use this baud rate with the APM or will it not pass the data fast enough?

    I have still not been able to get any data from the APM even though I have uncommented the define IsTel and IsXBee in the code. Is there something else that needs to be done?
  • 3D Robotics
    Try the Xbee loopback test (connect RX to TX on the plane side) within X-CTU.
This reply was deleted.

Activity

DIY Robocars via Twitter
23 hours ago
DIY Robocars via Twitter
yesterday
DIY Robocars via Twitter
RT @Heavy02011: @diyrobocars : A Home-brew computer club* for Connected Autonomous Driving on Jan 23rd, 2021 https://www.meetup.com/Connected-Autonomous-Driving/events/275728684/ #Meetu…
yesterday
DIY Robocars via Twitter
yesterday
David Hori liked Isabella Domi's profile
Wednesday
DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ Autonomous Driving Assembly at #rC3. join us at https://rc3.world/rc3/assembly/diyrobocars-f1tenth/ ⁦@f1tenth⁩ ⁦@DAVGtech⁩ ⁦@DWalmroth⁩…
Monday
DIY Robocars via Twitter
RT @chr1sa: New car designs coming for our next @DIYRobocars @donkey_car virtual race on the 23rd. Choose any one you want at race time Le…
Monday
DIY Robocars via Twitter
RT @RoboticMasters: Thanks to @EllerbachMaxime and the Sydney Uni Capstone Students the @donkey_car @diyrobocars simulator is getting a ma…
Monday
DIY Robocars via Twitter
Jan 6
DIY Robocars via Twitter
Dec 28, 2020
DIY Robocars via Twitter
An interesting line-following simulator to use with with your robocars: https://github.com/ron-grant/LFS
Dec 23, 2020
DIY Robocars via Twitter
Dec 23, 2020
DIY Robocars via Twitter
An improved version of the @IntelAIResearch OpenBot: https://diyrobocars.com/2020/12/14/an-improved-version-of-the-intel-openbot/
Dec 14, 2020
DIY Robocars via Twitter
Dec 10, 2020
DIY Robocars via Twitter
RT @KN_Richardson: Delivery 📦😬 Early xmas present from @ccbdcdt ! Sims ready, will put h/w together over Christmas break. Didn’t need to mo…
Dec 7, 2020
DIY Robocars via Twitter
RT @RoboticMasters: Did we mention there's new car models in the #donkeycar simulator too? Here is an RB16 from team @redbull @donkey_ca…
Dec 7, 2020
More…