Jump to content

DCS-BIOS Arduino + 7 segment led, 3-position tiltswitches etc.


Recommended Posts

Posted (edited)

hi!

 

I'm wanna build a a MiG-21bis cockpit, and learning with Arduino + DCS-BIOS along the way. My electronics knowledege is like.. near nothing :P

Now just sorta getting the hang of it, but have some questions..

 

1. Wiring 7 segment displays;

1.1. A 7 segment display for RSBN-channelNr display.. however its a NIGHTMARE with all the wires. I do have a 74HC595 shift registerchip. Which still requires an ungodly number of wiring.

Does anyone know of an I2C solution for 7-segment displays, relieving me of the over-wiring? I bought a 'switchdoclab' GPIO-boardwhich is I2C. However its got 6 IO-pins which probably isnt enough..

 

1.2. Could a (realtime) clock display perhaps be misused as 7-segemnt display?

 

1.3. How would i wire a 4-digits 7-segment display which has 12-pins?

 

 

2. Weapon selector dial, ARK-station selector?

This seems rather complicated.

 

const byte wpnSelPins[11] = {PIN_0, PIN_1, PIN_2, PIN_3, PIN_4, PIN_5, PIN_6, PIN_7, PIN_8, PIN_9, PIN_10};
DcsBios::SwitchMultiPos wpnSel("WPN_SEL", wpnSelPins, 11);

 

SUGGESTION: maybe misuse a potentiometer with stepper values?

 

3. A 3-position tiltswitch.. navigation mode, weapon mode-selector.

Which switch can i use?

 

DcsBios::Switch3Pos irSarNeu("IR_SAR_NEU", PIN_A, PIN_B);

What does it look like? What values can be read from it? Any partnumers?

 

TIA!

Edited by pappavis

met vriendelijke groet,

Михель

 

"умный, спортсмен, комсомолетс"

 

[sIGPIC]159th_pappavis.jpg[/sIGPIC]

 

[TABLE]SPECS: i9-9900K 32gigs RAM, Geforce 2070RTX, Creative XFi Fata1ity, TIR5, Valve Index & HP Reverb, HOTAS Warthog, Logitech G933 Headset, 10Tb storage.[/TABLE]

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...