How to Connect a Rotary Encoder to FSX, Prepar3d, X-Plane, or FS2020! MobiFlight Tutorial

  Рет қаралды 41,369

Captain Bob

Captain Bob

Күн бұрын

Welcome! Today we are going to embark on a journey to make a Rotary Encoder work with a flight simulator using MobiFlight!
📌Helpful wiring image: i.pinimg.com/originals/7a/ff/...
📌How a Rotary Encoder Works: • How Rotary Encoder Wor...
📌Common vs GND vs Neutral: www.quora.com/What-is-the-dif...
📌Rotary Encoder PPR, CPR, LPR: www.cuidevices.com/blog/what-...
📌KY-040 Datasheet: www.rcscomponents.kiev.ua/dat...
🎥Video with Sebastian from MobiFlight (Preconditions, start at 0:17)
🎥FS2020 to MF: • Use FS2020 with an Ard...
📦Arduino Mega: ebay.us/6OCrco
📦Rotary Encoders: ebay.us/gOto3E or ebay.us/UIcAs6
📦Jumper Wires: ebay.us/kH8k89 or ebay.us/xVu5KF
📦24 AWG Wire: ebay.us/XCbsal or ebay.us/R5Qyqg
🔨Soldering Iron: ebay.us/OHVvkC
🔨 Helping Hands: ebay.us/jDbVSv
Encoder Background: 00:00
Pinout: 00:57
Wiring Diagram: 02:00
Encoder to Arduino: 3:44
PCB Encoder to Arduino: 04:23
MobiFlight Devices: 05:50
MobiFlight Configuration: 07:41
FSUIPC Connection got lost and Detents/Cycle: 10:32
This week I got 1% better at [Procrastinating?] I did a really good B-Roll sequence that I'm proud of!
👉Visit the Website: captainbobsim.com/
▶ DISCORD: Join the community: / discord Show us your simulator by posting your pictures in the "Show Your Sim" channel.
▶ PATREON: Want to support my work? Become a Patreon! / captainbobsim
▶ DONATE: Consider making a donation to improve video quality and fund my Flight Training: www.paypal.com/cgi-bin/webscr...
▶ INSTAGRAM Follow @CaptainBobSim on Instagram for a little bit of behind the scenes. / captainbobsim to share your sim with me on Instagram, use #cessna172sday in your photo.
▶ EMAIL: CaptainBobSim@gmail.com
▶ If a part I design fails, Let me know! forms.gle/NXHzXRura1oR5Tkj9
* * * * *
Disclaimer: I'm a human that makes mistakes. Fortunately, we can learn from them! You are responsible for your safety. As an eBay Associate, I earn a commission from qualifying purchases (Sale price is not affected). I use time lapses to shorten the video, to avoid injury or death do not try to match the speed shown.
MobiFlight, Flight Simulator, Flight Simulator 2020, Microsoft Flight Simulator, FS2020, Encoder, Rotary Encoder to MobiFlight, Rotary Encoder to Flight Sim.

