Treker Posted January 31, 2022 Share Posted January 31, 2022 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 More sharing options...
agrasyuk Posted January 31, 2022 Share Posted January 31, 2022 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 More sharing options...
Treker Posted January 31, 2022 Author Share Posted January 31, 2022 (edited) USB interface. Didn't know there were other versions. At the moment I'm using version from here: https://dcs-bios.readthedocs.io/en/latest/ I also using chrome. Flightpanels - Just watched video... This is only Saitek/Logitech Flight Panels & Stream Deck.. right? Edited January 31, 2022 by Treker Link to comment Share on other sites More sharing options...
Treker Posted January 31, 2022 Author Share Posted January 31, 2022 (edited) I don't have this options: 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 January 31, 2022 by Treker Link to comment Share on other sites More sharing options...
No1sonuk Posted January 31, 2022 Share Posted January 31, 2022 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. 1 Link to comment Share on other sites More sharing options...
agrasyuk Posted January 31, 2022 Share Posted January 31, 2022 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 More sharing options...
No1sonuk Posted February 1, 2022 Share Posted February 1, 2022 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 More sharing options...
No1sonuk Posted February 2, 2022 Share Posted February 2, 2022 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 More sharing options...
Treker Posted February 2, 2022 Author Share Posted February 2, 2022 @No1sonuk thank you. I used Flightpanes version and made it work LED lights up... 1 Link to comment Share on other sites More sharing options...
Recommended Posts