Flight Sim Basics (Part 4): Pots and Rotary Encoders

  Рет қаралды 10,751

The Warthog Project

The Warthog Project

Күн бұрын

How to connect an rotary encoder or potentiometer to your PC for use in DCS World, using DCS-BIOS.
DCS-BIOS Skunkworks- github.com/DCS-Skunkworks
Follow me on twitch at:
/ thewarthogproject
If you have any questions about my setup please check out my website: thewarthogproject.com/
Or ask in the Discord:
/ discord
All my plans, panel files, and 3D printing .stls are free for download at: thewarthogproject.com/downloads
And check out my Instagram at:
/ thewarthogproject
00:00 - Intro
01:01 - The Basics of Rotary Encoders and Pots
03:45 - Connecting a Rotary Encoder
07:24 - Connecting a Pot
09:03 - Where I've used Rotary Encoders
Theme Music-
Darkling by Kevin MacLeod
Link: incompetech.filmmusic.io/song...
License: creativecommons.org/licenses/b...

Пікірлер: 65
@dishdoggiegaming7254
@dishdoggiegaming7254 6 ай бұрын
You may not of started out to be a Electrical Engineer but this build and now all the knowledge you have learned that is needed to apply to build this is Amazing and you are far more talented then the average sim pit builder. You are smarter then the average Bear Yogi 😃Good Job Love your Videos from Ohio USA
@christinamaltese4460
@christinamaltese4460 6 ай бұрын
I'm heading the same road as you did, I just start building my home cockpit and with the electronics, I'm doing the same as you did, I just bough my first 3d printer in Jaycar on sale and building a GTC 580 for Garmin 3000, and this is the beginning , the ultimate goal is 737 or 787, or airbus, you are an inspiration to us all, great archiver.
@colorscream
@colorscream 6 ай бұрын
i did few panels for airbus on my other channel
@Currahee_1944
@Currahee_1944 4 ай бұрын
Man I just found your channel and this was the exact tutorial I’ve been hunting for. Subscribed great stuff
@ODGColornChrome
@ODGColornChrome 6 ай бұрын
This is so fn amazing! Well done !!
@GameWiz2428
@GameWiz2428 26 күн бұрын
These videos have been so freaking helpful!!!
@craftymulligar
@craftymulligar 3 ай бұрын
Something i learn about potentiometers class types nice work.
@Off-The-X
@Off-The-X 6 ай бұрын
Amazing. I worked as a tech @ ACES Mall of America back in 2014. You replicated our sim domes. Well done buddy!
@the_apache_pit
@the_apache_pit 6 ай бұрын
oh the hideous soldering!! - wont somebody thing of the children!!! ;) Top content as always mate - kudos also a an excellent example of utilising off the shelf components as a cheap alternative to real world switches in the aircraft that are well beyond most peoples budgetary constraints, even in your, dare i say it 'benchmark 1:1 sim' it is simply too expensive to painstakingly replicate in a like for like manner. You can get away with utilising near similar function switches & utilise their additional features to leverage more functions (like the NVG switch on the HSI etc). tip for young players - learn from the copious mistakes the old-timers / trail-blazers had to make & save yourself some heartache/headaches. cheers
@ALPHARICCO875
@ALPHARICCO875 3 ай бұрын
Super vidéo 👍 Thanks
@jorgentoll314
@jorgentoll314 6 ай бұрын
Nice instructional video! I have made some controllers using a teensy and MMJoy2, to make them directx compatible, but if you’re doing a cockpit just for a specific DCS module, this seems to be a better way.
@colorscream
@colorscream 6 ай бұрын
I did not knew there were different types of potentiometers, thanks.
@Tuuvas
@Tuuvas 6 ай бұрын
See, I'm going to take all this wonderful info and make a fancy flight sim gamepad for DCS lol
@fourseen4513
@fourseen4513 6 ай бұрын
very nice been wondering so these go in the 3d printed for panel nice
@s.m.aggies7220
@s.m.aggies7220 6 ай бұрын
Outstand equipment with plenty of work amazing...... :)
@No1sonuk
@No1sonuk 6 ай бұрын
One more thing to note about rotary encoders is that some output one pulse per detent (the notches) and some output 4 pulses per detent. There is some code you can put in to make the 4 per encoders operate like 1 per.
@VR_Aviator
@VR_Aviator 6 ай бұрын
An advantage to using pots code with a multi position rotary switch is that you can solder resistors between the contacts, and you will only need one analog pin instead of many digital pins.
@preferredimage
@preferredimage 6 ай бұрын
A dirty trick with rotaries I did was hooked them up to a keyboard encoder ripped out of a cheap USB keyboard. you wire up the two encoder lines to say A and SHIFT. so when you rotate it one way you get aaaaa and the other way you get AAAAA which you can map in most games to two functions. there's a lot of keys that work with SHIFT on a keyboard too so its a great way of getting a lot of one/two way digital inputs.
@Rokreder
@Rokreder 6 ай бұрын
This is brilliant and cursed and I love it. As long as you're only turning one at a time you could share the shift between multiple encoders
@preferredimage
@preferredimage 6 ай бұрын
@@Rokreder I dare say it would work just as good with CTRL or ALT too so even more options.....
@TheKurgen
@TheKurgen 6 ай бұрын
Will we ever see some Warthog Project special edition button boxes? (8-12 pots would be a good start)
@paradoxx_4221
@paradoxx_4221 6 ай бұрын
You mean as a product? Probably not, since he has a full-time job
@boggy8557
@boggy8557 6 ай бұрын
Any tips on how to prevent switch bounce if you're using a LeoBodnar card?
@spc83
@spc83 6 ай бұрын
DCS Bios related question: if i wanted to make a panel that would be used for multiple DCS aircraft (F-16 & F-18) would it be a better route to use a arduino that is setup as a USB controller vs DCS Bios? I dont strickly fly one aircraft in DCS but want to make physvial devices soon
@GeorgieWorgiey
@GeorgieWorgiey 6 ай бұрын
Now simulate the canopy coming down
@jehlybean636
@jehlybean636 6 ай бұрын
Are your CRS/HDG dials rotary or pots..? I have the MIP and trying to get my pot to control but it's very difficult.
@Loopyllu365
@Loopyllu365 6 ай бұрын
Hey man, what wires do you use for your projects?
@fablearchitect7645
@fablearchitect7645 6 ай бұрын
what is the latency like?
@Ultimatevr123
@Ultimatevr123 6 ай бұрын
i know you said most of your cockpit is set up with arduino micros due to the fact that you don't have to use dcs bios with them, HOW did you get around each micro showing up with the same name? i built a bunch of switch panels following your video and now i'm stuck because i can only use one at a time.
@tedparker640
@tedparker640 6 ай бұрын
Do you not have a filter on your rotary encoders? How do you prevent the bounce?
@No1sonuk
@No1sonuk 6 ай бұрын
I put 100nF capacitors on mine from the signal pin to ground.
@Munky332
@Munky332 6 ай бұрын
bit random, but some aircraft have a heading select knob, and altho I'm using a winwing setup, it has multiple rotary encoders, is there a way to speed up the encoders in DCS? I have the F1 mirage, and setting the heading select to a rotary encoder, its absolutely slow as all fuck, as if its microstepping.
@wingtipsworld5909
@wingtipsworld5909 6 ай бұрын
Are the face plates metal or etched plastic that’s painted black? Do you have a list of some of the hardware used ? Thanks.
@starflexthe2nd
@starflexthe2nd 6 ай бұрын
white acyrlic, painted black, laser engraved. He has a previous video on it
@preferredimage
@preferredimage 6 ай бұрын
Also, how many com ports does your machine have listed? it must be a lot even if you are using up every IO pin on an Arduino each time.
@samuraidriver4x4
@samuraidriver4x4 6 ай бұрын
When using the I2C bus you can use up to 128 inputs per arduino. Might even be able to combine it with a button matrix to even up the number of buttons further but you would run out of space for all the code at that point.
@spc83
@spc83 6 ай бұрын
Question regarding your cable management with the arduino's. If all those boards are connected to a usb, do you have USB hubs through out your sim pit? If you answered this already may you (or someone else) direct me to that video as i'm very curious how that works.
@spc83
@spc83 6 ай бұрын
Read your website and found the answer!
@brgimscht
@brgimscht 5 ай бұрын
how did you do your controller setup? it looks like you have a arduino (or something similar) for each small panel. how do you then connect all these single boards together? just each of them to a usb hub, or do you use master/slave and only connect the master controller to usb to your pc? what would you recommend?
@Topper_Harley68
@Topper_Harley68 4 ай бұрын
winwing.
@tomasdanielnieto5398
@tomasdanielnieto5398 6 ай бұрын
What I'm curious is the displays. Haven't found a satisfactory answer on how to build external displays, like the MFDs or others
@samuraidriver4x4
@samuraidriver4x4 6 ай бұрын
He has got a regular lcd screen behind the MFD's and all the gauges, just 1 big screen. There is a video from it, think the MFD video shows it.
@jehlybean636
@jehlybean636 6 ай бұрын
Despite having quaggles, I cannot get my heading and course to work properly. They just zoom around the HSI
@No1sonuk
@No1sonuk 6 ай бұрын
What are "quaggles"? If you mean the rotary encoder, I put 100nF capacitors on mine from the signal pin to ground. This kills noise quickly.
@TNT-tf9jd
@TNT-tf9jd 6 ай бұрын
Awesome stuff, If I come to Melbourne, would you show me your pit? Or it’s not for show and tell?
@dcf476
@dcf476 6 ай бұрын
Scroll back through some videos, everything he does he shares, parts required, doodads needed, coding, how he did what with everything. Gives sooo many ideas for all sorts of sims. His set-up is off the bloody charts! 😍👍
@dcf476
@dcf476 6 ай бұрын
Oh woops🤦 just read the "if I come to Melbourne" bit, that'd be awesome if he does. Should do and charge a fee to play 😁👍💰cockpit could pay for itself
@colorscream
@colorscream 6 ай бұрын
@@dcf476 its probably not about the moneyz, its about the experience, play dcs, be better, threaten him to shot him down if he wont show the simpit :D
@TNT-tf9jd
@TNT-tf9jd 6 ай бұрын
@@dcf476 he does indeed. By show n tell, I meant , first hand experience.
@TNT-tf9jd
@TNT-tf9jd 6 ай бұрын
@@dcf476 sorry, English is not my first language.
@craftymulligar
@craftymulligar 3 ай бұрын
Do what you like but think it could be cheaper to buy the chips with the crystals but see why you do the lazy method and buy the arduino micro boards or knock offs.
@d3v1ls51
@d3v1ls51 2 ай бұрын
Heres hoping you do a vid for a Rotary switch....NOT encoder please :)
@JohnSmith-xq1pz
@JohnSmith-xq1pz 6 ай бұрын
Man I wish I had the money to hire him to build me a clone of his Simpit and to get it shipped here
@colorscream
@colorscream 6 ай бұрын
do it yourself
@JohnSmith-xq1pz
@JohnSmith-xq1pz 6 ай бұрын
@@colorscream sadly I lack the tools and skills to do so
@colorscream
@colorscream 6 ай бұрын
@@JohnSmith-xq1pz come on, buy a cheap uses cnc for the start, and skills can be learnt in the process
@JohnSmith-xq1pz
@JohnSmith-xq1pz 6 ай бұрын
@@colorscream finding a place to do the cnc cutting isn't the problem. It's all the electronics work
@colorscream
@colorscream 6 ай бұрын
@@JohnSmith-xq1pz buy an arduino electronics kit with leds switches and wires, follow one or two tutorials and you will get it
@craftymulligar
@craftymulligar 3 ай бұрын
Bet sometimes you forget your not flying.
@TheEaglePilot
@TheEaglePilot 6 ай бұрын
Yo what’s up?
@Froster563
@Froster563 6 ай бұрын
.
@SaajaadeenJeffries
@SaajaadeenJeffries 6 ай бұрын
First pin me 😀😀
Flight Sim Basics (Part 1): Connecting a Switch
11:27
The Warthog Project
Рет қаралды 74 М.
Magnetic Switches - for $20 each!
20:42
The Warthog Project
Рет қаралды 383 М.
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 53 МЛН
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 63 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
00:56
صدام العزي
Рет қаралды 57 МЛН
The $2 Backlit Button Panel: Simple Method For Flight Sims and More
8:50
ARC-210 Digital Radio! - A-10C Home Flight Simulator
26:50
The Warthog Project
Рет қаралды 55 М.
Modifying a Thrustmaster Warthog HOTAS Throttle
26:21
The Warthog Project
Рет қаралды 52 М.
My 2024 Flight SIM-RIG Update!
7:04
M.S. BOi
Рет қаралды 2,9 М.
How NVIDIA just beat every other tech company
9:20
Mrwhosetheboss
Рет қаралды 1,1 МЛН
Goodbye Knobster!!  What??
13:34
Mark Fletcher
Рет қаралды 15 М.
The Canopy Bow (and Accelerometer)
23:08
The Warthog Project
Рет қаралды 79 М.
Another Cold Start - A-10C Simulator
31:38
The Warthog Project
Рет қаралды 63 М.
Making New MFCD's- A10C Warthog Simulator
18:05
The Warthog Project
Рет қаралды 58 М.
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 53 МЛН