How to set up Xbee modules as the same function as serial port connection?

There is a way to test APM sensor shield via serial port connection: Typing "test" in APM mission planner's terminal window. After that, you can test many kinds of on-board sensor, such as, IMU, GPS,

Sonar, pressure sensor and so on.

Once I connect GCS and Arducopter via Xbee , I can't type any command in  APM mission planner's terminal window.  Can anybody tell me why? Very appreciate that.

 

Tags: Sensor, Xbee, test, via

Views: 161

Reply to This

Replies to This Discussion

The Xbee's connect to Serial3, which is the "telemetry port" and not the console. The console is on the other serial port. 

On the APM2 where they are the same port, the code switches off the console function when the USB is unplugged, so it is telemetry only too.

I believe you can do everything that is in the CLI menu, over MAVLINK telemetry using Mission Planner.

Hello there, thanks for your reply.

I am use AMP1 now, so, if I connect GCS and my UAV via 2.4 Ghz XBee modules, the console function will disappear.  Do you know where can I modify the code to avoid switch off console function when I only use xbee? or can you show me where is console serial port I can connect with? 

I tried modify the code just swap the serial port number, the console function only available in serial port 0, the telemetry is in serial port 3, but it not work as well.

I am frustrated now. Need 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

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service