Cant seem to get my head around this one.
I have an ArduPilot board and this is connected to the ArduIMU+ V2 (flat). Tx from the IMU is connected to Rx on the Ardupilot and everything is working as it should.
However i would like to investigate using the groundstation (software on windows) to perform 2-way communicate with the Autopilot but if Rx on the ArduPilot is already used (to talk to IMU) how do i connect the Xbee to the Ardupilot on the aircraft side.
Any help / diagrams would be greatly appreciated.
Regards,
Tony Brock
You need to be a member of diydrones to add comments!
Replies
With an IMU unit you can't send data directly to the main board because it's busy receiving IMU data at 50 Hz. Receiving GPS data at 4 Hz (Ublox) leaves a lot of time in between to recieve the Xbee data(if the is any). So you need to send the Xbee data to the IMU shared with the GPS and then send it from the IMU to the Ardupilot. I haven't had time to modify the IMU code yet to make this happen, but I plan to. This is a learning exercise for me plus it's good to have if you using the 328 Ardupilot. I will post a link to this if/when I do it. Getting a mega system would be a lot easier with the 4 ports.
There is a hack that will allow you to kinda get around this, but it's not officially supported and we can't help you with it if it doesn't work.