Jump to content

tbies

Members
  • Posts

    37
  • Joined

  • Last visited

Everything posted by tbies

  1. Load is very light on the motor and I haven't notice it drifting. In a real aircraft it is standard procedure to calibrate the HSI with its knob by cross referencing the compass, so that's why I'm trying to do this without a zero sensor. I'm still not having any luck finding any code samples without an IR or magnetic zero sensor where the indicator doesn't loop back around. @No1sonuk Thanks for the 'zero crossing' name reference - wasn't sure what it was called and was hard to describe.
  2. Hi Les, This is for the A10C II module. I'm using a VID29 stepper that had its travel limit stop removed, so it can spin freely 360 without stopping or any restrictions. I'm not using a position sensor as I plan to use a knob to manually calibrate the HSI (like a real aircraft). So... a dumb motor, without sensors.
  3. Hello, I've run into an issue with my HSI stepper code that I just can't seem to figure out. What happens is when it reaches a certain position (it will turn BACKWARDS then continue. Anyone ever run into this? I'm using a 360' VID motor. I feel like it can be solved with some glue code, but I can't figure it out... Hopefully the video below will give a good visual on what I'm talking about. I also inserted my Arduino/DCS BIOS code. Thanks for any help with this! #define DCSBIOS_IRQ_SERIAL #include "DcsBios.h" #include <Arduino.h> // --- Define motor driver pins #define MS1 2 #define MS2 3 #define EN 7 // ------------------------ // ---------- Stepper Motor Declarations ---------- #include <AccelStepper.h> AccelStepper stepper(AccelStepper::DRIVER, 9, 8); // ---------------------------------------------------------------------------- // DCS Bios Stuff here //----------------------------------------------------------------------------- void onHsiHdgChange(unsigned int newValue) { unsigned int stepperPosition = map(newValue, 0, 65535, 0, 2890); stepper.runToNewPosition(stepperPosition); } DcsBios::IntegerBuffer hsiHdgBuffer(0x104c, 0xffff, 0, onHsiHdgChange); // ---------------------------------------------------------------------------- // SETUP loop //----------------------------------------------------------------------------- void setup(void) { DcsBios::setup(); pinMode(MS1, OUTPUT); pinMode(MS2, OUTPUT); pinMode(EN, OUTPUT); digitalWrite(MS1, LOW); digitalWrite(MS2, HIGH); digitalWrite(EN, LOW); // ----- Stepper init stepper.setMaxSpeed(1000); // maximum speed in steps per second. Must be > 0. stepper.setAcceleration(2800); // desired acceleration in steps per second per second. Must be > 0.0 stepper.runToNewPosition(2890); // go to the upper end stop delay(250); stepper.setCurrentPosition(2890); // set max steps delay(1500); stepper.runToNewPosition(0); // go to the lower end stop delay(250); stepper.setCurrentPosition(0); // set steps to zero } // ---------------------------------------------------------------------------- // LOOP loop - try to keep empty //----------------------------------------------------------------------------- void loop() { DcsBios::loop(); }
  4. Thanks all! I think must have typing the part number wrong - 'I' when it was a 'l'. Anyways, great list Deadman! I was able source many other of the components you listed for my build. Very helpful! :thumbup:
  5. Landing taxi light 2Tl6-1 I'm not having any luck sourcing the "Landing taxi light 2Tl6-1" switch. Does anyone know of a different part number? Or maybe an alternative...? Thanks!
  6. Lars. these look really nice!! :thumbup: I have a CNC machine on order and will be trying a few of these as soon as I figure the sucker out. Thanks for the effort! It really is appreciated.
  7. Looks fantastic! :thumbup: Can I ask what you using to make these? CNC machine on metal?
  8. Wow! Looks great! :thumbup: Did you create these designs? Any chance of sharing them?
  9. I would love to see some working code. Anyone?
  10. Not working I can confirm that the servo DCS A10 Flap example simply does NOT work. I have the latest version of DCS-BIOS from Github (v0.4.1). I have verified my servo is functioning flawlessly with the example Arduino IDE. My servo spec sheet appears to be very similar to the one referenced in the DCS-BIOS code, with Pulse Width: 500-2400 µs. (http://www.servodatabase.com/servo/towerpro/sg90) After >3 hours today trying to get it to work with DCS-BIOS, I give up. Either something is wrong in the DCS-BIOS documentation and/or the example code. What a shame.:(:(
  11. Yup - no issues whatsoever for me with TrackIR under Win 7 x64.
  12. Hello, I've been using CH Product Pro Pedals for many years now (10+..?) but I'm thinking about an upgrade? Something to complement my TM HOTAS Warthog. I've read some reviews about the Saitek Pro Flight Rudder Pedals and some claim they are poor quality or die right around the time the warranty expires. Can anyone recommend decent pedals for A-10C Warthog? Would love pedals that match the build quality of my TM HOTAS Warthog... Do they exist? Thanks!
  13. Quoting from the .7 patch readme - "If you have flashing video on the Targeting Pod or Maverick displays, disable multiple GPU use in your graphics card control panel." I had the same issue with a Nvidia card and disabled the multiple thread setting in the Nvidia control panel. This cured the issue completely.
×
×
  • Create New...