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.
This is what I needed to see. Thank you so very much for these videos!!! Please keep making them!
ur welcome...Good Luck.. I will do my best...
good ardiuno uno
You are amazing. Thank you so much
Thank you so much for this wonderful tutorial, just what I needed to get me started with Simvin.
Glad it was helpful!
@@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.
Cool video!
Found your profile on LinkedIn by the way--good luck on your studies!
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?
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?
@@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. 😀
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.
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?
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.
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
can we use LCD 16*2 with i2c protocol ?
with mobiflight I think it should be possible
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
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...
NOTE: All relevant information, tutorials, videos you can get on our official website - simvim.com
Vlad (SimVIm)
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?