Ep: 9 - How to Wire and Code Potentiometers for Arduino | Build Your Own Flight Simulator
Vložit
- čas přidán 27. 07. 2024
- Learn the fundaments of the humble potentiometer so you can efficiently and effectively use potentiometers in your cockpits and future projects! This tutorial will be the basis for Ep.10!! Then learn how to easily code your arduino to read the value of the potentiometer 😃
0:00 - Intro
0:19 - What is a Potentiometer
0:40 - How To Read Code on Potentiometer
1:31 - How to Wire a Potentiometer
7:05 - How to Code with a Potentionmeter (analogRead)
10:00 - How to Use Arduino Serial Monitor
13:41 - Understand Values from Potentiometer
Download the latest design files for our previous tutorials here!
cults3d.com/en/users/aHornets...
✏️ Fusion 360: www.autodesk.com/products/fus...
- Download Free Trial / Personal Use
🕹 Digital Combat Simulator: www.digitalcombatsimulator.com
- Free Trails on most aircraft!
🎶 Music: www.epidemicsound.com
Instagram: / ahornetsnest
Facebook: / ahornetsnest - Hry
"Thanks again, Scott, for the new tutorial. We are now moving on to the practical part. Greetings."
🙌🏻🙌🏻 looking forward to it!! See you next episode
These are really excellent, informative videos re the Arduino wiring and coding. Thanks very much. And the design and build stuff is very impressive!
Thankyou!!! I’m glad you like them 😃
These are amazing tutorials. They belong to the best on CZcams. You give us the tools and knowledge to start building our own. Thank you very much!!!
Thank you so much!! I really appreciate that 😃 see you next episode 🙌🏻🙌🏻
Excellent!! I can see already how the potentiometer would be used for lighting. Thank you!!
🙌🏻🙌🏻 thank you! I should have a backlighting episode coming up soon :)
Amazing as always! Thank you for these videos!😁
Thank you!!! 🙌🏻🙌🏻🙌🏻
And one more great tutorial. Thanks a lot. I’m eagerly awaiting the next one😊
Thank you!!! See you next episode 😃😃 only a few more left until we start building the FA-18 !
Thanks a lot for the vídeo! Always learning something new here!
Thanks mate!!! See you next episode where we learn to pass 8 inputs through 1 input pin! Saving heaps of pins 😃
@@aHornetsNest Cool! Thats a trick for sure I want to learn! 😲
🤓
Anther great video ❤
How about to connect this Pot to DCS module?
Thanks for the comment!!! That’ll be coming next lesson when we look at adding Analog Inputs to DCS Bios!!! See you next episode 😃😃
I just found this channel and its exactly what I am looking for. Are you going to build a entire F18 Cockpit and continue to provide free stls? Cause if so I am hopping on this train!
Hey mate! Thank you for comment :D yeah it will be a full F-18 cockpit! 😃 I will show you as we progress where to get all the files so you can build along as well 😃
Scott , I love the videos. Very new to all this but super excited to dive in. Do you use the k40 laser engraver and what laser head do you have / recommend?
Thanks mate! I use what could be called a K50. It’s a 50 Watt version of the K40 with a larger bed and couple extras
It runs a 50.8mm focal length lens, which allows a nice mix of engraving and cutting
Thanks Scott, for all your great videos.
I have come along with my Viggen-cockpit thanks to you, and now its Potentiometers turn for my Arduino Uno.
I didn´t got any value from any of my Analog PINs so i wounder...
1. Does the viper on the pot. have to stand on zero when the sketch is uploaded?
2. Can the Arduinoboard´s PINs damage if they get -voltage? (For example if I connected the ground and +5V to the wrong sidepins on the pot.)?
(And, Yes, I have measured and tested the Collective wire from the pot. ;).
3. Can this sketch be used to test if the Analog PINs A0-A5 works, by connecting a wire from the board´s +5V to Analog PIN (that number of the potPin in the sketch)?
Thx! : )
/ "Mattan".
Hey mate
The wiper can be at any position, as it’ll just read automatically after upload
You shouldnt damage the pin doing that, purely because when the pot is full clock wise it’ll be inputting 5V through that pin anyway
Can you send me your code on Instagram?
Yeah you can definitely test it that way
Are hall sensors similar to this?
Hey mate! Similar but they have a different way of sensing - I’ll make tutorial about them so people can see the difference :)
Say if you had a 3 turn switch but you wanted to match the rotation 1:1 for say the p47 trim wheel that only needs 2 spins. How would you map that in dcs bios?
Mmmmmm an option could be gearing the potentiometer so it gears down the spin
So it matched
this would be an interesting one to try 😃
@@aHornetsNest in dcs I’d just put a dead zone at say 15 percent from each end of the axis. I just don’t know how to do it in bios
Ahhhh folllowing! Nice one 😊