Jump to content

Ben-111

Members
  • Posts

    50
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

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

  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
×
×
  • Create New...