ABOUT, PROJECTSBLOG COMMUNITY TERMS of Use BARON 58

<<<      Digital Output/Indicators in SimVimCockpit

Using SimVimCockpit you can configure any Arduino pin as a single digital output (such as LED), or as a serial output with a 16-bit LED driver (or registers) connected to this pin. This will allow you to add as many annunciators (and other digital signals) as needed for your cockpit.

If your panel has just a few annunciators, you can simply connect the LEDs (or or other digital devices) directly to Arduino pins, taking in account some limitations as described on this tech guide page.

Serial Digital Output

Unlike ArdSimX interface, SimVimCockpit supports multiple serial outputs, that is, you can assign as many output pins for this type of output as you need. Every controller pin that is assigned as serial output controls 16 LEDs or other digital devices (relays, drivers, etc).

To provide extended digital output you should use LED driver DM13A or other similar IC (you can see the list of such drivers on the "Components" section). This driver is a shift register with a latch (memory), that also provides 16 constant-current outputs for 16 separate LEDs or LED bars.

As an option, two 8-bit 74HC595 registers can be used instead, as described on the tech guide pages. But no doubt, using the 16-bit LED drivers is more efficient and doesn't require a lot of current-limiting resistors as in case of simple shift registers.

As such, you can make several separate modules located in different areas of your cockpit. Each module has 3 input signal lines (besides power lines). You need to connect the "PIN" input to the Arduino pin assigned for extended output. Two other signal inputs - "D" and "L" - should be connected to the corresponding common bus lines ("D" and "L" output signals). More information about digital output use read on the tech guide pages.



Configuration

In the configurator, select any parameter suitable for digital output (such as annunciator) or variable parameter for linear LED graph indicator, and assign it to a digital pin (if direct connection is ued) or to one of the LED Driver output (from 0 to 15).

Remember, you should select the "LED driver extension", not the "Output Mux" in the configurator, when assigning output pin for serial LED extension!

Options - LED Graph Indicator

To display some parameter value as a linear or circle graph indicator you can assign it as multiple LEDs in the configurator. For this, you have to select only the output number to which the first LED will be connected and then insert the number of LEDs your indicator includes.

All LEDs forming this indicator should be connected to the first specified digital output and all consequent outputs without skip. You can use either separate LEDs arranged in the form you need (circle or linear) or a LED bar graph indicator.


Note: The LED bar display modules with built-in voltage-controlled driver (like LM3914N) can not be used with digital outputs - you need to use PWM-controlled output for such displays instead.

Extended Serial Output (optional)

To reduce the number of pins occupied, you can connect control input of the LED driver to a spare output of multiplexer used for 7-segment displays:

Note that this configuration option is not added in the configurator, and if you need you can assign it manually, adding the MUX output number between the pin number and the LED number:

L40.10.6       Nose_Gear_Green_ANN





© Copyright 2012-2018 - SimVim Design