How to connect external devices to the OpenVario

How to connect external devices to the OpenVario

  • Posted by Stefan
  • On 29. Januar 2019

The OpenVario has no built in GPS reciever, so it is necessary to connect – at least one – external device, which provides NMEA GPS data in RS232 level. In Europe, the Flarm collision avoidance system is widely-used, which can send GPS data and also traffic information to the OpenVario. Also the connection to the OpenVario is straightforward, because you can use a 1:1 pin assigned RJ45 cable.

But there are plenty of other devices available on the market, which can be connected to the OpenVario system: flight recorders, standalone variometers, radios and even a second OpenVario for a doubleseater configuration.

In this blog post, we will discuss the mechanical wiring as well as the software settings in XCSoar.

  1. Basics: OpenVario serial connectors
  2. Common serial cables
  3. Software configuration in XCSoar
  4. Doubleseater configuration

1. Basics

The SteFly OpenVario has two serial ports with a RJ45 connectors and two serial ports at the D-Sub 15 connector. All ports are RS232 with 12 V level and the only difference is the connector type. Please have a detailed look at the following pictures.

For the software setup later on in XCSoar it is important to remember the port where you connecte the device. (ttyS1, ttyS2, ttyS3)

2. Common serial cables

There is a IGC pinout standard available for RJ45 sockets, which is commonly used for Flarm devices and (older) flight trackers. The OpenVario also uses this IGC standard, which enables a straightforward installation of Classic and Power Flarm devices with a 1:1 pin assigned RJ45 cable.

Unfortunately not every manufacturer is willing to use this RJ45 IGC standard and therefore it is very important to check the manuals first. You may damage your OpenVario or external device, if the pinout is incorrect!! We are not responsible for any damage!

The following picture includes the most common serial cables.

Some cables are also available in our SteFly Store:

OpenVario – Flarm cable

  • 1:1 pin assignment
  • 1 m cable length

OpenVario – LX Nav cable

  • pin assignment for LX Nav standalone variometers
  • 1 m cable length

3. Software Setup in XCSoar

After achieving the physical connection of the external device, you need to setup the software.

First of all, you need to power on the OpenVario and let it boot into XCSoar.

  1. Hit the menu button (M on Rotary Module or Remote Stick; F1 on a USB Keyboard).
  2. Enter the Device menu. You can navigate with the joystick on the remote stick, with the encoders on the Rotary Module or use the arrow keys on a USB Keyboard. Hit return on the Keyboard or use the center push button of the Joystick/ Encoder to enter the device menu.

Now you are in the device menu, which should look like this:

As you can see in the screenshot above, you have the option to configure 6 different devices in XCSoar. Device A has the highest priority. If a higher priority device does not provide specific information or fails, the next lower priority device will be used to feed XCSoar with data.

If you use the integrated pressure sensor unit of the OpenVario, Device A must be OpenVario on TCP port 4352. This is important because otherwise you can not change the volume and MC setting. [If you really want to have OpenVario as Device B..C…, then you need to change the XCI file]

If you have no pressure sensor unit installed, you can disable or override Device A.

To navigate in this menu, you can use the arrow keys and return (or the equivalent keystrokes on the input devices). But it may be easier to use a USB mouse for the basic setups on the ground.

Ok, let´s dive into the important settings, where you most probably need to change something:

Flarm

Connecting the Flarm is relatively easy when you know exactly to which port you connected the Flarm (ttyS1 or ttyS2 when connected to RJ45; ttyS3 when connected to D-Sub) and at which baudrate the Flarm sends data. The baud rate of the Flarm can be configured in the Flarm device. Please have a look in the manual of you Flarm device.

If you don´t know the baudrate at which the device is sending data, you can try all baud rates in XCSoar. You can also use the monitor feature in this menu, where you can see the NMEA data stream. If you have selected the correct baud rate, you will see a readable data stream. With a wrong baud rate, you will only see random numbers and letters.

After selecting the correct Port, Baud rate and Driver, hit OK. Now you should see, that Flarm is connected.

KRT2 Radio

In XCSoar 7.0 beta version, there is a driver included for the KRT2 radio. When you have connected the radio to the OpenVario, you are able to select a waypoint (airport) and send the frequency to your radio. Therefore it is important to have a up-to-date waypoint file with frequencies. This is only an “assistance” and you must be able to controle the radio directly (no hidden mounting of the radio allowed!)

For connecting the KRT2 radio, we can recommend to use ttyS3 on the D-Sub connector, because you will need to build a custom cable. The baud rate of the KRT2 is 9600 and not changeble.

LX Nav Standalone variometers

Connecting LX Nav or other standalone variometers to the OpenVario is also possible. Make sure to use the correct cable!

The baud rate at LX Nav S8x & S10x devices is configurable. Please have a look at the manual.

Select LXNAV as driver.

4. OpenVario Doubleseater configuration

It is also possible to use two seperate OpenVario devices in a doubleseater. In this setup, you only need one pressure sensor unit and can connect both devices with a serial crossover cable (see schematics at the beginning). Usually all serial devices are connected to the front OpenVario unit and then the complete data is forwareded as one NMEA data stream to the back seat device.

On the front seat, you declare one port as NMEA Output and keep in mind the baud rate e.g. 19200.

At the rear device, you can configure different devices with the same port and the same baud rate e.g.:

  • Device A, Device: OpenVario, Port: ttyS1, Baud rate: 19200
  • Device B, Device: Flarm, Port: ttyS1, Baud rate: 19200

5 Comments

Pelle
It is possible to use a FUNKE radio if you dont have a KRT2. You can send the airport freqvenses from OV to the radios as a standby or active freqvency.
Jakub
Do you know how to solve Flarm (RedBox) connection with flarm display please ? Output 1 from Flarm to OV and output 2 to Flarm Display... Is here Flarm Splitter is necessary ?
    Stefan
    If the RedBox Flarm has only one serial port, you need to use a splitter. It is important that only one device (Flarm display or OpenVario) is able to send data to the Flarm. Otherwise it won´t work properly. The easiest method is to use a switch at the RX line of Flarm, where you can select the Flarm display or OpenVario.
Paolo
You would be able to build one with the touch display?
    Stefan
    Yes, it is possible to connect a resistive 4 wire touch panel to the OpenVario. A optically bonded touch solution will be available soon for the 7" OpenVario.

Leave Reply

Ihre E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.