X-Plane DIY Arduino Cockpit - Autopilot panel MCP with SimVim [Part2]

Поделиться
HTML-код
  • Опубликовано: 18 сен 2024
  • In this video video we continue the last episode tutorial and we start using SimVim interface. The goal is to create 2 switches, one rotary encoder, one LED in MCP Panel for demonstration using Arduino, Simvim using X-plane.
    Heading Knob Selection
    Heading Mode Engage/Disengage
    Autopilot Engage/Disengage
    Heading Mode Indication Light
    What you need for this tutorial:
    1- Arduino Mega 2560
    2- One rotary encoder (very cheap one will work, Don't buy breakout boards and expensive modules, I used KY-040 to show you the solution)
    3- Pushbuttons
    4- some jumper wires.
    If you have any questions and suggestions for next videos feel free to ask.
    Link to Simvim Website:
    simvim.com
    Link to part 1 of this tutorial:
    • Communicating Arduino ...
    --------------------------------------------------
    **If you are volunteer to be sponsor of some advanced tutorial videos about Flight simulators, programming, electronics, etc please contact me.

Комментарии • 22

  • @takl23
    @takl23 4 года назад

    This is what I needed to see. Thank you so very much for these videos!!! Please keep making them!

    • @alirezaghaderi
      @alirezaghaderi  4 года назад

      ur welcome...Good Luck.. I will do my best...

  • @quicklearner1454
    @quicklearner1454 2 года назад +1

    good ardiuno uno

  • @ajdup
    @ajdup 2 года назад

    You are amazing. Thank you so much

  • @Mrv1960
    @Mrv1960 4 года назад

    Thank you so much for this wonderful tutorial, just what I needed to get me started with Simvin.

    • @alirezaghaderi
      @alirezaghaderi  4 года назад

      Glad it was helpful!

    • @Mrv1960
      @Mrv1960 4 года назад

      @@alirezaghaderi I am building a 737 MCP. Can you tell me how I would go about connecting the FD switch ( I am using a 2 pin Toggle switch ON-OFF. I would like the Led light above the switch to turn on when I flick the switch on. I can't figure it out. At one point I had it reverse when toggle switch was on the LED went off lol. I tried using conditions but I.amnot sure if that is the way to do it.

  • @bluehornet6752
    @bluehornet6752 9 дней назад

    Cool video!

    • @bluehornet6752
      @bluehornet6752 9 дней назад

      Found your profile on LinkedIn by the way--good luck on your studies!

  • @morethanapilot
    @morethanapilot 3 года назад

    Hi, I am trying to connect a rotory encoder same as you shown. But The output of my encoder is in the one direction only even if I rotate encoder in both direction. Like If i rotate clockwise then also heading bug rotate clockwise and if i rotate encoder anticlockwise, then also heading bug rotate clockwise...what am I doing wrong?

    • @alirezaghaderi
      @alirezaghaderi  3 года назад +1

      Sorry for very late answer..its look like wiring problem or physical problem with the encoder. Are you using a raw encoder or a module?

    • @morethanapilot
      @morethanapilot 3 года назад

      @@alirezaghaderi Hii, figured it out the same day i posted this comment. Actually i was using breadboard and jumper wires. One *** jumper wire was faulty. I soldered everything and it worked as it should. 😀

  • @magicnorm2036
    @magicnorm2036 5 лет назад +1

    In your next video, can you please show how to connect a servo to the Arduino. I am trying to simulate the starter return in the Zibo 737-800 but with no success.

    • @alirezaghaderi
      @alirezaghaderi  5 лет назад +1

      Sure. I will simulate one of the gauges for example with arduino or stepper motor. but I should first but the boards for myself. I dont have them now, then I will. by the way, what do u mean by starter return? you mean N1,N2 gauges?

    • @magicnorm2036
      @magicnorm2036 5 лет назад +1

      alireza ghaderi If you put the Starter on GRD, when N1 reaches 56% the rotary switch returns to CONT. This is done with a servo attached to the rotary switch.

    • @alirezaghaderi
      @alirezaghaderi  5 лет назад +1

      I think this is beyond the capability of simvim alone. You need some innovative hacks and ideas. 1) If you use servo for that, serve keep the button at that position under load. so You can no more move the button manually with hand. so even if you are going to use serve, you should add some behind the scene consideration as in, remove the load from serve after rotating to switch. you may be able to do it in conditional tab in simvim for example. you can add a mosfet on VCC pin of servo and connect or disconnect the serve using a digital pin conditional. another method could be use a separate arduino with custom code to do that. another way can be a spring mechanism that is being held with a pin(something like solenoid actuator.) that being control by a digital pin. so you activate the pin when N1 reaches beyond the desire point. This one I think is closer to what exactly Boeing is doing in Cockpit. Anyway, At least I think at the moment it is not a out-of-shelf capability.you should do some tricks for that. I may be able help you more if you want if you contact me. and by the way. You have created all the cockpit and only problem is the Start switch ? :D

  • @flightandsimulationcenter5175
    @flightandsimulationcenter5175 Год назад

    can we use LCD 16*2 with i2c protocol ?

    • @alirezaghaderi
      @alirezaghaderi  Год назад

      with mobiflight I think it should be possible

  • @eliasschanz6659
    @eliasschanz6659 4 года назад

    Hi there, could you possibly make a video about how to connect annunciators to xplane? Thanks. I’ve just got simple dual led annunciators and have no clue where to from here

    • @alirezaghaderi
      @alirezaghaderi  4 года назад

      by annunciator you mean those panels that warnings and messages are shown in that? If yes if depends on the model of your LCD module... in the worst scenario that Simvim wont support your module, You might be able to have a custom arduino as well and get the information from Simvim and the communicate with LCD module accordingly...

  • @homecockpitinterfacesoftwa4883
    @homecockpitinterfacesoftwa4883 4 года назад +1

    NOTE: All relevant information, tutorials, videos you can get on our official website - simvim.com
    Vlad (SimVIm)

    • @morethanapilot
      @morethanapilot 3 года назад

      Hi, I am trying to connect a rotory encoder same as you shown. But The output of my encoder is in the one direction only even if I rotate encoder in both direction. Like If i rotate clockwise then also heading bug rotate clockwise and if i rotate encoder anticlockwise, then also heading bug rotate clockwise...what am I doing wrong?