ABOUT, PROJECTSBLOG COMMUNITY TERMS of Use BARON 58 SimVimPanel Status, plans SimVimCockpit HOME

<<<      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.

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 just a register with a latch, that provides 16 constant-current outputs for 16 separate LEDs or LED bars. Also, two 8-bit 74HC595 registers can be used instead, as described on the tech guide pages

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), 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 connect the LED driver or register to the pin marked as "LED Driver" extension, not to the multiplexer outputs!

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 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 bar LED display modules with built-in voltage-controlled driver (like LM3914N) can not be configured as simple LED bar in SimVimCockpit - you need to use PWM-controlled output for such displays. Also, the MY9221 driver cannot be used. All you need for such simple indicators for your panel is a sheap shift registers (HC595 or DM13A driver and similar chips)

Connection Options

Extended Serial Output

To reduce number of wires and pins occupied, you can connect LED driver (DM13A or other similar drivers) or shift registers to one of the multiplexer outputs:

This configuration option is not added in the configurator yet, but 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



Direct Digital Output

If your panel has just a few annunciators, you can just connect the LEDs directly to Arduino pins

  1. You can simply connect a low-power LED to any pin (anode) and ground (cathode) with a series resistor (Rn), which can range from 100 Ω to 1 kΩ, depending on the operating current of the LED and the brightness that you need.
  2. If you need to control a high-power LED (more than 40mA) or several parallel LEDs (or filament lamp), you can use either MOSFET or relay as power switch.
  3. Also, a power driver can be used for a high current LED group, including driver with controlled power. For example, it can be a group of LEDs used as lighting for instruments.




© Copyright 2012-2018 - SimVim Design