Muts Posted July 19, 2019 Posted July 19, 2019 (edited) Hi All I started to make the first steps with DCS Bios. I have an Arduino Mega with an simple Swith On-Off. I see on the DCS Bios the Command when I change the position of the Switch. My Problem is, there is no communication to DCS. I see the "Waterfall of text" when DCS is running, but the command arrives not in the Cockpit. I use the Steam Edition 2.5.5 beta. Is the Setup different in comparsion to the stand alone? DCS is not on the same HD like Windows. Could it be the switch (https://www.pollin.de/p/kippschalter-mts-101-a2-420430) Are there any switch es which are not compatible? Thx for Help Edited July 19, 2019 by Muts
Hansolo Posted July 19, 2019 Posted July 19, 2019 Hi Muts, I haven't been running Steam version for years but from your description it sound like; 1. You have connection to Arduino Mega via connect-serial-port as the commands show up when you flip the switch. 2. You also have connection to DCS as you get the waterfall of communication lines once DCS is running. Are you sure that you have used the correct command reference for the air frame you fly? E.g. landing gear in the A-10C is DcsBios::Switch2Pos gearLever("GEAR_LEVER", PIN); Whereas in the F-14B it's; DcsBios::Switch2Pos pltGearLever("PLT_GEAR_LEVER", PIN); As you can see the text is different, thus if you fly for a different air frame than what you have set in the Arduino cde it won't work. Sorry not much help. Cheers Hans 132nd Virtual Wing homepage & 132nd Virtual Wing YouTube channel My DCS-BIOS sketches & Cockpit Album
Muts Posted July 21, 2019 Author Posted July 21, 2019 Hi Muts, I haven't been running Steam version for years but from your description it sound like; 1. You have connection to Arduino Mega via connect-serial-port as the commands show up when you flip the switch. 2. You also have connection to DCS as you get the waterfall of communication lines once DCS is running. Are you sure that you have used the correct command reference for the air frame you fly? E.g. landing gear in the A-10C is DcsBios::Switch2Pos gearLever("GEAR_LEVER", PIN); Whereas in the F-14B it's; DcsBios::Switch2Pos pltGearLever("PLT_GEAR_LEVER", PIN); As you can see the text is different, thus if you fly for a different air frame than what you have set in the Arduino cde it won't work. Sorry not much help. Cheers Hans Thanks for your support. I found on saved games /dcs/logs the dcs-bios log with following message: value 466.000000 is too large for address 1034 mask 511 value 466.000000 is too large for address 1034 mask 511
lesthegrngo Posted July 22, 2019 Posted July 22, 2019 Guys, when I started using DCS bios I also started with the Steam version of DCS, and could not get it working. Once I installed the non Steam version it worked fine. Hope this helps Cheers Les
Muts Posted July 23, 2019 Author Posted July 23, 2019 I found the problem. I changed the baud rate and now, it works!
Hansolo Posted July 23, 2019 Posted July 23, 2019 Baud rate?? Which version of DCS-BIOS are you running? IIRCC you could only change the Baud rate on the first versions of DCS-BIOS, but can be mistanken. Cheers Hans 132nd Virtual Wing homepage & 132nd Virtual Wing YouTube channel My DCS-BIOS sketches & Cockpit Album
Muts Posted July 23, 2019 Author Posted July 23, 2019 I changed the baud rate on the arduino software under serial monitor.
Recommended Posts