Jump to content

DCS Bios begginer question


Treker

Recommended Posts

Hi all, 

this is my first plunge into DCS bios.

I installed DCS bios, but "DCS connection" remained gray. Virtual cockpit is green and when I click button in cockpit (Mirage) I can see response in Control Reference page. Also on Arduino I can see Tx led flashing when flying...So it is some sort of connection.

Arduino (Mega 2560) is connected to COM3.

My test script:

/*
  Tell DCS-BIOS to use a serial connection and use the default Arduino Serial
  library. This will work on the vast majority of Arduino-compatible boards,
  but you can get corrupted data if you have too many or too slow outputs
  (e.g. when you have multiple character displays), because the receive
  buffer can fill up if the sketch spends too much time updating them.
  
  If you can, use the IRQ Serial connection instead.
*/
#define DCSBIOS_DEFAULT_SERIAL TRIED also #define DCSBIOS_IRQ_SERIAL

#include "DcsBios.h"

/* paste code snippets from the reference documentation here */
DcsBios::LED insDestSw(0x72c0, 0x8000, 12); -- tried also pin 13, but LED is constantly on
void setup() {
  DcsBios::setup();
}

void loop() {
  DcsBios::loop();
}

Copied script to Export.lua. I opened ports in windows firewall 5010 (TCP and UDP), no change. Arduino is 100% working as I had it in another project. Also did "Blink" test. Disabled Microsoft antivirus.. no luck.

What am I missing?

Link to comment
Share on other sites

Quote

installed DCS bios, but "DCS connection" remained gray.

What interface are you referring to? Are you using flightpanels version of DCSBIOS?

Will be watching this thread since I also started experiencing connectivity issues this weekend. Chrome monitoring dev-app has connectivity, game parameters are visible. SOCAT connects, I see data lines moving. But there is no response on the Arduino flashed with a simple master caution script.

The reason I looked at it is that my A10 CMSC stated showing corrupt characters Friday. It would load proper text initially, but then slowly characters will get corrupt . I suspected faulty RS485 chip and attempted to troubleshoot that by connecting via serial,  It almost looks like SOCAT is corrupting the message. I've yet to resolve

 

Anton.

 

My pit build thread .

Simple and cheap UFC project

Link to comment
Share on other sites

I don't have this options:

dcsconnection.png

And looking at DCS-BIOS.log

Looks like this

Util.lua: value 398.000000 is too large for address 1078 mask 511
Util.lua: value -13108.000000 is too small for address 29206 mask 65535
Util.lua: value -39322.000000 is too small for address 29210 mask 65535
Util.lua: value -13108.000000 is too small for address 29516 mask 65535
Util.lua: value -13108.000000 is too small for address 29518 mask 65535
Util.lua: value -13108.000000 is too small for address 29516 mask 65535
Util.lua: value -13108.000000 is too small for address 29518 mask 65535
Util.lua: value -13108.000000 is too small for address 29516 mask 65535
Util.lua: value -13108.000000 is too small for address 29518 mask 65535
Util.lua: value -722.000000 is too small for address 29360 mask 65535
Util.lua: value -13108.000000 is too small for address 29516 mask 65535
Util.lua: value -13108.000000 is too small for address 29518 mask 65535

and goes on ....

 


Edited by Treker
Link to comment
Share on other sites

4 hours ago, Treker said:

Flightpanels  - Just watched video... This is only  Saitek/Logitech Flight Panels & Stream Deck.. right?

No.  There is a "standard" Arduino library as well.  One that is more up to date than the "Hub" version you are using.
Flightpanels is also actively updated.  Hub currently isn't.

  • Like 1
Link to comment
Share on other sites

https://github.com/DCSFlightpanels/dcs-bios

This is the maintained DCS BIOS branch. It doesn't have equivalent of Hub application, it uses SOCAT instead.

 

My normal workflow was: code and program arduino boards on my desktop PC with the legacy BIOS version, and connect to dedicated flight PC running the latest Flightpanels version of BIOS. Worked fine until this weekend, I still haven't resolved the issue. 

4 hours ago, No1sonuk said:

 

@No1sonuk

Curious do you have your DCS BIOS solution operational after the Thursday update? Can I bother you for a screenshot of your SOCAT console while it is running? 

 

Anton.

 

My pit build thread .

Simple and cheap UFC project

Link to comment
Share on other sites

2 hours ago, agrasyuk said:

@No1sonuk

Curious do you have your DCS BIOS solution operational after the Thursday update? Can I bother you for a screenshot of your SOCAT console while it is running? 

 

I've not tried anything for a while. I'll have a look after work (it's 1:15am Tuesday right now).

Poke me if I forget and don't respond by Wednesday.  😉

Link to comment
Share on other sites

On 1/31/2022 at 11:09 PM, agrasyuk said:

@No1sonuk

Curious do you have your DCS BIOS solution operational after the Thursday update? Can I bother you for a screenshot of your SOCAT console while it is running? 

I just downloaded the latest DCS-BIOS FP version from Github and tried the Master Caution example sketch on the A-10CII. It worked perfectly.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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