Jump to content

Dadzilla74

Members
  • Posts

    52
  • Joined

  • Last visited

About Dadzilla74

  • Birthday 07/13/1974

Personal Information

  • Flight Simulators
    DCS & P3D
  • Location
    Australia
  • Interests
    Flight Sim, snooker
  • Occupation
    Account manager across Australia,New Zealand and Fiji.

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. https://www.youtube.com/watch?v=FYr4yIk01-o This uses 2 Arduino mega boards and multiple displays. If you would like any information let me know.
  2. Hi Guys, FYI. I have done some tests with LOTATC and the IFF modes 1&3 work. Mode 1 allows a two digit code for the aircraft type and the Mode 3 allows a 4 digit squawk code. These can be sent to LOTATC using the I/P button on the UFC or the Indent button on the SRS radio toggle. This will allow atc to find you quickly and know the airframe you are (if your server has assigned mode 1 codes for the different airframes) If in a group flight ATC will assign numeric squawk codes for each flight to show up as a group. Mode 2 is another 4 Digit code that can be inputted yet still working out the why, how and when to use mode 2.
  3. Guys, I would just like to say thankyou for the discussion and its great to see the passion we have to make the F-18 as realistic as possible. Lets hope ED notices this and tries to spend some time on the IFF systems and explanations.
  4. Its a pity that this is not explained very well in any of the DCS documents or manuals. Wags did not know much about this either. Thanks for all your help.
  5. Looking for F-16, F-18, F-15 and F-14 Pilots Hello all! We are a virtual coalition group under the name DCS ANZUS a group based on the Australia, New Zealand and United states defence treaty. ANZUS is currently recruiting for F-14, F 18, F-15, F-16 pilots AND ATC Controllers, whether you are new or experienced! Our goal is to operate as close as possible to the Royal Australian Air Force and United States Navy. We operate in AEST and EST time zones and welcome all members of all countries. What can you expect out of us? We run a 24/7 Dedicated Server that is configured with SRS, ATC and ATIS for realism. Personalized training times and topics to suit you. We run joint operations with each other to build experience We have planned our squadrons mission and are devoted to making this the best experience for not only ourselves, but for others as well. WE DO offer training and help setting up systems such as SRS. A basic check ride will be needed before acceptance into a squadron. This would normally take a beginner 30 Days. Essentially, if you can fly and know the systems, you're in! We are very welcoming people. We strive for a stress-free environment. And care about thoughts and ideas of others. Helicopter Squadrons for both Australian and United States members are coming soon We run Missions and Squadron training and are looking at running campaigns in the future. Most group activities occur at 1300 AEDT Sunday’s / 2100 EST Saturday. We have a dedicated scripted server and have Skins for each squadron and look forward to seeing you guys join. If you have any other questions, join our discord and reach out to Dadzilla or Porcupine. See you soon. http:// https://discord.gg/fzxTdH2
  6. Thanks Mate, I will test that out. At least I now know how to set the Squark code into Mode 3 if ever requested.
  7. Thank everyone for the responses. "XP is Transponder - the modes your IFF will squawk to others. You can set codes for modes 1,2,3( and 3A), and either A or B mode 4." In missions/multiplayer servers, do we ever need to set our own Squark codes for modes in the above comment?
  8. Hi Guys, I only just noticed that if you turn the IFF on it is set to XP mode, and if you hit Iff again it changes to AI mode. Does anyone know the difference in modes?
  9. Hi, Just thinking it would be good if we could go and change settings/Environment of a live server. If there a two f-18 flying around I could go in, place a truck not far from them and task them with destroying the truck or have a two ship pop up surprise attack set upon them etc
  10. Hi Guys, With the different options now available, it would be good to know the proper procedures that F-18 pilots follow to align in Normal R/L Startup VS Scramble Startup
  11. Hi Guys, Just wondering if in the F-18 the TDC will be scripted to select the settings on the pages such as the SA page. I know it can be used to select the distance view in the Attackradar page but nothing else. If this is all it does in real life then thats ok. Would be good to select those settings without taking hands off.
  12. Hi Ian, Sorry as I have deleted the Slave and master script and will use two Arduino via USB Hub. To try and make things clear, I had the master set up using the RS 485 Chip and the Slave set up using another RS 485 Chip in which they communiacted to each other. The display I am using will run all the UFC Menu items and selector icons such as ; void onUfcOptionDisplay1Change(char*newValue) { u8g2.setCursor(0,0); u8g2.setFont(u8g2_font_crox3cb_tr); u8g2.setDrawColor(0); u8g2.drawBox(5, 0, 61, 15); u8g2.setDrawColor(1); u8g2.drawStr(5, 15, newValue); } DcsBios::StringBuffer<4> ufcOptionDisplay1Buffer(0x542a, onUfcOptionDisplay1Change); void onUfcOptionCueing1Change(char* newValue) { u8g2.setCursor(0,0); u8g2.setFont(u8g2_font_samim_16_t_all); u8g2.setDrawColor(0); u8g2.drawBox(0, 0, 4, 15); u8g2.setDrawColor(1); u8g2.drawStr(0, 13, newValue); } DcsBios::StringBuffer<1> ufcOptionCueing1Buffer(0x5420, onUfcOptionCueing1Change); /////////////////////////////////////////////////////////////////////////////////////// void onUfcOptionDisplay2Change(char* newValue) { u8g2.setCursor(0,0); u8g2.setFont(u8g2_font_crox3cb_tr); u8g2.setDrawColor(0); u8g2.drawBox(5, 16, 61, 35); u8g2.setDrawColor(1); u8g2.drawStr(5, 40, newValue); } DcsBios::StringBuffer<4> ufcOptionDisplay2Buffer(0x542e, onUfcOptionDisplay2Change); void onUfcOptionCueing2Change(char* newValue) { u8g2.setCursor(0,0); u8g2.setFont(u8g2_font_samim_16_t_all); u8g2.setDrawColor(0); u8g2.drawBox(0, 16, 4, 34); u8g2.setDrawColor(1); u8g2.drawStr(0, 38, newValue); } DcsBios::StringBuffer<1> ufcOptionCueing2Buffer(0x5422, onUfcOptionCueing2Change); ///////////////////////////////////////////////////////////////////////////////////////////////// void onUfcOptionDisplay3Change(char* newValue) { u8g2.setCursor(0,0); u8g2.setFont(u8g2_font_crox3cb_tr); u8g2.setDrawColor(0); u8g2.drawBox(5, 41, 61, 35); u8g2.setDrawColor(1); u8g2.drawStr(5, 65, newValue); } DcsBios::StringBuffer<4> ufcOptionDisplay3Buffer(0x5432, onUfcOptionDisplay3Change); void onUfcOptionCueing3Change(char* newValue) { u8g2.setCursor(0,0); u8g2.setFont(u8g2_font_samim_16_t_all); u8g2.setDrawColor(0); u8g2.drawBox(0, 41, 4, 34); u8g2.setDrawColor(1); u8g2.drawStr(0, 63, newValue); } DcsBios::StringBuffer<1> ufcOptionCueing3Buffer(0x5424, onUfcOptionCueing3Change); //////////////////////////////////////////////////////////////////////////////////////////////////////// void onUfcOptionDisplay4Change(char* newValue) { u8g2.setCursor(0,0); u8g2.setFont(u8g2_font_crox3cb_tr); u8g2.setDrawColor(0); u8g2.drawBox(5, 66, 61, 35); u8g2.setDrawColor(1); u8g2.drawStr(5, 90, newValue); } DcsBios::StringBuffer<4> ufcOptionDisplay4Buffer(0x5436, onUfcOptionDisplay4Change); void onUfcOptionCueing4Change(char* newValue) { u8g2.setCursor(0,0); u8g2.setFont(u8g2_font_samim_16_t_all); u8g2.setDrawColor(0); u8g2.drawBox(0, 66, 4, 34); u8g2.setDrawColor(1); u8g2.drawStr(0, 88, newValue); } DcsBios::StringBuffer<1> ufcOptionCueing4Buffer(0x5426, onUfcOptionCueing4Change); ///////////////////////////////////////////////////////////////////////////////////////////////////// void onUfcOptionDisplay5Change(char* newValue) { u8g2.setCursor(0,0); u8g2.setFont(u8g2_font_crox3cb_tr); u8g2.setDrawColor(0); u8g2.drawBox(5, 91, 61, 35); u8g2.setDrawColor(1); u8g2.drawStr(5, 115, newValue); } DcsBios::StringBuffer<4> ufcOptionDisplay5Buffer(0x543a, onUfcOptionDisplay5Change); void onUfcOptionCueing5Change(char* newValue) { u8g2.setCursor(0,0); u8g2.setFont(u8g2_font_samim_16_t_all); u8g2.setDrawColor(0); u8g2.drawBox(0, 91, 4, 34); u8g2.setDrawColor(1); u8g2.drawStr(0, 113, newValue); } DcsBios::StringBuffer<1> ufcOptionCueing5Buffer(0x5428, onUfcOptionCueing5Change); Although this worked, the display would constantly confuse the display by dropping context out and not replacing correctly as every change need these line to run to update the display. Due to the RS chip only sending one line then fixing that line then sending another line then fixing that line, it appeared the display was confused and seemed to be in a state of catch up. The loop is; onUfcOptionDisplay1Change; onUfcOptionCueing1Change; onUfcOptionDisplay2Change; onUfcOptionCueing2Change; onUfcOptionDisplay3Change; onUfcOptionDisplay3Change; onUfcOptionDisplay4Change; onUfcOptionCueing4Change; onUfcOptionDisplay5Change; onUfcOptionCueing5Change;// write something to the internal memory u8g2.sendBuffer(); // transfer internal memory to the display I hope that helps a little.
  13. Further Information, I connected my display for the UFC menu on the slave board. As the RS-485 can only send one code at a time, the UFC Menu board needs to send 2 per line. In my case I have one display for all 5 lines which mean any change will send up to 10 codes. As it does this the codes get confused and I think out of sync as the display losses parts of the menus for a moment before correcting. This makes the display look confusing. For this reason I will be connecting the two boards to a usb Hub within the project box then have the hub connect into the computer. If anyone knows a faster way to connect two Arduino boards please let me know.
  14. Hi Guys, Final chapter on this thread. Firstly a very big Thankyou to Hansolo for all his time and help. I greatly appreciate that. I now have the slave up and running using the RS-485 Chips as Han suggested. The only change I had to make was; Solder following wires on Slave chip; Pin 2&3 (RE+DE) on IC socket - BLUE - Pin 2 on Nano Pin 1 (RO) on IC Socket - GREEN - Pin RX0 on Nano **Pin 4 (DI) on IC socket - YELLOW - Pin TX0 on Nano** Changed fro TX1 to TX0 Pin 5 (GND) on IC socket - GREY - GND on Nano Pin 8 (Vcc) on IC socket - PINK - 5V on Nano Also, I was able to connect the slave up to the master 5V and GRD to get power to the board instead of using the USB power. I was a little disappointing when I found out that I could not use the master for direct inputs for DCS BIOS which means that I would need two slaves and a master (which would only be connected to the RS-485, waste of space if you ask me). For this reason I think I will just go and connected the two boards through Multi coms port connection unless I can use a Micro or some other smaller board as the master. This project wont have much space for 3 large boards. Thanks Again Hans
  15. Ok Guys, Using 2x Arduino Mega boards. I have connected master SCL with Slave SDA and Master SDA with Slave SCL. There is a Potentiometer at Slave-A7 for the console Dimmer and I am trying to communicate through the master to dcsbios. Master Script /Master_test #include <Wire.h> /* 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). */ #define DCSBIOS_IRQ_SERIAL #include "DcsBios.h" /* paste code snippets from the reference documentation here */ void setup() { Wire.begin(); // join i2c bus (address optional for master) DcsBios::setup(); } void loop() { DcsBios::loop(); } And the Slave Script; /Slave_Test #include <Wire.h> /* 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). */ #define DCSBIOS_IRQ_SERIAL #include "DcsBios.h" DcsBios::Potentiometer consolesDimmer("CONSOLES_DIMMER", A7); /* paste code snippets from the reference documentation here */ void setup() { Wire.begin(1); DcsBios::setup(); } void loop() { DcsBios::loop(); } Could someone help me with the missing pieces? If not, I will look into getting a couple of RS485 chips.
×
×
  • Create New...