Jump to content

DCS BIOS switches with cover - need help :)


Recommended Posts

Posted

Hello guys,

 

i am starting to play with arduino, homebuilding my F-18 cockpit.

 

I come to an issue with switches with cover like GEN TIE RESET or GAIN on FCS panel. I have the cover but the cover does not send any signal. And you cannoy use switch if the cover in DCS is closed.

 

So is there a way to make one button click ON-OFF switch to ON to both open cover and the press switch and back moving switch to OFF close cover (this would off the switch).

 

Can i do it on arduino without going to LUA?

 

Thank you

Posted
Hello guys,

 

i am starting to play with arduino, homebuilding my F-18 cockpit.

 

I come to an issue with switches with cover like GEN TIE RESET or GAIN on FCS panel. I have the cover but the cover does not send any signal. And you cannoy use switch if the cover in DCS is closed.

 

So is there a way to make one button click ON-OFF switch to ON to both open cover and the press switch and back moving switch to OFF close cover (this would off the switch).

 

Can i do it on arduino without going to LUA?

 

Thank you

 

Hi Marek,

 

I have an elegant solution. You can put a Hall Sensor above the switch cover and then a small magnet attached to the cover above the pivot. When you lift the cover, the magnet will activate the switch cover in DCS. Yes, it uses a pin on the arduino, but it is great for authenticity.

 

Mole

SCAN Intel Core i9 10850K "Comet Lake", 32GB DDR4, 10GB NVIDIA RTX 3080, HP Reverb G2

Custom Mi-24 pit with magnetic braked cyclic and collective. See it here: Molevitch Mi-24 Pit.

 

[sIGPIC][/sIGPIC] www.blacksharkden.com

bsd sig 2021.jpg

Posted

Thanks :) but still I am looking more for software solution. I will lift cover physically in my cockpit and will fly without seeing virtual cockpit.

 

So guys, any idea how to tell DCS bios to both lift cover and flip switch based on single pin?

Posted

Well does anybody knows how exacatly DCS BIOS work? e.g. GEN TIE SWITCH code:

-- 15. Generator Tie Control Switch

defineToggleSwitch("GEN_TIE_COVER", 3, 3007, 379, "Generator Tie Control Switch", "Generator TIE Control Switch Cover, OPEN/CLOSE")

defineToggleSwitch("GEN_TIE_SW", 3, 3006, 378, "Generator Tie Control Switch", "Generator TIE Control Switch, NORM/RESET")

 

What is the meaning of these 3 numbers 3, 3006, 378?????????

 

Thanks guys

Posted

Well, since in the real a/c the cover is just a cover, authenticity would mean being able to disable the cover commands in software and just rely on the cover for mechanical protection.

 

I didn't read through the thread that JG14_Smil linked, it might be what he meant...

 

I have an elegant solution. You can put a Hall Sensor above the switch cover and then a small magnet attached to the cover above the pivot. When you lift the cover, the magnet will activate the switch cover in DCS. Yes, it uses a pin on the arduino, but it is great for authenticity.

  • 1 year later...
Posted

I have a solution using software called SVMapper - There is a link to it on here.

This software runs parallel with DCS and sees the boards (Leo Bodnar BU0836A for example) the switch is connected to.  

Use a Momentary-Off-ON switch.  The cover forces the switch to Mom.  When to cover is lifted the switch moves itself to Off. This can be detected by SVMapper and used to send the keyboard Command for Cover Up.  

The switch can now be moved to ON

When the cover is closed the switch is forced to Mom and SVMapper can detect this and send the keyboard command for Cover Down.  

I also use this for the Spin Recovery switch.   

  • Recently Browsing   0 members

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