Jump to content

Branddude

Members
  • Posts

    1
  • Joined

  • Last visited

About Branddude

  • Birthday February 11

Personal Information

  • Location
    Netherlands
  • Interests
    Engineering, 3D printing

Recent Profile Visitors

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

  1. nullHello Everybody , I recently got introduced by a friend to DCS World, and I was inmediately impressed! Because of my interest in WW2 german equipment I bought the BF109 K-4 pack. After fiddeling around with this plane I inmediately ordered a Raptor Mach2 Joystick and some Thrustmaster T-Flight rudders. So you probaply notice: it made a impression. Anyhow, I thought it would be cool to atleast have the mandatory gauges buildt in real life. So far I have been working on: - Airspeed Indicator. - Vertical speed indicator. - Compass. - Landing gear Controls & Lights. Now, before I move on to build a complete cockpit (wich probaply will happen anyway), Im fiddeling around with the DCS-Bios en arduino's since this is something new to me. The main goals I need to know/learn, how to: program stepper motors, program servo's, program buttons and how to program lights (F.Y.I: I neved tried programming before, until 2 days ago). The last 2 I already got covered! Im already able to physically push a button to control the landing gear and let the corresponding lights burn. Now today I was working on a gauge powered by a simple 9gram servo for the "more slow" working gauges like the oil & coolent. Why? because these servo's are dirt cheap and don't need additional drivers and don't work as hard as some of the other gauges. So I slammed in the following code to start somewhere: /* Oil Temperature */ DcsBios::ServoOutput oilTemperature(0x4298, 3, 544, 2400); I definitly had some output but already noticed it wont return to 0 when you exit the game. Reading the DCS Bios documentation I assume I need a more sophisticated code, to get the results I want. Does anybody have a piece of sourecode doing this the same way or is there a better/easier way to do this? Help is appreciated! I havent started with the steppermotor programming, but I tried to find information about this on the interwebz in advance, but so far not much luck. As I see it, if I know how to code works, I know the capabilities of the stepper & servos and I can design the rest of the clocks based on what ive learned. Apply servo's or Steppermotors etc. But for starters I need some help and preferably a source code for steppermotor driven gauge and servo driven gauge to understand how it works. Let me know what you guys think! Any feedback is appreciated! Greetings, Alexander
×
×
  • Create New...