Jump to content

bnepethomas

Members
  • Posts

    502
  • Joined

  • Last visited

Everything posted by bnepethomas

  1. Thanks - I really hadn't thought of tinkering with the innards of BIOS - but while poking around I found this at the end of the A10C lua -- A_10C:defineReadWriteRadio("UHF", 54, 7, 3, 1000, "UHF radio frequency") -- disabled - 4xx.xxx should be Axx.xxx - how do we accomplish this? -- A_10C:defineReadWriteRadio("VHF_AM", 55, 7, 3, 1000, "VHF AM radio frequency") -- disabled - last digit seems to sometimes be 1 greater (e.g. 124.001) -- A_10C:defineReadWriteRadio("VHF_FM", 56, 7, 3, 1000, "VHF FM radio frequency") -- disabled - last digit seems to sometimes be 1 greater (e.g. 30.076) Looks like the sort of thing that would be useful - found it was not commented out in the Mirage 2000, so will give it a go and see what happens
  2. Thanks for the detailed reply - - I'm using the send message construct at the moment if (deltaPos > 0) { sendToDcsBiosMessage("VHFFM_FREQ1", "INC"); } else { sendToDcsBiosMessage("VHFFM_FREQ1", "DEC"); } I had no idea this sort of construct existed - so will check it out, whilst my test framework (sketch attached) was using individual pins, to cover all three radios I'm using a Matrix - but this gives me some pointers to go and check out A10_RADIO_SYNCH.ino
  3. Hi Guys After scoring a coupe of real VHF radios, decided to try and build the radio using a rotary switch instead of an encoder. Thrown together a very rough prototype, and built out a test frame to prove the concept works. Now before I go and reinvent the wheel, has anyone else been down this road with DCS BIOS? Currently, as far as I can see, DCS BIOS only supports encoders, so my frame work compares the desired channel settings on the radio, and bangs away with INCs and DECs using DCS BIOS to align the radios. Anyone been there done that before I attempt to reinvent the wheel? thanks Peter
  4. I've used the PWM pins on a Arduino, works well. Good dimming range with no obvious flickers https://github.com/bnepethomas/bne-arduino-flight-simulator-interfaces/tree/547932be65f759cf038e3f2a632a62336e5e0f8f/PCBs/OH - Hornet Forward Upper Output Shield I take the output directly from DCS BIOS https://github.com/bnepethomas/bne-arduino-flight-simulator-interfaces/blob/547932be65f759cf038e3f2a632a62336e5e0f8f/DCS BIOS Sketches/Active/UIP_MAX7219_NEXTRON_POWER_RELAY/UIP_MAX7219_NEXTRON_POWER_RELAY.ino
  5. the plans for most of the pit are moving to Fusion 360, its very close to general release, so worth a wait
  6. Its very much 100% Open Hornet - I did actually start with the Dogfight boss pit - but then moved pretty much entirely to OH. The pit started as a bit of a quick and dirty, but then I disappeared down the rabbit hole
  7. Very good question. Funnily enough I've discovered I need to bring the stick closer towards the seat as I can't place the rear support rail across the pit. That may help a little - but I think there will end up be a 'please be careful' list when a newbie jumps into the pit
  8. Getting closer - finally mounted the stick
  9. Finally lit up the backlighting (both Max7219s and Pixel Leds) along with UFC and general indicators. A major thanks to the Open Hornet team for sharing the plans.
  10. very confident the answer is no - I'm using an Arduino Due for those tasks
  11. its getting a little closer - the Open Hornet project makes this so much easier - pretty much 12 months since it started to get serious
  12. Here you go Left_Console_Input_Controller.ino
  13. I'm using an Arduino to drive DCS BIOS - here's the steps I use 1: On switch toggle - send DCS status change of cover 2: Set a flag to activate in 200mS or so 3:Let the Arduino do its many loops 4: After the timer has been met send the DCS command to toggle the switch
  14. really nice work Anton!
  15. thanks - it feels like its getting close to being flyable!
  16. thanks Sir
  17. Ta - the throttle is a Wingwing
  18. Absolutely - Open Hornet makes building a pit so easy
  19. Getting closer
  20. really nice work sir
  21. The Flight Illusion controller card uses a virtual serial port - I found this document from many years ago - unfortunately I could find much else /* 00 Start of frame 65 Device ID 101 – 65 Hex Data 0 01 02 = 0 3 f5 13 = 5109 2 31 4e = 20016 4 Set Attitude Command FF End of Frame 0 01 02 = 0 3 f5 13 = 5109 – 13F5 2 31 4e = 20016 – 20017 MSB is +ve negative bit. Commands for Flight Illusion Gauges Byte 1: Flag byte:&h00 Byte 2: Address: 1-255; address zero forbidden! Byte 3: Command byte: Bit 3 always "1": CCCC.1SHL H & L are the data bits to "repair" the "forced to one bits" in byte 4 & 5), S= sign bit of the integer value) CCCC is the 4 bits command(0001-1111, so 1-15) Byte 4: Data Low; &h00-&hFF; bit0 always 1 : XXXX.XXX1 -> XXXX.XXXL Byte 5: Data Hight:&h00-&hFF: bit1 always 1 : XXXX.XX1X -> XXXX.XXHX Byte 6: End byte:&hFF Altimeter Commands: 0= noop 1= Initialize 2= Set Instrument Address; Value 0-&hff (odd addr. only),second byte:&HAA 3= Set Scan frequency (Needle Speed) 4= Set Altitude (-9999 to + 50000) 5= Set AirPresure mode (byte1: 0= Inches HG, 1= Milibar), byte2:0=no connection, 1=connected to altitude) 6= Set Needle zero displacement; Number of steps between sensor and needle 7= Send info about instrument; Reply &h00, Address, Type, Model, Version, Airpressure 8= Switch lights: Low byte= DL00.0000; D=display on/off, L=light on/off 9= Set Instrument Model &Version, Low Byte=Model, High Byte=Version 10= Write an EEPROM byte (Blocked; is for debug only) 11= Direct Needle Control (0 to 1079); Sets needle independent from altitude 12= Set Airpressure value */
  22. A long time between drinks - but heres some progress on the Open Hornet Based pit
  23. Hi Guys - mine landed last week - set them up over the weekend - they are a nice setup. Soon to be added to the Hornet pit. Cheers peter
  24. Fighting with the search engine and feeling really blonde. In previous projects I've done things the hard way and not used DCS-BIOS - just using LUA natively. Finally discovered how crazily easy DCS-BIOS makes pit building with the Hornet. Just stuck on one little thing - how do you send the basic stuff like pause sim, change view, as these aren't in the aircraft specific modules. And in the Common Module I can see outputs, but not inputs. I'm sure it is something completely obvious Thanks Peter
×
×
  • Create New...