I recently had an issue with gyros during initial post assembly checks. After sending my APM and IMU back for solder re-flow I now have a functioning stabilization mode and am waiting for my new transmitter to get here. In the mean time I have decided to try to get my XBee modules to talk to each other and I. am. going. crazy. First of all I am running the new APM 2.0 and have an XBee Pro 900 XSC on the plane end and an XBee Pro 900 XSC RPSMA on the laptop end. I reprogrammed the XBee's for 9600 baud (even though they came that way) and can't figure out where to change the serial 3 out to 9600. I am using the diydrones XTreamBee boards for both. The manual is confusing me quite thoroughly and I don't think it has been updated for APM 2.0. Maybe it has, I don't know I'm not a computer programmer. If possible, I would like a no-nonsense step-by-step instruction of how to get these little b*stards talking to each other. In hindsight I would have gotten ones with a higher data rate but at the time I was interested in a higher range and didn't know that the APM would not like a 9600 baud. Please help!! Thank you for your time,

-Robb-

Tags: 900, Pro, RPSMA, XBee, XSC

Views: 235

Reply to This

Replies to This Discussion

Robb, your going to need a custom APM_Config.h with the following

#define SERIAL3_BAUD    9600

 

If you need help setting this up, i can walk you through it...

Hit me up on PM or on Live Chat

Hello my friends,

I buy a set of ardupilotmega and a telemetry kit in order to use in my model plane.
But unfortunately I was unable to get a data link with my Xbee-XSC’s.As I search on google I read your comments about the subject. I have a XtreamBee V1.2 adapter on plane side and Sparkfun’s XBee Explorer USB on laptop side. Even if I set the baud to 9600 on config.h I barely can connect to the Ardupilotmega board. As I focused on the subject, I see that I am able to connect and get the data only twice with a success right after a firmware re-loading.If I power-off and on more than two times it is not possible to get any data. When I dig deeper on it I see that, after I reset the EEProm I also get the data only twice with a success.The worse thing is after the second power off, if I try to conect by the telemetry, I see that the EEProm changes. So if I reset the EEProm the link comes back… Do you have any idea?

Robb,  9600 is a poor choice for XBee baud rate.  If you turn on even one of the telemetry data streams as a high rate you are likely to swamp the channel.  56K is the recommended baud rate.  Many are using 115K without issue.
Darren, thank you for replying but I already have that in my APM_Config.h file and it doesn't work. What is PM and I believe I will hit you up for live chat but it will most likely be tomorrow if that is good for you. Doug, I have to use 9600 baud because that is the rate limit that these two particular XBee's can transfer. I would go 56k if I could...
Ok now I have been searching on how to do a direct chat with someone and cannot figure it out...

Robb, on main page for diydrones, scroll to very bottom, you will find the DIY Drones Chat.

 

Can you guys share what you did to get the SERIAL3_BAUD line changed and uploaded?

If you're using Planner, you don't need to change any code for that. Look for SERIAL3_BAUD in the parameters list and change the value to either 9, 19, 56, etc..

Found it, so do I write in 9600 or just 9?

Is these a guide for this list of paramiters? Ive looked al over the wiki...

thanks for your help :)

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service