EM406 serial speed question

I am trying to connect my EM406 to the Ardupilot and am having some trouble understanding the proper speed.

I read in the Ardupilot setup manual that the EM406 has a serial speed of 57600 and that the Xbee modules must be programmed to the same speed... Also, when I loaded the Ardupilot 2.4 code, the Serial.begin is set to 57600bps.

I then checked the code for Ardupilot v1, and it is set to 9600bps, which "locked" almost immediately and the blue LED came on. When I tried it at 57600, it never locked and just blinked red for a while.

I then read the EM406 datasheet and it says that the module is set for 4800bps.

Does anyone know the proper speed to use for the EM406?

I cannot seem to get the Ardupilot to control the rudder as I walk around the back yard, even after the GPS is locked. The rudder servo does not move at all.

Thanks for your help,
jd

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

Join diydrones

Email me when people reply –

Replies

  • 3D Robotics
    ArduPilot 1 was retired long ago, I'm afraid; we're at ArduPilot 2.7/2.8 now. The current code should automatically program your EM406 into the right mode/serial speed.

    Please use the ArduPilot manual.
This reply was deleted.

Activity