Пікірлер: 150
@karthikk6512
@karthikk6512 3 жыл бұрын
What's difference between rotary encoder and potensiomemeter
@allaboutflying
@allaboutflying 3 жыл бұрын
A rotary encoder can usually rotate continuously in both directions. Also, it is usually more precise than potentiometers. Rotary encoders send out pulses, while a potentiometer just varies the current between 0 and a fixed limit. In a potentiometer, it's position is equal to the output current(if connected in a voltage divider setup), while in a rotary encoder, position cannot be known.
@karthikk6512
@karthikk6512 3 жыл бұрын
@@allaboutflying thanks
@joshuamarius
@joshuamarius 2 жыл бұрын
When it applies to flight simulation, rotary encoders (digital) are used to change the frequency on a radio, course/heading or the altitude on the autopilot panel. A potentiometer (analog) is used for Volume knobs, throttles and LCD Brightness, to name a few...
@Troutman003
@Troutman003 3 жыл бұрын
Love the added support for X-Plane! Great video!
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
Thanks a lot!
@friedchicken1
@friedchicken1 3 жыл бұрын
your videos are better and better. Keep up the good work!!
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
Thank you so much friedchicken! That means a lot to me!
@My320Sim
@My320Sim 2 ай бұрын
Just discovered your videos. Amazing thank you! You have helped me to get a DIY A320 build working with MobiFlight and MSFS. Keep up the work. Your videos are great!
@CaptainBobSim
@CaptainBobSim 2 ай бұрын
Thank you for your kind words! I hope you have a blast building your A320!
@denisbrowm133
@denisbrowm133 3 жыл бұрын
Great video buddy,keep up the good work,very helpful .👍
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
Thank you denis!
@mryunas7071
@mryunas7071 3 жыл бұрын
Bro, im impressed by your knowledge, shout out to you really. I wish i had this kind of knowledge and passion when i was your age. Will push my kid to learn from you. And thanx for the amazing video.
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
I appreciate that mad sauce gaming! Thank you so much!
@FlightSim2703
@FlightSim2703 3 жыл бұрын
You explained it awesome, even I could understand it, I loved all abut wiring diagram and encoders detail. Thanks so much. ♥️🙏👍
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
Glad it was helpful Brian! :)
@regretvoltaire8907
@regretvoltaire8907 2 жыл бұрын
coming from a teacher, i loved how you explained things in this video!
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Thank you Regret! I'm glad you enjoyed it!
@mattwurst1339
@mattwurst1339 10 ай бұрын
You really explain very good understandable. Serious, very professional! Thank you!
@CaptainBobSim
@CaptainBobSim 10 ай бұрын
Hello Matt! This means a lot to me! I haven't had time (or energy) to work on new videos so hopefully soon I can start back up!
@danilocedeno9765
@danilocedeno9765 2 жыл бұрын
HAHAHA Timothy wow that was honestly comedy gold. Thanks for the video mate helped me understand in a simple way how to get my encoders woking!
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
I'm so glad you enjoyed it!!
@tiberiud1955
@tiberiud1955 Жыл бұрын
Awesome explanation. I want to build the panel with knob controls. Your video got me started and you got another subscriber
@CaptainBobSim
@CaptainBobSim Жыл бұрын
Welcome aboard! Let me know how your sim is going!!
@magodeoz765
@magodeoz765 2 жыл бұрын
Thank you for this information! Really well explained. I have a question, what if i need to connect 8 Rotary encoders (only 1 with switch)? Do they fit in the Arduino mega? Do you have any diagram? Please!!
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Absolutely! Just use any of the pins MobiFlight will let you and ground
@ross-carlson
@ross-carlson Жыл бұрын
Just wanted to say thanks, great video and helped me a ton in finishing my project.
@CaptainBobSim
@CaptainBobSim Жыл бұрын
I'm so glad it was helpful!
@TheAcePilotX
@TheAcePilotX Жыл бұрын
Thanks man! This really helped me a lot, i want to build a garmin g5 config for my sim with one rotary encoder but one thing i don't quite get is which encoder should I get, i don't know if all rotary encoders would have "infinite turning" for example as a heading/altimeter bug does or if some of them have a stop after a full rotation, also i would like to know if they have small detents every one degree of turn like some irl bugs do, I'm having some trouble finding this info at the data sheets so I'm assuming they do. Thanks again!!!
@CaptainBobSim
@CaptainBobSim Жыл бұрын
All (or at least almost all) rotary encoders should spin forever. I don't know the answer to your bug question
@harryonnekink3686
@harryonnekink3686 Жыл бұрын
Hi captain, do you know if there is a way to show the 3 digits behind the dot (or comma) in Mobiflight? ATC nowadays communicates in frequencies with 3 decimals behind the dot in VHF frqs. E.g. 121,805 iso the older 121,800. Mobiflight is not able to show the xxx,xx5... Only the xxx,xx0 is still possible. Any tips how to solve this?
@CaptainBobSim
@CaptainBobSim Жыл бұрын
I think it has to do with American vs rest of world frequency (10K vs 23.8K) You should be able to find whatever radio frequency the simulator reada
@anthonysullivan851
@anthonysullivan851 2 жыл бұрын
Great videos; thanks. Can you do a video on the radios which need special attention. The sim is in 25khz steps but new radios are in 8.33kHz steps and we have to use the modulo formula to get radios to work properly. I am still struggling with this.
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Hello! I believe this is a "simulator internal" thing. I haven't been able to get this to work, but you might try asking on the MobiFlight Discord. X-Plane seems to simulate most modern radios in 8.33, but MSFS I believe is still mostly in 25
@Greazer
@Greazer 2 жыл бұрын
Really good captain!
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Thank you!! I'm glad you enjoyed it!
@Jarbas15
@Jarbas15 2 жыл бұрын
Are arduino Leonardo and mega the same thing for this kind of use? (Flight simulator) does the mega simulate a (keyboard)? Im building an auto pilot's painel using Leonardo... But yes he is smaller. Thanks Very much from Brazil!
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
The Leonardo isn't supported by MobiFlight (yet) so won't help for MobiFlight devices. The Leonardo can be flashed with a joystick sketch which makes it helpful for analog inputs. The Mega can be used for MobiFlight, I'd recommend the mega or pro mini 2560.
@ryandconan
@ryandconan 3 жыл бұрын
Hi, im new to arduino. when we finish the encoder wiring to arduino, then connect usb to the computer, do I need to install arduino. IDE? or upload library like that before open mobiflight? or install driver first?
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
We do not need to install arduino IDE anymore :) The latest update takes care of this. You shouldn't have to install drivers either. Make sure you upload your configuration to the board under extras>Settings>MobiFlight Modules, then you should be good to go :)
@centaurixon
@centaurixon 2 жыл бұрын
In the Arduino button example tutorial the Pin for the button must be grounded through a resistor to ensure the low state when its not pressed. Why do you not do it here? Thanks so much for your tutorials
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Although there may be the tiniest bit of noise, usually this isn't really noticeable, and I don't find it worth the effort to put resistors on the circuit. Here's a resource that explains why you would use them: www.circuitbasics.com/pull-up-and-pull-down-resistors/ It is best practice, but I typically don't, to keep it more approachable and easy.
@miketango507
@miketango507 2 жыл бұрын
Great Channel!! thanks for share your knowledge!!.
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
My pleasure!
@marcgriffiths7753
@marcgriffiths7753 2 жыл бұрын
V helpful thank you!
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Glad it was helpful!
@SuperNicktendo
@SuperNicktendo 2 жыл бұрын
Would I theoretically be able to use this, plug like 5 knobs and use it as a USB device to select stuff in a program? Like scroll through a menu and press in t I select? Would mobiflight let me do that or is it only for flight Sims?
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Yeah! You can set it up as a virtual Joystick if you install vJoy. MF is mainly for FS2020 and X-Plane but with offline mode or vJoy you can use it as a keyboard or joystick
@SuperNicktendo
@SuperNicktendo 2 жыл бұрын
@@CaptainBobSim awesome thanks. I've been trying to figure out what I need and it looks like an arduino trinket is right up my alley.
@tomtomgang
@tomtomgang 3 жыл бұрын
Will this work for something like DCS? Or is it better to make a “simple” button box and map the input manually in the game?
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
It'd probably be better to use a simple button box and map input manually. With MobiFlight you'd have to use offline mode and assign things as a "keypress" from the dropdown menu, as DCS isn't directly compatible. "The Warthog Project" uses a software called Helios (I think) that might be a better fit for DCS.
@alpha_pixel_
@alpha_pixel_ 2 жыл бұрын
Im planning to use such a setup for editing. Which software i can use for key to character remapping?
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
I use Davinci Resolve. They have a lot of Key Framing (Whenever you move anything you set a start and end point). The basic version is free, and extremely powerful. I think this answers your question? If you're talking about how to remap a keyboard press to another keyboard press, I typically write auto hotkey scripts.
@fabiolondono4287
@fabiolondono4287 3 жыл бұрын
YOU ARE GREAT. WHAT A KNOWLEDGE
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
THANK YOU FABIO!!!
@shadowtheimpure
@shadowtheimpure Жыл бұрын
Those PCB mounted encoders are great for panels since you can solder headers to them and use removable wiring harnesses just in case you ever need to dismantle your panel.
@CaptainBobSim
@CaptainBobSim Жыл бұрын
Absolutely! Makes maintenance real easy!
@joshuamarius
@joshuamarius Жыл бұрын
Do you have any links to the ones you are referring to?
@philmessenger4655
@philmessenger4655 3 жыл бұрын
Hi Cap'n This is off topic I'm sorry but I dont know how else to contact you. I have a question. I printed Alvaro Alea's heading indicator and figured out how to assemble it but I haven't a clue how to link it to MSFS 2020. It has two stepper motors and two rotary encoders. Have you or any of your viewers put one of these together? Its a much needed instrument in a flight sim. Thank you for any help you can give me
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
Fantastic work! That's really hard to do :) I'm unsure the heading *bug* has the ability to be interfaced. I haven't had any luck with it. The heading indicator should use offset: 0x0580 4 PLANE HEADING DEGREES TRUE or 0x2B00 8 PLANE HEADING DEGREES GYRO (You can look in your Install FSUIPC7 Folder for more options of offsets) At the moment I haven't done this before, so the best advice I can give is to configure it like it were a whiskey compass. Happy Landings!!
@frankcarter1607
@frankcarter1607 3 жыл бұрын
Awesome video! I'm just getting started building my own sim and really like the idea of using arduinos with mobiflight. Are you limited to the number of boards you can run? Could I run 3 mega boards at once?
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
Absolutely! There is good news and bad news. The bad news is there is a limit. The good news is that the limit is something like 117 :) Knock yourself out Frank!
@frankcarter1607
@frankcarter1607 3 жыл бұрын
@@CaptainBobSim Thanks. Keep up the great content!!
@andreas-wismann
@andreas-wismann 2 жыл бұрын
How exactly do the two pins that you cut off "provide support"? I have no clue how they are used properly. Could you explain that, please?
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
In circuit boards, there will be two holes that you can solder the useless pins to, to attach it to the panel more firmly. You can see this here: cdn.sparkfun.com//assets/parts/7/9/3/3/11722-04.jpg You can model your design around them, or you can snip them off and use only the thread and nut.
@mjrteks
@mjrteks Жыл бұрын
Hello Capitan Bob, is a great video, but i miss where do you find de pcb show at 4'53s? Another question is, it's possible to connect 4 dual encoders to arduino mega? If yes, how ?
@CaptainBobSim
@CaptainBobSim Жыл бұрын
Hello! The flightsimaker PCB was a gift, if you want something like it I might recommend using the KY040 rotary encoder. It’s definitely possible to connect two dual encoders. Treat each encoder separately and connect all of the commons to ground (you can twist them together or use a breadboard)
@mjrteks
@mjrteks Жыл бұрын
@@CaptainBobSim thank you for your answer but i can connect pin 22 thru 53 to connect the dual encoders,correct?
@CaptainBobSim
@CaptainBobSim Жыл бұрын
@@mjrteks You can connect the encoder to any pin MobiFlight will let you D2-A15
@FlightSim2703
@FlightSim2703 3 жыл бұрын
Captain Bob, thanks again for your wonderful video, you did upload a video in past abut Campass with mobyfligh, would you please do the same thing with Simvim? I would like to learn how you wire and set the data for campass. Thanks 🙏🙏🙏♥️
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
Hi Brian! Recently SimVim hasn't been too excited about KZfaqrs creating tutorials, so I'm not sure if I should. I'll put it on my list :) Look up SimVim in KZfaq and you will find some tutorials however.
@FlightSim2703
@FlightSim2703 3 жыл бұрын
@@CaptainBobSim l noticed, ok. Thanks so much anyways ♥️🙏
@FlightSim2703
@FlightSim2703 3 жыл бұрын
@@CaptainBobSim you should work for NASA whenever the time comes, you are awesome smart young man. God bless you.
@tarikb.2352
@tarikb.2352 Жыл бұрын
Hi! I did a mistake i connect « + » not on 5v pin but one pin of the arduino as a button is it a problem ? My install is difficult to open and modify
@CaptainBobSim
@CaptainBobSim Жыл бұрын
If it's not working I'd change it :) I don't think it should be able to.
@CaptMeMo_350
@CaptMeMo_350 3 жыл бұрын
GREAT WORK
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
Thanks Capt Memo!
@viezurelepanykt
@viezurelepanykt 3 жыл бұрын
help me out here if you can! by using this software do i still need to program the arduino board or it does it by itself?
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
You don't have to code anything, you flash it in the extras/settings/mobiflight modules window.
@michaelnetland1622
@michaelnetland1622 6 ай бұрын
I want to install a encoder on my panel and I want to use it to set my altimeter. What do I assign it to in mobiFlight?
@CaptainBobSim
@CaptainBobSim 6 ай бұрын
It should be "Kohsman" something. I think I covered this briefly in my Generic LCD configuration video :)
@Raptor-ln2mr
@Raptor-ln2mr 2 жыл бұрын
do you know the purpose of the nuts and washers that screw onto the rotary encoder?
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
They allow you to screw it tightly onto a panel. You can also probably collect them and melt them into a fancy decoration :)
@OkamiNoken
@OkamiNoken 2 жыл бұрын
Thanks for your info videos, help to me so mucho to make my own rotary panel,but now i have a question..if you can help me..in fs2020 how i can config the button to set baro std,altitud managment or speed managment and same button for disconect to change to manual speed or baro or altitud.Thanks
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
In my latest video showing the Arduino Uno, I showed how to use FS2020 Events. These have much, much more detail than FSUIPC offsets. hubhop.mobiflight.com/#/list shows you all of the presets, you can search for them here :)
@OkamiNoken
@OkamiNoken 2 жыл бұрын
@@CaptainBobSimthank for answer, but i know the events..i just would like to know how to use one encoder push button for set baro std and when push again set BARO QNH...for example.I dont know if there is a way to use long anshrot press button or kind of.
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
@@OkamiNoken ​ I haven't dabbled too deeply into this specifically, but I think there are people on the MobiFlight discord who have - usually they write custom FS2020 code, because MobiFlight doesn't currently support press lengths.
@OkamiNoken
@OkamiNoken 2 жыл бұрын
@@CaptainBobSim thanks 😊
@yanndoryan6886
@yanndoryan6886 Жыл бұрын
Your videos are very interesting. I have a question. Does Arduino 2560 support a dual encoder with button (simulate a FMS button for example) ?
@CaptainBobSim
@CaptainBobSim Жыл бұрын
Yep! You'd just configure two encoders and a button, each on their own line
@yanndoryan6886
@yanndoryan6886 Жыл бұрын
@@CaptainBobSim Thanks for your answer. Cool ! If I have understood your tutotrial, for example, I can plot the five Dupont into the plot 2/3/4/5/6. 2 and 3 for the Inner incoder, 4 for the button, then 5 and 6 for the Outer encoder. Is that correct ?
@CaptainBobSim
@CaptainBobSim Жыл бұрын
Yep! you can wire it however you want, as long as it matches in MobiFlight. You could if you want go pins 32 and 51 for inner, pins 29 and 3 for outer and pin A0 for button, but that would make me very mad.
@yanndoryan6886
@yanndoryan6886 Жыл бұрын
@@CaptainBobSim Thanks a lot for your help. 👍
@sonkegrewe4111
@sonkegrewe4111 Жыл бұрын
Just a little correction about the pin activity when the rotary encoder is turned. You will always have activity on both A and B, no matter what direction you turn the encoder in. In a rotary encoder, the pins A and B (also known as CLK and DT) are responsible for providing signals that indicate the direction and magnitude of the rotation. When the rotary encoder is turned, the output on the pins A and B changes in a specific pattern, depending on the direction and speed of the rotation. The signals on pins A and B are typically encoded using a technique called quadrature encoding. This means that as the encoder rotates, the signals on pins A and B are shifted relative to each other, with one signal leading the other. This shift in the signals allows the circuit that interprets the encoder output to determine the direction of rotation and the number of steps that the encoder has moved. When the encoder is turned in a clockwise direction, the signal on pin A leads the signal on pin B. This means that the signal on pin A goes high before the signal on pin B goes high. In contrast, when the encoder is turned counterclockwise, the signal on pin B leads the signal on pin A, with the signal on pin B going high before the signal on pin A. The third pin, which is the common or ground (COM) pin, is not directly involved in the encoding process. However, it is essential to connect the COM pin to ground to ensure the reliable operation of the encoder and the circuit that interprets its output.
@CaptainBobSim
@CaptainBobSim Жыл бұрын
Thank you for the information! It's really fascinating how these devices work!
@divij5424
@divij5424 2 жыл бұрын
Very helpful video! I’m totally new to this so apologies for the question. I have managed to get the rotary encoder to work (left & right) using the 3 pins on one side. However the other side with 2 pins, one of them has broken off. Does this mean that I won’t be able to use the push function on this encoder? Is there a workaround? I tried by connecting the remaining pin (out of the 2) to button 3 on the board but the push function still doesn’t work. Im assuming it needs the other pin to be connected to ground on the board or to the other ground wire? Any help will be appreciated!
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
That is true, the other pin would have to be connected to ground, or the other ground wire.
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
It's so frustrating when components break off!!!
@divij5424
@divij5424 2 жыл бұрын
@@CaptainBobSim Super frustrating. Thank you for the prompt response though!
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Absolutely Divij! Best of luck with your simulator project!!
@EthanL-ws3mb
@EthanL-ws3mb Жыл бұрын
Do you think you could make a video about combining a 7 segment display and a rotary encoder into one to make a sort of radio panel?
@CaptainBobSim
@CaptainBobSim Жыл бұрын
I will once I make one for my sim
@EthanL-ws3mb
@EthanL-ws3mb Жыл бұрын
@@CaptainBobSim cool thanks
@miketango507
@miketango507 2 жыл бұрын
I am "fixing" my custome Throttle sys, fell and broke.. axis are not working wel.. what I have to change.. pot or encoder? to works smooth as before.. ( already rewire whole thing but still I have "jumps" in last section on "travelling" of my Throttle..
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
I'd recommend a potentiometer. MF now has potentiometer capabilities. Look at their GitHub for more info on this: github.com/Mobiflight/MobiFlight-Connector/wiki/Example-Analog-Input-Potentiometer Encoder will work for increase/decrease but it doesn't have a positive stop.
@miketango507
@miketango507 2 жыл бұрын
@@CaptainBobSim thanks a lot!! I just order a new Bodnard boaed. Mine is old one and even is nor recognize by manger to flush it... let you know..
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
@@miketango507 Sounds good! I hope you have fun with it!
@yair1956
@yair1956 3 жыл бұрын
Tnx for bringing this Vid, now, Should we assume that it works the same with FS2020 ?
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
I believe the offset is the same for FS2020.
@borg010564
@borg010564 2 жыл бұрын
Great video. Can you show how to set up rotary encoder to mobiflight to altitude knob in MSFS
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Yeah! You'd just use a different offset/event. You could use the MSFS2020 event from the dropdown then use Microsoft, Generic, Flight Instrumentation KOHLSMAN_DEC on left and inc on right. hubhop.mobiflight.com/#/presetview/d3828258-b00c-4dad-b59d-4fb0d4f18a2a Hubhop is where you can "google" events to use.
@borg010564
@borg010564 2 жыл бұрын
@@CaptainBobSim Thamks
@tylernurton7116
@tylernurton7116 3 жыл бұрын
Despite the fact being a very interesting and helpful video it's still funny "oh and this, it's just a lego."
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
Thanks Tyler! See ya next Thursday! 😀
@tnmonty501
@tnmonty501 2 жыл бұрын
Hey Captain, does mobiflight have a dcs version ?
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Not really, You can set it to keyboard commands that DCS Reads, but it is primarily for MSFS2020, Prepar3d and X-Plane. Hope they add it somehow!
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
dcs-bios.readthedocs.io/en/latest/hardware.html
@cinefocus6816
@cinefocus6816 3 жыл бұрын
do you have to code in arduino
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
I don't, as it's a configuration file. You can make your own following the video.
@lamborg30
@lamborg30 2 жыл бұрын
can i use potmeter or encoder as a flap or spoiler lever?
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
*For encoders: Yes, use your FSUIPC document to find your appropriate offset *For potentiometers: A week ago I'd have said "NO, get a joystick card" but with MF release 9.0 you can use analog inputs: Here's a tutorial on the MF github: github.com/Mobiflight/MobiFlight-Connector/wiki/Example-Analog-Input-Potentiometer If you need more instruction, email me: CaptainBobSim@gmail.com and I can send some unedited clips of me setting it up. *With Joystick card: configure joystick axis to spoiler/flap axis.
@lamborg30
@lamborg30 2 жыл бұрын
@@CaptainBobSim Thanks bro! Helps alot :D
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Glad to help!!
@JamesW81
@JamesW81 3 жыл бұрын
Do you by any chance know if mobiflight works with DCS?
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
Not really, though you can use key presses with offline mode and set up hotkeys in DCS.
@JamesW81
@JamesW81 3 жыл бұрын
@@CaptainBobSim Thanks for the reply. I was just curious. I'll probably end up going with Helios tbh, just wondering if mobi was an option.
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
@@JamesW81 Absolutely! Helios seems to be a great option for this.
@jaykumar-pm9hq
@jaykumar-pm9hq 3 жыл бұрын
Anything guide for this on Airmanager 4?
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
Air Manager is different in that you control INSTRUMENTS instead of DEVICES. By default the C172 has most of the instrument Arduino controls if you plug in your arduino, flash it, and scroll to the bottom of the instrument edit page. I believe I covered this very briefly in my Air Manager video. To have a custom knob you would need to code your own instrument subscribing to datarefs/fsx events. I believe Air Manager has a "Build your own instrument" in their documentation.
@jaykumar-pm9hq
@jaykumar-pm9hq 3 жыл бұрын
@@CaptainBobSim tks
@alexcampelo9504
@alexcampelo9504 3 жыл бұрын
MAKE A VIDEO CONFIGURING; AP AIR SPEED, AP ALTITUDE, AP APPROACH, AP HEADING AND AP MACH. THANK YOU FOR YOUR VIDEOS, HELPING YOU A LOT HERE IN BRAZIL.
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
NOTED ONCE I GET TO IT I WILL FOR NOW YOU CAN USE FSUIPC OFFSETS AND ASK QUESTIONS IF YOU GET STUCK I've been thinking about this too, I might give it a try (but no promises)
@hesynergy
@hesynergy 2 жыл бұрын
Nice! Thanks have you seen Russ Barlow’s “Knobster”? I’m working on making custom programming and cases for it. Lemme know if you are interested. Sending protective and healing vibes to you and your loved ones. BTW. Are you familiar with Linda which is written in Lula Chas
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
I have and would be interested in seeing your progress! Heard of Linda, but haven’t gotten deep into it
@anthonysullivan851
@anthonysullivan851 2 жыл бұрын
For X-Plane most things work ok but there is clearly a lack of offsets provided. Developing your own custom offsets for inclusion in the XPUIPCOffsets.cfg is the way to go. I struggled for days trying to get a rotary encoder to operate NAV and COM radios but failed. The problem is in Mobiflight you have to tell X-Plane what values to enter and for radios that did not work. However in datarefs there are commands which are very easy to operate so that you merely tell X-Plane to increment or decrement a frequency and X-Plane does the rest. So much easier. I strongly recommend a video on how to insert your own custom commands into the XPUIPCOffsets.cfg file.
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Very true! This is on the list of things to do for me :)
@friedchicken1
@friedchicken1 3 жыл бұрын
0:48 whaaaat? No wonder my sim doesn't work...
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
It stumped me too!
@ChrisM541
@ChrisM541 Ай бұрын
Be careful with naming !!! - Timothy and Frankie, while 'funny' for your YT usage, are extremely poor choices in practice. You'll find out when you add more encoders that you NEED to provide sensible names i.e. names that help you both decode and debug your projects ;)
@CaptainBobSim
@CaptainBobSim Ай бұрын
Don’t worry! My names now are incredibly boring and cryptic! ARD7_IDC_40A_GNS530A_L-F_ENCA and 2A-3-000
@ChrisM541
@ChrisM541 Ай бұрын
@@CaptainBobSim 'Cryptic', yes, though not for you ;)
@yummy9731
@yummy9731 3 жыл бұрын
Pickles 🥒 don’t ask lol
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
It's Yummy, I don't have to ask 🤷‍♂️
@yummy9731
@yummy9731 3 жыл бұрын
@@CaptainBobSim lol
@Greazer
@Greazer 2 жыл бұрын
Go simconnect, screw fsuipc!
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
I agree now 😂 I didn't at the time. I just wish there was something for XPlane!
Does size matter? BEACH EDITION
00:32
Mini Katana
Рет қаралды 20 МЛН
УГАДАЙ ГДЕ ПРАВИЛЬНЫЙ ЦВЕТ?😱
00:14
МЯТНАЯ ФАНТА
Рет қаралды 3,5 МЛН
Happy 4th of July 😂
00:12
Alyssa's Ways
Рет қаралды 65 МЛН
How to use rotary encoders
14:12
FriendlyWire
Рет қаралды 30 М.
Getting Started 2023 - MobiFlight Tutorial
25:55
MobiFlight
Рет қаралды 31 М.
Goodbye Knobster!!  What??
13:34
Mark Fletcher
Рет қаралды 15 М.
How to use a Rotary Encoder with an Arduino - CODE EXPLAINED!
21:11
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 58 МЛН
Самые крутые школьные гаджеты
0:49
Отдых для геймера? 😮‍💨 Hiper Engine B50
1:00
Вэйми
Рет қаралды 1,3 МЛН