5 AXIS ANALOG JOYSTICK GAME CONTROLLER

Поделиться
HTML-код

Комментарии • 253

  • @tranceonline
    @tranceonline 10 месяцев назад +1

    Thank you very much for your simple yet perfect tutorial. I was building 3D-Printed Pedals and couldn't get them to work. I took your sketch and cut it for 3 Axis, now they work perfectly!
    Thank you very much!

  • @hamzterix
    @hamzterix 6 лет назад +1

    My boy always on point with the right project. THANK YOU.

  • @JSRCU13
    @JSRCU13 Год назад +3

    i love you bro thank you soo much you dont know how long i have been trying to make a steering wheel on a budget and how many videos i have been through really really thank you i am subbing

  • @NickB2513
    @NickB2513 5 лет назад +2

    Fantastic!! This is exactly what I was looking for!! Great video! Thank you

  • @delta22471
    @delta22471 3 года назад

    It's still the best tutorial I can find in 2021!

  • @burnoutcycle
    @burnoutcycle 6 лет назад +6

    Thanks for the help !!!! Fantastic video !!! Excellent communication

  • @PaddyPatrone
    @PaddyPatrone 7 месяцев назад +1

    Awesome, this helped a lot. Thank you!

  • @CentrlMax
    @CentrlMax 6 лет назад +1

    Damn i have been waiting for this video, thanks :)

  • @JarwienNL
    @JarwienNL 6 лет назад +1

    Niaceeeeee love it starting soon on the project gear indicator :D

  • @privelevenbestaatniet6739
    @privelevenbestaatniet6739 5 лет назад +3

    This is perfect for fine tuning and strafe landing big ships in star citizen . Thanks . I gonne make a stick of it

  • @yordieggelen4007
    @yordieggelen4007 6 лет назад +9

    Love all of your "How To" videos!

  • @NickB2513
    @NickB2513 4 года назад

    Awesome Video!! Exactly what I was looking for!!! THANK YOU!!!

  • @michelevitarelli
    @michelevitarelli 3 года назад +1

    Thank you for creating these great videos.

  • @lykabraine2766
    @lykabraine2766 5 лет назад +1

    Very nice video.You very help me thanks.You best youtuber who specializes in the gaming wheel

  • @archand2928
    @archand2928 Год назад +1

    Thanks for the project

  • @jackliddy4540
    @jackliddy4540 6 лет назад +2

    Clicked on this straight away interesting project keep it up

  • @inkmania
    @inkmania 6 лет назад +2

    que tutorial show ! faz um desse com esses 5 axis, 1 potenciometro rotare, chave acionamento liga e desliga , eixo esquerda e direita pra fazer um volante de avião, ... gostaria de montar um cockpit de avião usando esses comandos com arduino.

  • @eduardorochin7601
    @eduardorochin7601 6 лет назад +12

    It would be amazing if you some how came up with a DIY racing wheel, that would be the best, love your content

  • @shawnpraveen
    @shawnpraveen 6 лет назад +1

    Love it!

  • @memerexd1800
    @memerexd1800 6 лет назад +1

    Love the video

  • @JP-dj2ro
    @JP-dj2ro 4 года назад

    Awesome. Thank you. I am going to try and build a train simulator controller

  • @Rodrigo-rd1
    @Rodrigo-rd1 6 лет назад +7

    Nice vid man. VIDEO SUGGESTION could you make a throttle for flight sim, or a very big button box with leds to show when things are on and a small screen. Ps: you dont need to do it only if you want to

  • @cristiancaride8964
    @cristiancaride8964 6 лет назад +1

    You are the best men

  • @redmerbootsma9375
    @redmerbootsma9375 4 года назад +1

    Made this with 3 load cell amps for my DIY sim race pedals. Calibrated the axis to the pedals with the code, works a treat, thanks !

    • @CarlosRCastro
      @CarlosRCastro 4 года назад

      and it can be done with two potentiometers and a load cell?

    • @redmerbootsma9375
      @redmerbootsma9375 4 года назад

      @@CarlosRCastro yes no problem

    • @banditfishing1558
      @banditfishing1558 2 года назад

      Can this sketch work with just 1 potentiometer? I’m making my own set of pedals and only need 1 potentiometer for throttle

    • @Arthur00OO892
      @Arthur00OO892 Год назад

      @@banditfishing1558 yes you can just find some tutorials on the internet

    • @emzar-hy8pk
      @emzar-hy8pk 2 месяца назад

      when I run joystick program to turn arduino to joystick itt fails everytime and i can't make it, why?

  • @joaoluc
    @joaoluc 4 года назад

    Thx a lot!

  • @WolfenIII
    @WolfenIII 4 года назад +8

    thanks man! Nice tutorial, easy to understand and straight to the point!
    btw, how can be done to have the axis X and Y instead of the rotation using 2 potencimeters? :o is there any difference from this besides the number of parts and placement?

  • @bigchew1513
    @bigchew1513 6 лет назад +7

    Another cool video...thanks..

    • @amstudioprojects
      @amstudioprojects  6 лет назад +1

      Thanks mate!

    • @bigchew1513
      @bigchew1513 6 лет назад +2

      i may try n make this one to..lol. i am prety sure i alredy have ever thng i need any way..lol. i thnk i have built jst about all of ure projects..Almost..id love to get into the 3d printer stuff but ,but my budget says nope its not goin to hapn..lol. hell i still use the tach, dual 1638bordswith dual 2708 (i thnk) bords..ive had a lot o fun building tht stuff..o n thnks again..

  • @StefanoV__
    @StefanoV__ 6 лет назад +1

    can you make a box with rotary potentiometer with switch? tnks man you are the number one!

  • @walkie4166
    @walkie4166 6 лет назад +2

    The master of DIY. Can you make a video on how to make an F1 style clutch paddle?

    • @lazar2175
      @lazar2175 5 лет назад

      F1 uses sequential shifters eliminating the use of clutch while driving,but Mercedes has added a clutch paddle on their 2017 F1 car.
      I don't see many games having support for it,so it is best to leave it alone.

  • @terryteed1903
    @terryteed1903 5 лет назад +1

    I wish I was cleverer. I'd be building spaceship Sims, planes, cars, boats. Thanks for the video.

  • @DxBang3D
    @DxBang3D Год назад +1

    I would love to see you fly with this controller...

  • @teemupiiroinen9555
    @teemupiiroinen9555 6 лет назад +1

    I integrated potentiometers like this to a button box about 4 months ago, but this would have saved me couple of nights trying to make a code for them...

  • @roccocafa7872
    @roccocafa7872 3 года назад

    hi, this procedure also applies to hall effect sensors

  • @jo_link_1003
    @jo_link_1003 Год назад

    Hey, nice Video. Can you please make a tutorial to add some Buttons mayby for a button box ore something like that?

  • @gabrielrorato6978
    @gabrielrorato6978 6 лет назад +1

    Show!!!!

  • @mattnev8625
    @mattnev8625 6 лет назад +4

    Sweeeeeeet legend

  • @Theb1gjay
    @Theb1gjay 5 лет назад +1

    do you have a video on how to wire and test buttons with the pots? and should wen use the same library?

  • @user-tz6iz9yq6v
    @user-tz6iz9yq6v 5 лет назад

    Very nice DIY project.I woyld use it to make my flight stick.Can i connect wires from to board to pots?I do not like to use Mini board.

  • @tuskaton
    @tuskaton 3 года назад

    Thanks for the video, you can use the same board for additional buttons? (Plus the five axis)

  • @simtcr
    @simtcr 2 года назад

    Could you please also show how to wire two position toggle switches and 6 position toggle switches? I want to build a custom switch panel to use with Microsoft flight simulator?

  • @Judasneon
    @Judasneon 6 лет назад +6

    Awesome stuff. Been waiting for something like this to help me.
    I have an Arduino mega which I want to run 10 push button rotary encoders. Would it be the same to wire 10.

    • @amstudioprojects
      @amstudioprojects  6 лет назад +3

      Different wiring and sketch needed. Check the buttonbox vid to see wiring for encoders

  • @gronith
    @gronith 6 лет назад

    I wonder if one could use 2 potentiometers to make a 2 axis analog flight stick? My dream controller would be a kind of be dual flight sticks with 2 finger triggers on each with the standard joy pad on top of the left stick and the standard 4 button on the right. Maybe one day I can make one.

  • @MareSmaX
    @MareSmaX Год назад

    Hello, congratulations to the beautiful detailed video, can you make a video with the same procedure but instead of 5 axes do you make a 6 axis one? or if you know where i can find an oppropiate sckeck working with arduino leonardo, thanks in advance

  • @AllenRJoseph
    @AllenRJoseph 3 года назад

    @amstudio hey great idea but how can i add switches , i mean the code and physical connection to make a H shifter?

  • @mariohernandez5147
    @mariohernandez5147 6 лет назад +49

    Low cost direct drive wheel as feel vr

  • @XxBoxerman74xX
    @XxBoxerman74xX 4 года назад

    Do all the axis and buttons in test menu work in this sketch? This is exactly what I am looking for!

  • @digilabsmedia
    @digilabsmedia 4 месяца назад

    awesome tutorial!
    Is it possibel to use Hall sensors instead of Potentiometers? Does it need to change anything in coding?

  • @mikeyconnell8661
    @mikeyconnell8661 3 года назад

    Would you be able to do this with load cell or pressure sensors instead of potentiometers?

  • @user-tz6iz9yq6v
    @user-tz6iz9yq6v 4 года назад

    Can you make the same video for rotary encoders?

  • @zougarou
    @zougarou 2 года назад

    good tutorial
    1 question please: how to do if you want more than 6 analog inputs. Because the arduino mega does not work with the joystick library
    thanks

  • @linosambu
    @linosambu 4 года назад

    il video manca di qualche spiegazione accurata tipo di come caricare la libreria e di come configurare il gamepad ma sicuramente funziona ed è uno dei sistemi più semplici e affidabili che ho trovato in rete

  • @noneNone-mw1px
    @noneNone-mw1px 4 года назад

    I have a question.
    What type of on and off rotary pot I need to use for carbo heat in flight sim?

  • @lorenzoducciproductions8800
    @lorenzoducciproductions8800 6 лет назад +3

    DIY cheap direct drive wheel pliz

  • @aceventura6512
    @aceventura6512 4 года назад

    Soon to setup your button box. I also made a 6 potentiometer box. Could I name #6 pot "elevation" or some such and just copy related code to account for it?

  • @dirtbuilder4615
    @dirtbuilder4615 5 лет назад

    Can you also assign buttons or selector wheels

  • @eatthisvr6
    @eatthisvr6 Год назад

    is there a list of what boards support what inputs? ie how many axis and buttons?

  • @hc5271
    @hc5271 5 лет назад

    How can i add buttons to control things like H shifter, any help is appreciated Thank you

  • @jorgedanilo7660
    @jorgedanilo7660 2 года назад

    Very good, Does it work with arduino uno ? thanks.

  • @claudioberio9461
    @claudioberio9461 3 года назад

    Hi, is this reliable also for the "USB LOGITECH PEDAL ADAPTER" mod? I can't find your old sketch for that mod... thanks is advance, and great job!

  • @darkcypher111
    @darkcypher111 5 лет назад +3

    Love all your projects have really allowed me to see what can be achieved in a bit of DYi. Having problem with this, thought would be simple enough. Using a pro micro, wired output to A0 and A1 positive to VCC and neg to GND . Commented out non relevant lines on sketch. In calibrate input looks erratic, test looks fine though but in iracing trouble detecting axis. When detected both pots report the same axis. Even loaded your handbrake sketch and tested each pot independent but same result. Any help will be appriciated.

    • @darkcypher111
      @darkcypher111 5 лет назад +2

      Will continue to tinker / test till i get it working and will report findings.

    • @darkcypher111
      @darkcypher111 5 лет назад +1

      Hmmm raw data is showing the axis reporting as -15000 to -31000 whwn i look at the handbrake now using the same sketch it reports 0 to 255. That might be the problem. Will switch polls on pot to see the effect.

    • @darkcypher111
      @darkcypher111 5 лет назад +1

      Ok looks like i have LOG pots not Linear ones and your linked pots specifically state Linear so maybe thbats my problem will try with correct pots

    • @darkcypher111
      @darkcypher111 5 лет назад +1

      Pots made no difference, iracing just wont reconise it as an axis. No matter i used ujr to map it to a virtual control and then iracing reconised it.

  • @InFAMOUSPS4_19
    @InFAMOUSPS4_19 2 года назад +1

    not sure if I missed it but what music did you use?
    Edit: nevermind, I just rememmbered it was Closer by Au5

  • @lucaberlato9230
    @lucaberlato9230 5 лет назад +1

    Hi, there is a way to make this controller whit arduino uno or arduino nano?

  • @sixpackpilot
    @sixpackpilot 5 лет назад +3

    This looks like a good starting point for my own first-time project: Throttle, Propellor, Mixture (TPM) controller for X-plane 11 (Windows OS). I require 3 sliding push/pull rods like in a Cessna 172. That means 3 simple linear axes, right?
    These can be rotary potmeters, can't they?
    What kind of potmeters would be best? How would you connect the rods/sliders to the potentio meters? If these are a little too many questions, do you have a link to more info to get me in the right direction.

    • @amstudioprojects
      @amstudioprojects  5 лет назад

      I plan on making this exact project soon.

    • @mattivirta
      @mattivirta 3 года назад

      not matter what potentiometer uses slider or rotating., all working

  • @Alex-fv7vm
    @Alex-fv7vm Год назад

    Nice Video, will it run under iMac (27", 2020) with Monterey? plzzz help me .

  • @fluffypinkpandas
    @fluffypinkpandas 4 года назад

    I have a question. How do you add things like Rumbler feedback?

  • @TwsInformatica
    @TwsInformatica 4 года назад

    Hi there...
    The " LOGITECH_USB_PEDAL_ADAPTAER "
    Ti is jus how you named it or do I have to download an specific labary ?

  • @facealexitohdnp
    @facealexitohdnp 5 лет назад

    is "Uno R3 Smd Atmega328p Development Board For Arduino Diy"the same board? that's what they sell in my country

  • @Weesy
    @Weesy 5 лет назад +1

    It works, but how can i use that in a game?

  • @flavianojose8423
    @flavianojose8423 2 года назад

    Hey there, how do I connect a rotary encoder to manipulate trim wheel? This looks like working only for potentiometers.

  • @eusicumineeusicumine3518
    @eusicumineeusicumine3518 6 лет назад +2

    Hi,i wach all your videos,and they are really awsome,but i don't get it right, how can i add 10 buttons,additionally to your axis,for exemple? Thanks a lot

    • @lars.a1298
      @lars.a1298 5 лет назад

      Hi, im wondering about the same, did you ever find out how to add additional buttons or switches

  • @Gp3D_Sim
    @Gp3D_Sim 5 лет назад

    Very good tutorial. Could someone tell me what the code would be like to add digital buttons?

    • @Morzsika007
      @Morzsika007 5 лет назад

      Guillermo Pedrero Hello. Can you code for some button. I use g25 3 pedals and I want to make H shifter and to this need 7 button comtrolling. Thanks for help

  • @mikebenton3462
    @mikebenton3462 3 года назад

    Can I do a 6 lever throttle quadrant with this?

  • @xenon5
    @xenon5 4 года назад

    Is it possible to make this but with 6 axies?

  • @HanZie82
    @HanZie82 4 года назад

    Any way to add buttons as well?

  • @barti9872
    @barti9872 3 года назад +1

    I have a problem because all axes fly like knocked down without using a potentiometer how to fix it

  • @jordanmackay6746
    @jordanmackay6746 5 лет назад

    I tried using modifying your sketch to work with a analog joystick but it only registers the y axis diagonally and doesnt register the x axis at all. Any ideas?

  • @kkona7643
    @kkona7643 3 года назад

    How about 2-axis? I am trying to build pedals for farming simulator for doing forestry? Because a real log trucks crane has pedals and also forwarder if I am correct

  • @carloszacu
    @carloszacu 3 года назад

    how can I add buttons to this setup? to add like a small matrix of buttons to make a basic yoke and controls for flight simulator

  • @nazimuddin6811
    @nazimuddin6811 6 лет назад +1

    Hi i can play forza horizon 3 with this controller plees . And thanks for this tutorial

  • @felipegai9888
    @felipegai9888 4 года назад

    is possble to use it with load cells ?

  • @deepakjain7018
    @deepakjain7018 5 лет назад

    Hey bro we can connect switch also ???

  • @andreaandrianary3522
    @andreaandrianary3522 Год назад +1

    Is there any update for the code ? I want to use the digitals for boutons ? any help is welcome :)

  • @manitoulinmakers849
    @manitoulinmakers849 Год назад

    IS THE LEONARDO BOARD RECOGNIZED BY THE SERIES S WHEN USING THIS SETUP?

  • @williampreiss
    @williampreiss 3 года назад

    Hey, do you know why iRacing is not recognizing this ? I tried several time and i have the same problem for my DIY handbrake using a potentiometer. Thanks in advance

  • @wernichcronje3397
    @wernichcronje3397 3 года назад

    can you use it for a steering wheel

  • @DualDesertEagle
    @DualDesertEagle 3 года назад

    Will this work with 7 axes aswell?
    Stick X
    Stick Y
    Pedals
    collective
    twist throttle on collective lever
    throttle left
    throttle right
    Coz the 2 joystick boards running my simulator rig just aren't doing the trick.

    • @mattivirta
      @mattivirta 3 года назад

      normal plane have only 9 analog input or more. youke2,trottle,propeller,mixture3,rudder/brake2,flap1,trimm wheels2, thats have minimum control flight, 9-10 potentiometer need normal. and switch/buttond all what panel have start,power battery,lights,radio,speaker,heat,etc,etc,many, encoder need some gauge controll,navicator,radio,autopilot,speaker,maybe trimm wheels new model,,this have normal little size aircraft only ,big planes 747 etc all need lot lot lot lot lot more encoders,buttons,switch,leds, gauges,contyrollers.

  • @nez3009
    @nez3009 4 года назад +1

    Can 2 separate analogue axis potentiometers or hall sensors be setup to appear in windows as an x,y axis joystick without using a joystick module?

    • @wolfy4734
      @wolfy4734 4 года назад

      my question too... will the "x axis / y axis" window with the + in middle move around like a joystick when two hall sensors are plugged as X and Y axis...

  • @peterurban4754
    @peterurban4754 3 года назад

    hi i want to ask will this work with pro micro or arduino nano?

  • @HoraZ3K
    @HoraZ3K 4 года назад

    is it possible to rename the axis? like "#1" or smthing? :)

  • @willadmy
    @willadmy 5 лет назад

    tem com o adicionar o sexto potenciometro ?

  • @adriantampepe4765
    @adriantampepe4765 5 лет назад

    Can I use arduino nano instead of leonardo?

  • @gamingdaycz
    @gamingdaycz 6 лет назад +1

    Will this work with Arduino UNO, which runs on AtMega 328p ? Thank you kindly :)

    • @jakesanders1884
      @jakesanders1884 6 лет назад +2

      Tried for myself, doesn't work. Needs a Leonardo or ProMicro according to documentation

  • @briansmith1098
    @briansmith1098 4 года назад +1

    Hi, can I do the same with a Arduino pro micro? and 3 pots? Many thanks for your videos

    • @vhs7411
      @vhs7411 3 года назад

      its basically the same, pro micro has the same chip as leonardo and yoou can use the same sketch just leaving 2 without connect

    • @vhs7411
      @vhs7411 3 года назад

      im making it for logitech g25 pedals

    • @mattivirta
      @mattivirta 3 года назад

      yes, you can use all analog input what board have.

  • @maskystudio9193
    @maskystudio9193 4 года назад

    I just upload at my arduino. But got problem axis z got mixing whit thortle. How to solved

  • @johnmasters2099
    @johnmasters2099 3 года назад

    Would this sketch work on a mega

  • @jarosawlassin1335
    @jarosawlassin1335 4 года назад

    Can i add button to this project?

  • @JD-it7pc
    @JD-it7pc Год назад

    Hello, is it possible to make 6 axis with the leo? I wante to make a gamepad with 2 Joysticks. Each with x, y and z axis.

  • @joker_g7337
    @joker_g7337 3 года назад +1

    I find it sad that you didn't use the 6th analogic pin (A5).

  • @zetzet136
    @zetzet136 4 месяца назад

    Can I change the controller using ESP32 for wired connection?

  • @user-mx1nf5rf5y
    @user-mx1nf5rf5y 3 года назад

    Can I use "pro mini"?