Jump to content

Ben-111

Members
  • Posts

    50
  • Joined

  • Last visited

Everything posted by Ben-111

  1. @BIGNEWY any update to this, is it or will it be included in the FA-18 update Ben is it as easy as finding where this is and changing it to visible ?, I cant find the lua that controls this
  2. @No1sonuk yes agree our solution could be easier, however we use the shields to sperate Inputs and outputs on the Arduinos, also as we use FASTLED for the back lighting there is a interrupt issue with the DCS BIOS and FASTLED, so we run the FASTLED and the KEYSTROKES via the DUE without DCS BIOS on that Arduino, so to confirm, yes the ethernet is there for a primary purpose, not the MAG SW, we just use it in this case, but it’s not needed if the DUE has the main MAG switch code on it
  3. Bump, any one else able to move this
  4. I use the code Pete wrote, but do not fully understand how it works, but essuntally instead of sending the DCS BIOS Command, we send a keystroke to DCS (that is also Mapped in the control options) to "switch the Switch" we then also send a command via the eithernet shield to the Due to trigger the Mag Switch My codes are here for the entire pit https://github.com/Ben-F111/Ben-F18-Sim-Pit/tree/main/1- Final Codes/AS UPLOADED - CURRENT ONLY DUE Code is LIP_UDP_TO_KEYBOARD the MAG SW output code is inside this one LIP_SERVO_STEPPER_DIGITAL_OUT Extract from the code RIGHT_CONSOLE_INPUT_CONTROLLER.ino our switches are Matrix via a CASE Statment to allow for inputs (180 i think per Arduino) case 22: sendDcsBiosMessage("LTD_R_SW", "1"); case 22: // Special Case for Magnetic Switches LTD/R if (Ethernet_In_Use == 1) { SendIPString("LCTRL LSHIFT F3"); } else { sendDcsBiosMessage("LTD_R_SW", "2"); } break; as the mag switch is not supported by DCS BIOS what you find is you cant turn them off as the physical switch is still holding the same command to BIOS to to turn Mag switch on
  5. @No1sonuk The issue we found with the F18 - and its documented, is unlike the A10, the Mag switch function is not fully supoorted in DCS-BIOS for the F18, there is no single line of code for the MAG SW, however, we used ethernet sheilds and a Arduino Due to use "Keypresess" to overcome this and have all Mag switches working correclty in the F18 @Dead Meat also has codes and a youtube (I am re looking for it), has this at all changed in any BIOS upupdate ? @bnepethomas Codes and documents on our githubs
  6. ll my codes as used for the full cockpit are on my git hab if needed, switches and LED are Matixed to save inputs
  7. @No1sonuk, no stress, just seams like a lot of work to a problem that is not there, including lossing the 4 POS, Click / lock in, 0/90/180/270 I respect the DCS knowlage, wish I hade that depth, Ben I have provided option that I know work and have done, ill leave the thread to continue
  8. @No1sonuk whilst the encoder will work, have you considreded the out of sync factor this will bring, you must ensure your knob is in the "default" postion on each start up the sim, that alignes with the actual sim, otherwise, yes it will tell it left or right, but the starting point in the sim, vs on screen will be different if you dont align it before start up and encoder cannot tell DCS BIOS a position, it can only tell it a movment, direction and steps, this it needs to know on each start up where it is first. using encoders for physical items in not advises, they are great for the UFC comms knobs etc, that dont need to marry up with a defined postion, just provide a direrction and steps
  9. Hi @No1sonuk and @bigdave32 8 way for the NAV in full 360 rotation, took about 2 mins to modify, start to finish, just dont loose the balls IMG_0959.mp4
  10. Hi @No1sonuk and @bigdave32 few claifications from above Wouldn't removing the stop washer do that without opening the switch? The Washer with Tab allows a roatry to be set to a defined number of steps,. the platic is always at the last step, say if you have an 8 POS and wanted a 5, you put the washer with Tab in the slot that stops it at POS 5, if you leave it out the Rotary will alwasy stop at POS8 (or POS 4 for the Bleed air) Finding an actual, 90 degree turning rotary switch would be the best as was posted by Sting and Ben but those were expensive to find / complicated to modify. This is the one I now use, $5 and off the shelf here in AUS at jaycar https://www.jaycar.com.au/4-pole-sealed-pcb-rotary/p/SR1216?pos=4&queryId=4cb96c93afc7f2ed0b9da7685c007a36 if not say mouser, E14, Digi Key ?? - part numbers for the other shops there too 8 Way 45 DEG- Mouser https://au.mouser.com/ProductDetail/611-A12505RNZQ A12505RNZQ 4 way 90 DEG - Mouser https://au.mouser.com/ProductDetail/611-A12405RNZQ A12405RNZQ happy flying
  11. All the long journey now has an end point, the Cockpit is 95% complete, they will never be 100% really. My Facebook has a lot more pics and vids that cant be uploaded here due to size, but thanks all on the ED Forum, Open Hornet, @bnepethomas for all the Help over the last 2 years https://www.facebook.com/BenF18Sim/ Ben
  12. you just open the rotary, "cut" the plastic stopper, and re asemble it, then its 360 deg rotation BUT becarfull not to let the balls spring out and loose them, yes its ok for them to come out, but not so fast you cant see where they go.
  13. Did you get this working, if you see my FB link, there is now a solution https://www.facebook.com/BenF18Sim
  14. All, I found this older thread, but many of the LUA code lines no longer exist within the file, is there an update to "Move" the ATC - Radio Text Function menu to another screen, or position outside of the edge of the center screen please, as its in the "WARP" section of my 3 projectors, thus I cant see it Ben
  15. Hi @BIGNEWY has there been any update on this request
  16. And back to single projector. Zoom out is fully available
  17. UPDATE - FIXED Need to set up as 3 monitors, not one large one ok, got an issue, trial running 3 projectors 1920/1080, have the lua and screens set fine for now, 60-80 FPS, BUT now for some reason my cockpit zoom is limited, and the HUD is to big to fit in my "fake HUD" has this now limited the Zoom out, as its a hard stop with the cockpit still large on the screen, never had this is the 1 x projector I have deleted all my custom views from the saved games, everything is back to default or is it the "Cockpit" is just now bigger, if so why and how do I shrink it Settings Screen shot and LUA below
  18. All I have got the touch screen now working for the OH F18, was getting tied of balancing the Keyboard and Mouse while flying have included common key stokes and check lists, the beauty of this is the multi keystrokes are send as a single command when the button is pressed, ir Labels on off or Salute. the systems uses a 7" Nextion touch screen and Leonardo Arduino, a $5 mouse joystick is also added Once flying, you don't need the keyboard or mouse in the pit No I am not making and selling it, you can find more on my Facebook page and Github to download, print and use yourself All code and Sketches are also there https://www.facebook.com/BenF18Sim/ open to any inclusions you can think of null
  19. and correction on my side, thats LEFT ALT (not R ALT)
  20. AWESOME, cheers for the message, Ben, finger's crossed
  21. When toggling off the "Cockpit" the Refuel Probe is no longer visible when refueling, can this be investigated and re added in this view, Ben
  22. We have had success opening the switch and taking out the stop. There is a post on the open hornet discord about this.
  23. Mine is exported fine. As above. You don’t use Helios for the MFDs. You update the DCS LUA file manually. All render perfectly. and. I run Helios and Custom LUA for my pit. Is also an issue the “view angle” of the screen you use. Some won’t work good at the wrong angle. Is it bright if viewed from a different angle.
×
×
  • Create New...