Arduino Tutorial 32: Understanding and Using Joysticks in a Project

Поделиться
HTML-код
  • Опубликовано: 30 июл 2024
  • You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:
    / paulmcwhorter
    In this lesson we learn how to incorporate a Joystick into your arduino project. We show how to connect the joystick and how to program it. A joystick can be thought of as two potentiometers which can work together to control a variety of devices. The joystick also has a simple on off switch.
    You can get the kit I am using for this series at the following link:
    amzn.to/2I7N4Ek
    Also, you can get nicer servos than the ones in the Elegoo kit here. These are the good ones I use in most of my projects, and will .
    amzn.to/2Ix8ATa
    Follow along on our WEB site:
    toptechboy.com/arduino-tutori...
    [Disclosure of Material Connection: I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. This means if you visit the link and purchase the item, I will receive an affiliate commission. Regardless, I only recommend products or services I use personally and believe will add value to my readers.]
    #Arduino
  • НаукаНаука

Комментарии • 1,9 тыс.

  • @smitsoni6078
    @smitsoni6078 4 года назад +78

    "Indigo" i will watch your all arduino lessons as long as you make

  • @JaydenSumbillo
    @JaydenSumbillo Год назад +5

    indigo please protect this good man, he is producing some of the best future engineers in the world

  • @nayesha9375
    @nayesha9375 3 года назад +5

    Serial.println ("INDIGO");
    Serial.println ("Thank you sir! I love your lessons");

  • @eb_dance1530
    @eb_dance1530 6 месяцев назад +11

    We are using your tutorials for our Computing lessons (High school ENGLAND) and are really enjoying them so far. We have watched up to lesson 32. BTW INDIGO!!! Thank you Paul McWhorter! From Emmy. Year 8 England.

    • @paulmcwhorter
      @paulmcwhorter  6 месяцев назад +5

      EXCELLENT! Keep going, and then when you are done with these lessons think about taking the Raspberry Pi Pico W classes. Keep learning, and you will go far! Well done. Tell your classmates hello for me.

    • @wesleyselenaf1149
      @wesleyselenaf1149 5 месяцев назад +1

      @@paulmcwhorter"indigo"

  • @RobVollmar
    @RobVollmar Год назад +5

    I didn't take that subtle hint from the last video to invest in more servos as seriously as it is now clear that I should have! I've got a couple more on the way. What I did do was hook up a red and yellow LED (never green, that's for special occasions!) and brighten and dim them along the X and Y axes. Then I got the idea to hook up an RGB LED to play with blending red and green similarly. I thought about connecting the blue line up to the switch but haven't spent the mental capital to figure out how to handle the pull up resistor function yet.

  • @noahb5019
    @noahb5019 3 года назад +8

    "Indigo" - Engineer here. I got my dad hooked on Arduino, and he turned me on to your videos. Great stuff!

  • @steveallsop9989
    @steveallsop9989 2 года назад +6

    Indigo !!! Thanks Paul for a great series. I’m a 76 year old retired UK citizen who used to be in IT in yesteryear. I have to confess that the toggle switch logic tested my brain to exhaustion but I think I got there in the end. As a keen aero modeller I’m looking forward to the next servo challenge. Thanks for series Paul.
    Steve Allsop

  • @bobrayme9983
    @bobrayme9983 Год назад +15

    indigo is the bestest boy! So I'm a little late to the party but I've been following along so far. Have to say you are a really good teacher. From getting concepts across to informing on why and what is the cause and effect of each aspect of the different components. Thank you for all these videos on so many different systems. And still putting out new content. I have a friend who got your kit and showed it to me. I had mine ordered the next paycheck, lol. So we've been taking this class together. Been a long time since I've actually put some effort into learning something new. So again thank you, so, so much!! keep up the great work in all you're into! Cheers!

  • @aungphyokyaw4475
    @aungphyokyaw4475 6 месяцев назад +3

    Indigo is your faithful guard. Always appreciate your guidance.❤

  • @joshhodges2311
    @joshhodges2311 3 года назад +5

    Thank you so much for these tutorials! I recently got a job programming PLC's and visualizing circuitry and watching you explain how to solve problems has been massively helpful. Hope and Indigo are doing well!

  • @user-bx8zb7sw2g
    @user-bx8zb7sw2g 2 года назад +2

    Hello Paul! Your lessons are great! Not only I watch them till the end(secret word:Indigo) but I also do the assignments.

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

    Thank you for the lessons. You explain them in a way anyone can understand. Thanks to you I was able to clarify many of the doubts that tormented me for months.

  • @geraldwhitmore6024
    @geraldwhitmore6024 4 года назад +5

    Indigo! Always watch to the end. New to your tutorials. Only been watching for a couple of weeks. Trying to go in order. You are a good teacher and make most of the material interesting. The math is tough for me so I struggle through that. Last time I did any math more complicated than balancing the check book was high school algebra 55 years ago. But I plan on sticking with it and then move on to build the robot car in your next series. Thanks for teaching. God bless.

  • @MrBrotherchris65
    @MrBrotherchris65 3 года назад +18

    This was a good opportunity to build my first wiring harness. I cut the indigo wire a little shorter than the others but it all worked out.

  • @HyppyWayfarer
    @HyppyWayfarer 2 года назад +2

    For some odd reason I keep using the Indigo wire to connect to the servo motor - great tutorial. I'm a software developer who wants to learn about the micro controllers, and I'm loving this series. Keep up the great work!

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

    Indigo! Hi Paul, I'm working through your videos and watch them all right to the end. Fantastic work, thank you Sir

  • @johnmichaeljones2600
    @johnmichaeljones2600 4 года назад +28

    Another great tutorial.
    As I always say as I’m pushing the wires into the breadboard “In de go” (sorry about that)

  • @tranquero
    @tranquero 3 года назад +3

    Watching these videos to the end just as loyal as Indigo!

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

    Indigo. I have watched the first 32 from start to finish and followed along with everything. I had no Arduino experience prior, but I am learning. I have a hard time knowing how to complete the assignments on my own. I will be picking up the reminder of this series in a couple weeks. Thank you for everything so far and Merry Christmas to you and your family.

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

    I loved the lesson, always wanted to know how joysticks work. Understood everything really well, and Indigo is a real cute dog. Thank you for this great series!

  • @MarcReeveNewson
    @MarcReeveNewson 3 года назад +10

    If you use the Serial Plotter instead of the Serial Monitor and your x and y values are getting graphed in blue and red you can rapidly mix them to make a very light indigo.

  • @GeoGebweiler
    @GeoGebweiler 4 года назад +6

    "Indigo" - Great lesson again, Paul. Thanks a lot.

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

    Indigo! Thanks for taking the time to make these lessons. I've been following them in order as well as attempting all homework assignments.

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

    Paul, LOVE the videos. Retired EE after 40 years, working for DoD. My Rat Terriers Cooper and Blue watch the videos with me and barked at Indigo. GREAT series, and as other have said, I wish my college professors had been as down to earth as you are! I do the homework on my own, brings back memories of the old IBM 029 Punch machines and System 360/370 from college. Great to have instant feedback now on the compilation results instead of waiting two hours only to find a typo. This is without a doubt, the best $35.00 I have EVER spent! Thank You!! ---Ace

  • @als.4568
    @als.4568 4 года назад +28

    I could rave about this lesson until I was “blue in the face” (or should I say “Indigo in the face”?)
    Thanks Paul!

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

      Indigo... new viewer, I very much enjoy your lessons 👍👍

  • @VivekYadav-ds8oz
    @VivekYadav-ds8oz 4 года назад +4

    I couldn't think of a joke.
    Indigo.

  • @Gabriel-fg8rw
    @Gabriel-fg8rw 3 года назад

    Hi Paul, I have to congratulate you. Your "new and improved series of tutorials" is the best introduction to programing I found around!!
    Even though you prepared this material some years ago, I hope you still reading your student comments.
    I believe you teaching of math and coding is the perfect mix, you make sense of those formulas nobody takes the time to explain.
    Great job!!

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

    Indigo. I'm watching and love your material. I've learned a lot and plan on going through the whole series. Thank you for these.

  • @centralvirginialive
    @centralvirginialive 3 года назад +4

    "My name is "Indigo" Montoya, you killed my father, prepare to die!" - (Inigo Montoya is a fictional character in William Goldman's 1973 novel The Princess Bride)

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

      INDIGO. Great lectures and enjoying every lesson. Thank you

  • @Panvil
    @Panvil 3 года назад +4

    while(lesson=awesome)
    Serial.print("Indigo")
    ....
    "Indigo"

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

    I watch all of your videos to the end then review them. I have all of my lessons printed out to refer to.
    Thank you

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

    Indigo!! BOOM!! Thanks Mr Paul for the clear, practical and educative tutorials.

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

    Secret word: Indigo. Paul, your Arduino tutorials are the best. I recently discovered these tutorials and am going through all of them. I do the homework assignments and have a lot of fun writing Python code to utilize what I have learned. I'm somewhat proficient in Python and C so the programming is simple to me. I'm very excited about learning to build circuits.

  • @bg7370
    @bg7370 7 месяцев назад

    I really love your "under the hood" explanations. I wanted to do mechatronics engineering when I was in school, but ended up doing software development instead. I like the software world, but electronics fascinates me a bit more. Thank you for the most excellent master classes here on RUclips. Also, indigo.

  • @johnhechtlinger9465
    @johnhechtlinger9465 5 месяцев назад

    INDIGO! This was another cool tutorial. You have joined the pantheon of my favorite tutors along with Bucky Roberts.

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

    Indigo! I've watched every one of your videos from 1 to 32 so far all the way through. I started on Saturday, never touched an Arduino before and I'm having a blast making all of these projects. It looks like I'm almost half way through your video series, I'll let you know when I get to video 68.

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

    Hello Paul,
    Thank you for this tremendous lesson; I had a lot of fun watching it. Indigo is one of my favourite colours too.

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

    INDIGO!!!!
    Thank you Paul, I am absolutely in love with your lessons.

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

    Hi Paul, I watch every episode to the end and watch again if I don't understand anything. Good boy Indigo. Your tutorials are a great way to learn. Thank you Paul and Happy New Year

  • @autocrosser10
    @autocrosser10 5 месяцев назад

    Indigo! always watch to the end!
    I did jump ahead to lesson 34 prior to 32. Completely understand how your using the internal pullup resistor in projects.

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

    I watch your video over and over again. Thank you.

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

    I watch all your videos to the eNd! you are an inspiration to me anD I can not thank you enouGh for all that you dO for us here on youtube! Thank you Paul and God bless!

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

    Indigo, got my kit and built it along with the video. Great videos thanks Paul.

  • @jakubkosior
    @jakubkosior Месяц назад

    Indigo!
    Another day, another Paul's Tutorial :)). At the moment watching your tutorials has become a part of my daily evening routine. I have also begone to start my days with black coffee. With Ice only, no milk, no sugar, no sweetner packgages and no vodka ;) added haha. Keep up the great work! I am looking forward to your next videos!

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

    Paul MchWorter , you're really wonderful I love your lessons and your way of teaching is extremely interesting I got lots of benefits , thank u very much I really really appreciated

  • @johneisnor
    @johneisnor 8 месяцев назад

    I have watched other videos on this topic, but you by far are the best, thank you!!

  • @evanbudd649
    @evanbudd649 5 месяцев назад

    Indigo. Re-watching the series while I wait for the wifi stuff to come out in the new R4 wifi series. Great stuff. Looking forward to more. Thanks again.

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

    Indigo!
    I have always been curious about the joysticks. Especially, when the one on PS controller goes bad. Now I know the exact working tech behind it, so no more banging the gamepad. Thank you so much :)

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

    Paul thank you for all the great tutorials. The lessons from you are an enjoyment. All good to you, stay save and Indigooooooo!

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

    Thanks Paul, I’ve learned a lot watching your arduino video series so far, you really are a most wonderful teacher. I hope indigo is still doing great!

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

    "indigo". This was the first video I watched from you. I loved it.

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

    Yes I saw Indigo. Thank you Paul for taking the time to do these videos!

  • @cmartin6126
    @cmartin6126 2 года назад +2

    Thanks for the 'most wonderful' tutorials!!! You are an amazing teacher, and I wish other RUclipsrs would post such great videos. Really glad there are 36 more vids, and I always watch to the end. These videos are a great opportunity for me to learn Arduino before i learn C#. But i wish the recommended servos came in a GLORIOUS indigo color like the Elegoo ones...
    (PS I am NOT carole this is my mom's account)

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

    Paul, thank you so much for your most excellent lessons. I am following along and even doing/attempting the homework on my own. I have been doing 2 or 3 lessons each night, and can't wait until after dinner to get to computer and do them. Oh yea, Indigo.

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

    Secret word for today was Indigo. I watch all you videos till the end, I like them so much!

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

    Indigo! It is super fun to try out these tutorials. A big thank you to Paul. 😃

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

    Thanks for the lesson. Joysticks made easy! Indigo is the colour of your energy.

  • @DaveMarriott-ue1oy
    @DaveMarriott-ue1oy Месяц назад

    Working my way through these videos and finding them so useful. The theory is proving so much more understandable than it ever did in class many moons ago. Have to say though Indigo seems an unusual name for a dog.

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

    Indigo!! I always watch to the end. Thank you Paul. You are an excellent teacher. Happy New Year.

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

    Indigo! Loving every minute of each lesson!

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

    I watch all of your videos all the way through. Sometimes twice. INDIGO!

  • @Tony-eu1zh
    @Tony-eu1zh 2 года назад

    Indigo. Thanks Paul for all your lessons. Keep your lessons coming.

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

    Yes , watched video to the end and still enjoy your videos thank you very much.

  • @carol-lo
    @carol-lo 9 месяцев назад

    Love the creativity of using joystick in project! Amazing!

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

    I love the videos. I do watch and do the lessons as home work. I'm learning so much. INDIGO!!

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

    Indigo, here you go!
    Really love your videos Mr. McWhorter :-)
    God bless

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

    "Indigo" is the secret word. I really love your lectures. You are the best teacher.

  • @mosesmwihia8347
    @mosesmwihia8347 Месяц назад

    Indigo. Paul is the greatest teacher/ trainer I have come across.

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

    Indigo - another great tutorial Paul - good fun (when it goes well). Learning heaps and the more practice I get the better I get at it - strange that!!!!

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

    I dont think there is a single one of us that dont watch your videos to the end Paul! Great stuff consistantly ! indigo all the way!

  • @mrktm65sx
    @mrktm65sx 7 месяцев назад

    Another great video! And yes I watched to the end ("indigo"). Thank you for creating this helpful course!

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

    Watched all the way to the end INDIGO!
    I added the spaces for the formatting right from the go.

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

    I always watch until the end of the videos. Loving the arduino Series. Secret word : Indigo

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

    Indigo! Loving your lessons. I'm a teacher and you sir are one of the best!

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

    Of course we watch all of your videos to the end Mr Paul and we really appreciate your hard work and your amazing tutorials. I cannot understand why there are always some dislikes in your videos. You really dont deserve them! I am not gonna say Indigo to prove that i watched the whole video, but I just did😉😁.Love you!!!

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

    Indigo. I always watch to the end. I'm really enjoying following along with my Elegoo kit, but need all the help I can get !

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

    indigo!! thank you for educated us with these wonderful easy to understand videos.

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

    really happy to learn with teacher like you , easy to understand and no question mark left at the end of each tutorial
    "in the go " or indigo hade a nice owner he will never let you down 😂
    bi thanks from Africa too.

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

    I'm "indigo" to all your tutorials (till the end) in order to learn Arduino. Thank You, Paul

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

    I really enjoy this series. Thanks Paul!

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

    I used to play my playstation using a controller and now I'm learning how its little joystick works, and i have a great teacher who teaches stuff without complicating the topic and is easy to understand and learn.

  • @md.mizanurrahman5852
    @md.mizanurrahman5852 Год назад

    Dear Paul, Thanks for the tutorial. I have gone through the tutorial till the end. The word indigo was a great selection.

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

    Hi Paul! I wired up te joystick before the lesson started. Wrote the program tested it and it worked. then watch you do it. and changed the switch to HIGH not LOW. then i hooked up the servo and wrote te program to move the servo in X. switched X to Y and did the same thing( copy paste) to move Y. downloaded the program and BOOOOOM!!!. then watched the video till the end, the homework was already done. Great stuff! (Indigo,gogogogo !)

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

    "INDIGO", another great one Paul, Thank you for these wonderful lessons!!

  • @AlexDavis-ch1ro
    @AlexDavis-ch1ro Год назад

    I always watch to the end; we'd be crazy not to. Love your lawn, and Indigo!

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

    As a guy who grew up playing a lot of video games I really enjoyed learning how the joysticks actually work. The analogy to a potentiometer is perfect! Love this series and am very excited to start controlling physical outputs with the joystick. Can't wait for the next time I sit down and learn to control the servo with the joystick

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

    indigo - I watched 28-32 beginning to end. Enjoying your videos, sense of humor. I have to have some sweetner in my coffee. I don't like iced coffee, but room temp cofeefee.

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

    Hey Paul Amazing Lessons. Watching them from begining to end and building all the projects. Currently just finished the INDIGO lesson. The lessons are spot on. The right length and clearly explained. Thank you. I will be going right to the end. (and further).

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

    Indigo. Thank you Paul. It is my second day but I have watched up to 32 videos. Great content.

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

    Indigo!! Thanks Paul, you are a great teacher. These are wonderful tutorials, I am learning a lot.

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

    Enjoyed the Indigo Joystick lesson! Thanks.

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

    Indigo!!! Thank you so much for all the work you put into this. God bless you!!

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

      And my God abundantly bless you as well.

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

    Indigo. Till today working of joystick was a mystery for me, now solved. thanks a lot.

  • @1830mof
    @1830mof 2 года назад

    Indigo Paul. A brilliant set of lectures. Thanks so much.

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

    INDIGO, what an amazing dog. Thanks for these tutorials, you're empowering the next generation of engineers .

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

    Excellent lessons, thanks Paul and Indigo!

  • @antonrayne8589
    @antonrayne8589 3 месяца назад

    Indigo, I really enjoy watching these videos. I am learning a lot thank you very much for making them.

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

    omg I love Indigo so much, what a cutie!! Thank you for these lessons 🙂

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

    Hahahahaha!!!
    Indigo doesn't seem to be stressed!
    That's fantastic!!!
    I hope it helps you in your precious work in Africa, Paul!

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

    I love your tutorials !! very clear and detailed. A real reference. Humm, I prefer black tea. A kiss to "Indigo". Currently, i'm trying to pair two steppers with one joystick. It's not very stable, but with your tutorials, I'll get there.