Ep: 9 - How to Wire and Code Potentiometers for Arduino | Build Your Own Flight Simulator

Поділитися
Вставка
  • Опубліковано 9 січ 2025

КОМЕНТАРІ •

  • @19PipoGarcia
    @19PipoGarcia Рік тому +2

    "Thanks again, Scott, for the new tutorial. We are now moving on to the practical part. Greetings."

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

      🙌🏻🙌🏻 looking forward to it!! See you next episode

  • @kenny9446
    @kenny9446 Рік тому +3

    These are really excellent, informative videos re the Arduino wiring and coding. Thanks very much. And the design and build stuff is very impressive!

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

      Thankyou!!! I’m glad you like them 😃

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

    These are amazing tutorials. They belong to the best on UA-cam. You give us the tools and knowledge to start building our own. Thank you very much!!!

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

      Thank you so much!! I really appreciate that 😃 see you next episode 🙌🏻🙌🏻

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

    Excellent!! I can see already how the potentiometer would be used for lighting. Thank you!!

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

      🙌🏻🙌🏻 thank you! I should have a backlighting episode coming up soon :)

  • @Serhy0
    @Serhy0 Рік тому +2

    Amazing as always! Thank you for these videos!😁

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

      Thank you!!! 🙌🏻🙌🏻🙌🏻

  • @pesbra
    @pesbra 4 місяці тому +1

    I have absolutely no background on any sort of engineering and in just 5 days I've learned how to design my panels using Fusion and succesfully writing Aurduino code for an EUFD and the entire pilot left panel. Thanks for these tutorials. I'm struggling with the logic for the code to light LEDs with the DCS Bios Outputs lines of code. I need to have the pushbuttons in the panels like the Stores Jettison Panel and others like it light up when activated It would be awesome if you can do a tutorial on that.

    • @aHornetsNest
      @aHornetsNest  4 місяці тому

      Hey that’s so awesome that you’ve been able to do that! Yeah I definitely want to do a tutorial like that 😃 keep me updated how you progress

    • @pesbra
      @pesbra 4 місяці тому +1

      @@aHornetsNest I'm now on the process of designing my PCBs. It would be awesome if you could take a look at my progress and offer any tips/advice. you can see my progress in the DCS Home Cockpits forum under the AH-64D Simpit Project thread. I've tried two times to put the link in this response but youtube seems not to like that.

    • @aHornetsNest
      @aHornetsNest  4 місяці тому

      Ah damn! Its a pity that UA-cam doesn’t allow it
      Feel free to send me the link on Facebook or Instagram 🤙🏻

  • @Hurricane355
    @Hurricane355 2 місяці тому +1

    Your videos are fantastic

    • @aHornetsNest
      @aHornetsNest  2 місяці тому +1

      Thank you so much 🙌🏻🙌🏻

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

    Thanks a lot for the vídeo! Always learning something new here!

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

      Thanks mate!!! See you next episode where we learn to pass 8 inputs through 1 input pin! Saving heaps of pins 😃

    • @Jambock86
      @Jambock86 Рік тому +2

      @@aHornetsNest Cool! Thats a trick for sure I want to learn! 😲

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

      🤓

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

      Anther great video ❤
      How about to connect this Pot to DCS module?

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

      Thanks for the comment!!! That’ll be coming next lesson when we look at adding Analog Inputs to DCS Bios!!! See you next episode 😃😃

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

    And one more great tutorial. Thanks a lot. I’m eagerly awaiting the next one😊

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

      Thank you!!! See you next episode 😃😃 only a few more left until we start building the FA-18 !

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

    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!

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

      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 😃

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

    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?

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

      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

  • @HeliShed
    @HeliShed 2 місяці тому +1

    Scott - what if you use multiple pots on the one board? A2, A3, etc ??

    • @aHornetsNest
      @aHornetsNest  2 місяці тому +1

      You definitely can 🤙🏻 you just define them as such, and then either run them through a micro as a HID device, or a through DCS bios

    • @HeliShed
      @HeliShed 2 місяці тому +1

      @@aHornetsNest O7 - thank you pal

    • @aHornetsNest
      @aHornetsNest  2 місяці тому

      @HeliShed 🫡🫡

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

    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".

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

      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

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

    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?

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

      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 😃

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

      @@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

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

      Ahhhh folllowing! Nice one 😊

  • @1065411
    @1065411 5 місяців тому +1

    how I can use DCSBIOS to create DIY double throttle for F-18 and F-5 ? I didn't find arduino code , can you help please !

    • @aHornetsNest
      @aHornetsNest  5 місяців тому

      Hey let me get back to you 👍🏼🫡 I’m just away from the computer at the moment :)

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

    Are hall sensors similar to this?

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

      Hey mate! Similar but they have a different way of sensing - I’ll make tutorial about them so people can see the difference :)

  • @Hurricane355
    @Hurricane355 2 місяці тому +1

    How does dcs recognize this input? Trying to build the fa18c volume control panel and can’t get DCS to recognize

    • @aHornetsNest
      @aHornetsNest  2 місяці тому +1

      You’d either want to run it through an Arduino with a 32u4 chip (micro, Leonardo, pro micro etc) which can be registered as a joystick controller and key bound
      Or you can use DCS Bios, I’d personally for a Comms panel use BIOS due to the amount of inputs on that panel

    • @Hurricane355
      @Hurricane355 2 місяці тому +1

      @@aHornetsNest i am building a volume control panel for dcs f18.
      Zero knowledge. I have a few nanos lying around.
      Was able to get three pots to recognize through Ardiuno. Basic programming.
      Can you put a video together for nano or just help me write the programming I’ve been fighting Mike Tyson I mean Arduino and chatgrokgpt.

    • @aHornetsNest
      @aHornetsNest  2 місяці тому +1

      Have a look at at my DCS bios tutorials and see if you can sort that with the pots and your nano, and then if you get stuck let me know 🤙🏻🤙🏻