Jump to content

Chickenbone72

Members
  • Posts

    19
  • Joined

  • Last visited

About Chickenbone72

  • Birthday 08/26/1972

Personal Information

  • Flight Simulators
    FSX, DCS World FC3, F/A-10, F/A-18, F-5, F-14, F-15, F-16, M2000, AV-8B, UH-1, KA-50, Nevada, Persian Gulf, Super Carrier
  • Location
    Tasmania, Australia
  • Interests
    Combat Flight Simpits
  • Occupation
    Mechanic

Recent Profile Visitors

782 profile views
  1. An update to my issues with DCS-BIOS not responding(crash)15 min or less in to flight when running 10 Arduino's (1 uno 3 nano 6 mega). I took out the Uno that drives my A-10C CDU and ran dcs for over 2.5 hrs no crash then ran just my uno for CDU and also ran with no issues for over 2 hrs. Am I running to many Arduino's? Any help would be greatly appreciated most of my ino files are below DCS_CDU_DISPLAY.ino IRQSerialVHFRadio1_3.ino IRQSerialRightConsoleNanoTACANDisplay.ino IRQSerialRightConsoleMega3.ino IRQSerialRightConsoleMega2.ino IRQSerialLeftConsoleMega_2.ino IRQSerialLeftConsoleMega_1.ino A10C_CLP_2.ino
  2. Have you created the export.lua ? should look somthing like this local dcsRg=require('lfs');dofile(dcsRg.writedir()..[[Scripts\DCS-raygun.lua]]) BIOS = {}; BIOS.LuaScriptDir = [[C:\Program Files\DCS-BIOS\dcs-lua\]]; BIOS.PluginDir = [[C:\Users\chick\AppData\Roaming/DCS-BIOS/Plugins\]]; if lfs.attributes(BIOS.LuaScriptDir..[[BIOS.lua]]) ~= nil then dofile(BIOS.LuaScriptDir..[[BIOS.lua]]) end --[[DCS-BIOS Automatic Setup]] dofile(lfs.writedir()..[[Scripts\Helios\HeliosExport16.lua]]) pcall(function() local dcsSr=require('lfs');dofile(dcsSr.writedir()..[[Mods\Services\DCS-SRS\Scripts\DCS-SimpleRadioStandalone.lua]]); end,nil); must use note++ to edit lua files then check that dcs bios finds you install
  3. Previously on wrong thread I posted about dcs bios stops responding. I have 10 Arduino 1 uno 2 nano 7 megas running so I started unplugging one at a time and running Dcs I found that the uno with 3.5 led display for CDU were causing the crash. I am going to test with new uno and new 3.5 display. I am going post results as soon as I can. If anyone has had some of the same or similar issue I would like your input thx
  4. Look out for "elce" commands. Some controls have them like the f14 refuel probe . My 3 position switch is on off on so signal in up and down but none when in the middle so command inside of DCS is fuel all else fuel fuselage, and fuel probe in elce fuel fuse.
  5. So looking at your card your ground to line in on switch. Should be center tab on switch(check your documentation for switch) top tab to it's own terminal on card and bottom tab to it's own terminal on card. Should show as button press up and different button press when down
  6. To kenpilot Is your controler card showing inside of game? There should be 3 tabs on back of switch or 2 or maybe 6 depending on type of switch, so with the 3 or 6 tabs center tab is signal in then top and bottom tab is signal out. With 2 tab it doesn't matter which one you use for signal in. A picture of your wire job would be helpful. I use arduinos and dcs-bios but that is a whole new ball of worms.
  7. switched everything over to 2 powered USB 2.0 hubs. still getting dcs bios stopping 10 to 15 minutes in.
  8. My arduinos are also running on 2 powered USB 3.0 hubs. Going to try running in two powered USB 2.0 hubs. I'll post my results.
  9. I am also having issues with the DCS-BIOS hanging up with multiple Coms open (10) tried with just one com and ran with no issues for an hour+ . anyone know of a fix for this issue?
  10. ok i went to a mega and this code. turns out the uno was FUBAR code working fine. thank you BoboBear #include <Wire.h> #include <SparkFun_Alphanumeric_Display.h> //Click here to get the library: http://librarymanager/All#Alphanumeric_Display by SparkFun HT16K33 display; // include DCS-BIOS Arduino library #define DCSBIOS_IRQ_SERIAL #include "DcsBios.h" void onTacanChannelChange(char* newValue) { // when we get new data for the TACAN channel, write it to the display // you might need to reverse the display (go from newValue[3] to // newValue[0]) if it is the wrong way around. display.clear(); display.printChar(newValue[0], 0); display.printChar(newValue[1], 1); display.printChar(newValue[2], 2); display.printChar(newValue[3], 3); display.updateDisplay(); } DcsBios::StringBuffer<4> tacanChannelBuffer(0x1162, onTacanChannelChange); void setup() { display.begin(); display.setBrightness(12); display.clear(); Wire.begin(); //Join I2C bus DcsBios::setup(); } void loop() { DcsBios::loop(); }
  11. Also tried this one and no info coming up exept the " BIT" i have it printing for 1 sec #include <SparkFun_Alphanumeric_Display.h> //Click here to get the library: http://librarymanager/All#Alphanumeric_Display by SparkFun HT16K33 display; #include <Wire.h> #define DCSBIOS_IRQ_SERIAL #include "DcsBios.h" /* paste code snippets from the reference documentation here */ void onTacanChannelChange(char* newValue) { /* your code here */ display.print(0, newValue[0]); display.print(1, newValue[1]); display.print(2, newValue[2]); display.print(3, newValue[3]); display.updateDisplay(); DcsBios::StringBuffer<4> tacanChannelBuffer(0x1162, onTacanChannelChange); } void setup() { Wire.begin(); //Join I2C bus display.begin(); display.setBrightness(14); DcsBios::setup(); // write something to the display // so you see something before data is received display.print(" BIT"); delay(1000); display.clear(); } void loop() { DcsBios::loop(); }
  12. this code compiles but no display when connected to DCS Bios #include <Wire.h> #include <SparkFun_Alphanumeric_Display.h> //Click here to get the library: http://librarymanager/All#Alphanumeric_Display by SparkFun HT16K33 display; #define DCSBIOS_IRQ_SERIAL #include "DcsBios.h" /* paste code snippets from the reference documentation here */ void onTacanChannelChange(char* newValue) { /* your code here */ display.printChar(newValue[0], 0); display.printChar(newValue[1], 1); display.printChar(newValue[2], 2); display.printChar(newValue[3], 3); display.updateDisplay(); DcsBios::StringBuffer<4> tacanChannelBuffer(0x1162, onTacanChannelChange); } void setup() { Wire.begin(); //Join I2C bus display.begin(); DcsBios::setup(); } void loop() { DcsBios::loop(); }
  13. :helpsmilie: I have purchased a 14 segment display https://core-electronics.com.au/qwii...splay-red.html and am having trouble get it to work in dcs for the A-10C TACAN. I am able to use the basic arduino / Sparkfun code and get display to function in arduino. but cant work out how to get it to work in DCS-BIOS. I'll paste what I am working with so far but nothing displaying on display. other arduinos are working fine, so DCS and Bios are installed correctly, any help or code would be greatly appreciated i have Arduino mega's , uno's and nano's /* Tell DCS-BIOS to use a serial connection and use interrupt-driven communication. The main program will be interrupted to prioritize processing incoming data. This should work on any Arduino that has an ATMega328 controller (Uno, Pro Mini, many others). */ #include <Wire.h> #include <SparkFun_Alphanumeric_Display.h> #define DCSBIOS_IRQ_SERIAL #include "DcsBios.h" HT16K33 display; /* paste code snippets from the reference documentation here */ void onTacanChannelChange(char* newValue) { /* your code here */ display.write(0, newValue[3]); display.write(1, newValue[2]); display.write(2, newValue[1]); display.write(3, newValue[0]); } DcsBios::StringBuffer<4> tacanChannelBuffer(0x1162, onTacanChannelChange); void setup() { display.begin(); DcsBios::setup(); } void loop() { DcsBios::loop(); }
×
×
  • Create New...