ABOUT PROJECTBLOG COMMUNITY TERMS of Use BARON 58 SimVimPanel ArdSimX SimVimCockpit HOME

<<<      Multi-position switch Input

Same as in our previous interfaces (ArdSimX, XPData ..), you can either use an analog input for a single rotary switch, that has a divider with several resistors, as described on this page, or a group of digital pins.


However, since SimVimCockpit supports multiple extensions, when assigning multi-position linear or rotary switches in SimVimCockpit, you can simply use a group of extended digital inputs, when one input is assigned for each switch position.

So, one Arduino digital pin can be used for several rotary switches along with other buttons/switches.

Connection

You can select any pins for one switch position in any order, but more likely you would choose one sequential set of inputs, when input pins are positioned one-by-one. Pre-defined rotary switches stricly use only sequential inputs.

In SimVim Configurator most of the commonly used rotary switches are pre-defined as "macros" to ease configuration process. When you select a parameter from the list which is pre-defined as multiposition switch and select the first input number the configurator assigns the next several sequential inputs according to the number of positions.

If you need to assign not pre-defined rotary switches you should configure it the same way as set of momentary buttons - just select parameter for each position from the table and configure each position as "push-button" input in the configuration tool.

By the way, a multi-position switch can be just a group of push-buttons for some equipment when each button switches this device into specific mode.



Analog Input for multi-position switch

Instead of several digital inputs you can use one analog input for one rotary switch. First, you need to modify a suitable rotary switch to work as analog position sensor as described on this page.


Configuration




© Copyright 2012-2018 - SimVim Design