APM1+XBeePro900 XSC (9,6kbps) issues

Hello friends!
I'm a very new to the diydrones community so please don't beat hard )

I've got:
1) ArduPilotMega1
2) 2 x XBee Pro 900 XSC modules:
   - http://www.sparkfun.com/products/9085
   - http://www.sparkfun.com/products/9087
3) XBee Explorer Regulated (from sparkfun):
   - http://www.sparkfun.com/products/9132
4) XBee Explorer USB (from sparkfun):
   - http://www.sparkfun.com/products/8687

I'm trying to get it work well altogether.
Via direct USB>APM connect everything works great, but not via Xbee...

So the first thing i had to do is to shorten the diode in 'XBee Explorer Regulated' to make its Tx line work somehow, otherwise i receive only zeros from the APM, i see that's caused by a tricky way of level conversion in that adapter. But then it makes XBee getting quite hot.
Then i set the APM telemetry port baudrate down to 9.6kbps by adding
"#define SERIAL3_BAUD 9600" to the APM_Config.h file, due to the XSC Bee speed limits.
Mission Planner connects well and i receives the sensors' data but i'm unable to 'say' anything to the APM. After the APM starts transferring the telemetry data it becomes unable to set the modes to upload the waypoints etc, it's even unable to reconnect - MAVlink freezes at the first step when requesting parameters and shuts down by timeout then. But i'm lucky to connect and to set something while APM is initializing only, when it has not started transferring lots of telemetry data yet :)

So i wonder If that caused by setting the telemetry port to 9600 bps? Or maybe that's the adapter's issue?
If that's due to baudrate settings maybe there are some other values in the code to play with? Some read/write buffer settings or anything else?

Next week I'll try to change the 'XBee Explorer Regulated' adapter for another but not the recommended one again [http://www.seeedstudio.com/wiki/index.php?title=XBee%C2%AE_Shield].

I appreciate any help.

Thank you!

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

Join diydrones2

Email me when people reply –

Replies

  • I've got the exact same equipment and problem. An additional detail I've noticed is that I can re-initalize the XBee connected to the PC and MissionPlanner still cannot reconnect.

    However, if I reboot the APM I can reconnect. I still can't refresh or write any parameters, however.
  • Also interested in this

This reply was deleted.

Activity

Jørn Ramnæs liked VIDEO LINK's profile
6 hours ago
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."
12 hours ago
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…"
13 hours ago
DIY Robocars via Twitter
https://t.co/rLmFr8M2UK
17 hours ago
Hank Deucker left a comment on PIXHAWK
"Tomorrow, I am thinking about the wording at the moment."
yesterday
DIY Drones via Twitter
Welcome to the new DIY Drones design!. You may have noticed that DIY Drones looks a little different today. That's… https://t.co/cg2EmeDGMQ
yesterday
DIY Drones via Twitter
New! Online Training on Drones for Disaster Response https://t.co/brqRuujjY2
Tuesday
DIY Robocars via Twitter
https://t.co/8EMCvYW6oz
Tuesday
DIY Robocars via Twitter
RT @OttawaAVGroup: We are going to try something new this week. We will be having a drop-in style meeting Wednesday @ 7-9pm EST. Pop in and…
Monday
DIY Robocars via Twitter
RT @tawnkramer: Thanks Everyone for another fun virtual race! Amazing Ai racers competing head-to-head, Virtual Makers Fair event. Catch us…
Sunday
DIY Robocars via Twitter
RT @make: Find out the latest from @diyrobocars at 10am PT from @chr1sa of @3DRobotics on Virtually Make Faire! #makerfaire #maketogether #…
Saturday
DIY Robocars via Twitter
RT @Heavy02011: Join us Saturday online: Virtual Race League: @DIYRobocars Race #2 - Parking Lot Nerds https://t.co/aJUu4sdutx #Meetup via…
May 22
DIY Robocars via Twitter
RT @donkey_car: Yay, we are part of the virtual @makerfaire with @diyrobocars. Come see our race or better yet train a model and race with…
May 21
DIY Robocars via Twitter
RT @chr1sa: The @DIYRobocars Virtual AI Race is going to be part of the virtual @makerfaire on Sat! https://t.co/wnMDAboLID
May 20
DIY Robocars via Twitter
RT @tawnkramer: Please join us next week for our second DIYRobocars online race. We will be using a new Mountain Track course! https://t.co…
May 19
DIY Robocars via Twitter
RT @SmallpixelCar: I realized that the size of the cones in @diyrobocars is known. If we can detect the bounding box, which can be done wit…
May 19
More…