Connect a Potentiometer to a Flight Sim | MobiFlight Crash Course Episode 9

Поділитися
Вставка
  • Опубліковано 2 гру 2024

КОМЕНТАРІ • 76

  • @daviesheerin6736
    @daviesheerin6736 2 роки тому +7

    I was in the process of losing an entire weekend trying to connect my newly arduino-ed yolk to the sim. Thought I'd made a big mistake committing everything to through a 2560.
    Then you came along with this absolutely incredible tutorial. And you introduced me to HubHop - and JAMIE !
    I could NEVER have pieced all this together by myself.
    Thank you, Sir.

    • @CaptainBobSim
      @CaptainBobSim  2 роки тому +1

      Hey Davie!! I'm so glad this helped! I've been there too - using an entire weekend to get something to work, I'm really glad this worked!
      Happy Landings! And best of luck on your sim!!

    • @hoekstes6830
      @hoekstes6830 11 місяців тому

      Me too!

  • @Hoekstes
    @Hoekstes 10 місяців тому

    Thank you so much! I was able to use this video to fix my old Saitek Rudder Pedals with an Arduino Nano and Mobiflight! Now I’ve got my rudder pedals and toe brakes back. Jumping with joy!

    • @CaptainBobSim
      @CaptainBobSim  10 місяців тому +1

      I'm so glad it helped! That's awesome you got it working!

  • @zougarou
    @zougarou Місяць тому

    very nice tuto, but i have a problem: As soon as I choose Microsoft Flight Simulator 2020 instead of Mobiflight Variable, I lose my connection in "sim status" bar at the bottom left. i don't know what to do. Can tou hlep me. Thank you.

  • @dannyvr1225
    @dannyvr1225 6 місяців тому

    Nice thanks, Do you know how to do this for the B737 speedbrake? I can't find a command for this....thanks in advance...

  • @Whiteknuckle157
    @Whiteknuckle157 2 роки тому +1

    Thank you very much. Just what I need since I'm working on a TQ right now.

    • @CaptainBobSim
      @CaptainBobSim  2 роки тому

      Glad I could help! Good luck on your throttle!

  • @pure4wood501
    @pure4wood501 2 роки тому +1

    Hi CaptainBob,
    You make great videos! Calm voice and clear explanation. As a beginner I have a question. Once the board is programmed, it doesn't work independently for me. I always have to load MF Connector for it to work. Is that the intent or am I doing something wrong?
    I hope you will help me. Thank you very much for that.

    • @CaptainBobSim
      @CaptainBobSim  2 роки тому

      That is the intent - MobiFlight is a software that has to be running for the connection from Arduino to flight simulator to be made.
      Use the "Autorun feature" then mobiflight should run automatically.

    • @pure4wood501
      @pure4wood501 2 роки тому

      Thanks for your quick reply. However, I am concerned that MobiFlight will try to overwrite my Arduino Leonardos (programmed as joystick in Arduino IDE sketch) which are in the same setup. Then the suffering is incalculable..... (So it has already happened once, but maybe I clicked the wrong button...)

    • @CaptainBobSim
      @CaptainBobSim  2 роки тому

      @@pure4wood501 Yes, MobiFlight will overwrite it. If you flash a mobiflight board it can only be a mobiflight board

  • @A320SimTek
    @A320SimTek 2 роки тому +1

    Hey great video. I have some problems currently wiring multiple arduinos with a external 5V power supply and get it working in mobiflight. Do you or anyone else know where I can find more information to that?

    • @CaptainBobSim
      @CaptainBobSim  2 роки тому

      Hello! The arduino forum is super great with that, there's loads of solutions already: forum.arduino.cc/t/powering-multiple-arduinos-with-the-same-power-source/225752
      arduino.stackexchange.com/questions/21061/two-arduinos-one-power-source
      I googled "connect multiple Arduinos to one power supply"

  • @lovelyapple7167
    @lovelyapple7167 Місяць тому

    is it better to use 50k or 100k instead of 10k?

  • @usetech2133
    @usetech2133 Рік тому

    hello bob thank for sharing, can you tell me how to add potentiometer to tiller im msfs 2020 a320nx thanks

    • @CaptainBobSim
      @CaptainBobSim  Рік тому

      Hi! I think you would find my advanced potentoimeter video useful

  • @sonit5455
    @sonit5455 2 роки тому

    just what i was looking for yesterday

    • @CaptainBobSim
      @CaptainBobSim  2 роки тому

      Hope it helped!!

    • @sonit5455
      @sonit5455 2 роки тому +1

      @@CaptainBobSim it works just perfect! I was tinkering with pot meters before in mobiflight for throttle and instrument lighting but nothing worked until this video. Thanks man. Couldn't find this info anywhere else

    • @CaptainBobSim
      @CaptainBobSim  2 роки тому

      @@sonit5455 That is wonderful news!! Congratulations!

  • @marcus288998
    @marcus288998 2 роки тому +1

    How about slide potentiometer. Can you connect it to mobiflight?

    • @CaptainBobSim
      @CaptainBobSim  2 роки тому

      Yep! These are both the same electronic, but they use a different motion to change resistance.
      Same process :)

    • @ericdozi
      @ericdozi 2 роки тому +1

      Hello captain, inside debug of Mobiflight, the value is changing but the yoke doesn’t move inside the cockpit of c172 g1000 of asobo (msfs20), can you help? Thanks

  • @steffgrunwald8881
    @steffgrunwald8881 Рік тому

    Hi Thanks for these fantastic tutorials! I'm new to mobiflight and making things in general for flight sim. I have built the 737diy non - motorized throttle unit, can I use an uno to process the inputs of my potentiometers in MSFS2020 using the PMDG 737?I can't seem to find any presets for this and am open to do some learning to achieve my goal. But is it doable to start?

    • @CaptainBobSim
      @CaptainBobSim  Рік тому +1

      I'd first test the generic events under the flight sim 2020 tab. To make sure PMDG is compatible with them (you can follow the video but when making a variable set it to a number (511 is 50%) and see if manipulating the number does anything.
      I'd recommend watching my second "advanced" poteniometer video which shows how to map it to a variable.

  • @kenichi5717
    @kenichi5717 11 місяців тому

    hi can i use xplane12 for this? i was thinking to set it for throttle

    • @CaptainBobSim
      @CaptainBobSim  11 місяців тому

      It should work! Refer to the Advanced Potentiometer video

  • @jimhinkle7245
    @jimhinkle7245 11 місяців тому

    Hi Trevor, I followed your tutorial here (thank you for your channel!!!) and I have an issue. When I use a pot for the C172 throttle, it will ALWAYS go back to zero? I can put the put at 100% power and it will go to 100% in MSFS 2020, but again, it will ALWAYS return to zero when the pot is still at 100% Do you now why this is happening? Thanks again!!!

    • @CaptainBobSim
      @CaptainBobSim  11 місяців тому +1

      Hi Jim! What are the values saying in your window when it goes back to zero after 100? Keep in mind this could potentially be a conflict with a joystick if you have one connected.
      You may also find my advanced potentiometer video helpful.

    • @jimhinkle7245
      @jimhinkle7245 11 місяців тому

      @@CaptainBobSim I think I got it Trevor!!!! I used the Hubhop and without adjusting anything, it's working smooth. I just need to adjust the values now. Thanks again!!!

    • @CaptainBobSim
      @CaptainBobSim  11 місяців тому

      Perfect!! I'm so glad to hear!

  • @clementleloch7664
    @clementleloch7664 2 роки тому

    i have a question for you. The question is can i use a arduino uno same as you are using your arduino mega ? if yes why don't you use an arduino uno instead of an arduino mega that is more expensive. have a great day captain bob🧑‍✈

    • @CaptainBobSim
      @CaptainBobSim  2 роки тому

      Yes, but unos are not as reliable and have much less pins per dollar captainbobsim.com/2020/12/16/mobiflight-arduino-compatibility/

  • @srp01983
    @srp01983 2 роки тому

    X-Plane 11 - Managed to get a parking brake indicator working using this tutorial as a basis, which is a big success for me as I have never used an arduino before, or a flight sim, or Mobiflight come to that! But I could not get my yoke potentiometers to work - everything ok in Mobiflight when I checked the debug logging, put the values into the Hubhop code generator, but sadly the yoke doesn’t move for either the pitch or the elevator.
    The arduino appears in Device Manager under Ports, on COM5. Checking the settings in X Plane shows no yoke connected so X Plane obviously defaults to using the mouse - maybe that’s the problem??? Or maybe the Hubhop code doesn’t work with XPUIPC??? Any ideas?

    • @CaptainBobSim
      @CaptainBobSim  2 роки тому

      The hubhop code is only for MSFS 2020, I'm sorry :(
      I believe there might be a way to do this with XPUIPC, but I haven't found it yet

    • @srp01983
      @srp01983 2 роки тому

      @@CaptainBobSim Thhanks for the response. I’d hoped that it would work because the offsets for elevators and ailerons are the same in FSUIPC and XPUIPC. Oh well, I think I may have to buy a copy of msfs2020 instead - it seems that not many of the UA-cam home-builders are using x-plane. But thanks for the instructional video - at least I know a bit more about Mobiflight now!

  • @sundar999
    @sundar999 Рік тому

    This was well explained, but you should demonstrate for Prepar3D or FSX too.
    You've got great content Captain Bob 😊

    • @CaptainBobSim
      @CaptainBobSim  Рік тому

      It works for Prepar3D and FSX but I can't show every simulator for every configuration

  • @TumbleTrashOfficial
    @TumbleTrashOfficial Рік тому

    does this work for more than MS2020?

    • @CaptainBobSim
      @CaptainBobSim  Рік тому

      No, if you want to use other simulators look for my "Advanced Potentiometer" Video

  • @A320SimTek
    @A320SimTek 2 роки тому

    Hey Bob, I first tried it on the stable version but it didnt work, is it possible that it only works in Beta version?

    • @CaptainBobSim
      @CaptainBobSim  2 роки тому

      No, this was a few releases ago and should work in the newest version, however it only works with FS2020.

  • @malmsteen1973
    @malmsteen1973 2 роки тому

    Hi, there! Captain Bob, any chance to make it work for FSX?

    • @CaptainBobSim
      @CaptainBobSim  2 роки тому +2

      Haven't figured it out yet - I'll need to do some more testing

  • @Thomas-Designs
    @Thomas-Designs 2 роки тому

    So, I plug the potentiometer to the 5v, ground and A0. Every time my pot. Spins all the way in one direction the leds get really dim and the ardiuno turns off.

    • @CaptainBobSim
      @CaptainBobSim  2 роки тому +1

      Could you send a link to your pot? it's possible your pot's wiring is different than mine

    • @Thomas-Designs
      @Thomas-Designs 2 роки тому

      @@CaptainBobSim thanks for mentioning the wiring, turns out I had the wiring switched around 🤦‍♂️

    • @CaptainBobSim
      @CaptainBobSim  2 роки тому

      Glad you fixed it!

  • @kamokekamoke9121
    @kamokekamoke9121 2 роки тому

    Did we configure with fsx as same ?

    • @CaptainBobSim
      @CaptainBobSim  2 роки тому

      Refer to my advanced potentiometer video for how to do this

  • @noneNone-mw1px
    @noneNone-mw1px 2 роки тому

    Capt what website did you download the fusion 360?

    • @CaptainBobSim
      @CaptainBobSim  2 роки тому +1

      www.autodesk.com/products/fusion-360/overview?mktvar002=4263540|SEM|1618310827|64140214467|kwd-330308867034&gclsrc=aw.ds&&ef_id=Cj0KCQiAxoiQBhCRARIsAPsvo-yfaWq32DgkNSbDgBOOYLsu-PGKLwQan3MbzZhX4FI5gj6hx279ExkaAkjDEALw_wcB:G:s&s_kwcid=AL!11172!3!569531517089!e!!g!!fusion%20360!1618310827!64140214467&mkwid=s6G86eZ0j|pcrid|569531517089|pkw|fusion%20360|pmt|e|pdv|c|slid||pgrid|64140214467|ptaid|kwd-330308867034|pid|&GGL_DM_Fusion-360_AMER_US_eComm_SEM_BR_NEW_EX_ADSK_3529781_&G86eZ0j|pcrid|569531517089|pkw|fusion%20360|pmt|e|pdv|c|slid||pgrid|64140214467|ptaid|kwd-330308867034|&gclid=Cj0KCQiAxoiQBhCRARIsAPsvo-yfaWq32DgkNSbDgBOOYLsu-PGKLwQan3MbzZhX4FI5gj6hx279ExkaAkjDEALw_wcB

  • @aviation_srb
    @aviation_srb Рік тому

    Hey can you make tutorial how to connect it to flight sim with Arduino uno

    • @CaptainBobSim
      @CaptainBobSim  Рік тому +1

      Mobiflight is compatible with the uno just follow this tutorial but use uno pins instead of mega pins

    • @aviation_srb
      @aviation_srb Рік тому

      @@CaptainBobSim but their website say it's compatible with just mega and mega mini something like that I have Arduino uno R3 can I do it with that

    • @aviation_srb
      @aviation_srb Рік тому

      ​@@CaptainBobSimI did it and when its time to choose the action type I don't have msfs custom inp I have just msfs 2020 what should I do

    • @CaptainBobSim
      @CaptainBobSim  Рік тому

      @@aviation_srb It's not recommended but you can do it

    • @CaptainBobSim
      @CaptainBobSim  Рік тому

      @@aviation_srb Click msfs 2020 and check the custom input box after selecting a preset

  • @philmessenger4655
    @philmessenger4655 2 роки тому

    Greetings Cap'n Bob
    Love your videos. Please consider a video on interfacing Alvaro Alea's directional compass with the heading bug. I've built one but the two rotary switches have me stumped. I don't want to just make it another wiskey compass. You're far more savvy than I am. Hoping you do it. Thanks

    • @CaptainBobSim
      @CaptainBobSim  2 роки тому +1

      Hello Phill!
      I'm designing my own instruments to have configurable with MobiFlight, and won't be making a tutorial for Alvaro Alea's compass unfortunately :( but I will do mine once they are designed.
      Use 07CC 2 Autopilot heading value, as degrees*65536/360 for the little indicator
      and
      0580 4 Heading, *360/(65536*65536) for degrees TRUE.[Can be set in slew or pause states]
      You can use the altimeter video and the compass video to help show the concepts with this.
      I can help you with this if you should get stuck

    • @philmessenger4655
      @philmessenger4655 2 роки тому

      @@CaptainBobSim Thanks Cappy. Good luck with your projects. I hate to see you struggle but you will learn much

  • @andreslot6134
    @andreslot6134 9 місяців тому

    Am I the only one here who comes for the silly jokes?

  • @attyrorylodge
    @attyrorylodge Рік тому

    HOW I KNOW MIDLE ONE SHOULD BE GROUND IS NOT

    • @CaptainBobSim
      @CaptainBobSim  Рік тому

      RULE OF THUMB:
      If it's clicky it's a rotary encoder and the middle one is ground.
      If it's smooth it's a potentiometer and the middle is signal.
      When you purchase, it will tell you if it's a potentiometer or a rotary encoder.

  • @Tus3B14
    @Tus3B14 19 днів тому

    I'm a time traveller !!!

    • @CaptainBobSim
      @CaptainBobSim  18 днів тому

      What is the future like? Is it worth the wait?

  • @glennledrew8347
    @glennledrew8347 9 місяців тому

    Knowing how to read the output of a measuring instrument is a skill which should be obtained by grade 9. At least that's when I was introduced to the slide rule, decades ago. A few minutes of preparatiom should have got you up to speed on reading an Ohmmeter's output.
    And your reading of the display which put the decimal in the wrong place was grotesque in the extreme. Only magnified further by demonstrating that you didn't know what the device is called.
    I cringed hard in sympathetic embarrassment while watching this.

  • @CrisMedia79
    @CrisMedia79 2 роки тому +1

    Muchas gracias desde España, funciona OK. Eres un genio! ua-cam.com/video/-O8v1lA3RCY/v-deo.html

    • @CaptainBobSim
      @CaptainBobSim  2 роки тому +1

      ¡Gracias por sus amables palabras! ¡Me alegro de que funcione!

  • @xota1973
    @xota1973 Рік тому

    Does this work with auto pilot knobs?