Multiple Serial Devices

Hi,I wonder has there been any work on running multiple serial devices on the ardupilot. The SoftwareSerial library seems pretty robust and would be good for use with the xbee. This would allow the xbee to be used for telemetry and an uplink. Remote control via digital radio rather that RC has to be the way forward. This would allow full remote control over long distances limited only by hardware from Digi Or even GPRS.That been said, maybe there is a fundamental reason why an RC link should be in the loop (not counting regulatory reasons).CheersDiarmuid

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

Join diydrones

Email me when people reply –

Replies

  • We use a software line with success. The soft serial library contained with the Arduino IDE is severely lacking, but Mikal Harts Soft Serial library (http://arduiniana.org/) is much more functional (although it shares a timer used to control servos, but jitters were quick enough and small enough to not affect stability that we can tell)

    We run the GPS through the dedicated line and two way communication on the software serial line (we communicate at roughly 12 Hz with GS). We decided to use the software line for the comm rather than GPS simply because it is more convient to use the existing ArduPilot layout.

    Here is a link to how we did the two way stuff and the code we used.
    http://diydrones.com/profiles/blogs/our-very-first-flight-with-two
    Arduiniana | Arduino wisdom and gems by Mikal Hart
  • 3D Robotics
    Sadly, the Software Serial library is NOT robust. We've never got it to work reliably at any decent speed.
This reply was deleted.

Activity

Jose Araujo liked Jose Araujo's profile
Aug 29
spencer harvey liked spencer harvey's profile
Jul 9
More…