Jump to content

Recommended Posts

Posted

Hello,

 

If building a pit with scratch-built flight controls using Arduino cards, are the analogs controlled through DCS_BIOS or would these be outputted as a HID controller? I know advanced coding would be needed and this is only for future reference. Just curious how it would work.

 

Thanks for any input.

Posted

From my understanding while building my cockpit, any Analog inputs such as potentiometers, should have a command within DCS-BIOS. Which aircraft are you building your cockpit for? As an example, this is the command from DCS-BIOS for the A-10C console lights.

DcsBios::Potentiometer lcpConsole("LCP_CONSOLE", PIN);

A-10C - FC3 - CA - L-39 - UH1 - P-51 - Hawk - BS2 - F-86 - Gazelle - F-5E - AV8B - F/A-18C

i5-4590 - GTX 1060 - Oculus CV1 - TM:Warthog

[sIGPIC]http://forums.eagle.ru/signaturepics/sigpic9979_1.gif[/sIGPIC]

Posted

I believe Ian stated somewhere long time back that he recommended flight controls through HID/joystick controllers as DCS-BIOS may not be fast enought.

 

Secondly when using analog inputs on Arduino's you may have to do some filtering of the input as the communication otherwise get flooded. If you run a single Arduino over USB then this probably isn't an issue, but if you run multiple over RS485 you risk delay in other signals if you flood the communication.

 

I also had flooding occur on Helios back when I used this so it's not a culprit of DCS-BIOS. It may also have been hardware (potentiometer) related at that time but I had (with Helios) up to 10 sec delay on switches when running potentiometers.

 

Cheers

Hans

  • Recently Browsing   0 members

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