Arduino Tutorial 32: Understanding and Using Joysticks in a Project

preview_player
Показать описание
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:

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:

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 .

Follow along on our WEB site:

#Arduino
Рекомендации по теме
Комментарии
Автор

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

smitsoni
Автор

Indigo, you are still helping people get hooked into electronics and controllers. Thank you for caring enough to share your blessings.

waynedoman
Автор

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.

eb_dance
Автор

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

JaydenSumbillo
Автор

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

nayesha
Автор

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

aungphyokyaw
Автор

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.

RobVollmar
Автор

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

steveallsop
Автор

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

noahb
Автор

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!

bobrayme
Автор

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.

MrBrotherchris
Автор

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

EEBBSamarJain
Автор

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.

MarcReeveNewson
Автор

Hi Paul, Love the video, I am 80 years young/retired attorney. I doing the course using an STM32 emulating the Arduino. FYI STM32 at the pins is 3.3V while Arduino is 5v. This caused a bit of problem w this lesson: was not reading the SwitchPin, and the JoyStick values were wrong and did not recognize the changes in value when i moved the JoyStick. To fix the Switch in pinMode, I need: pinMode (switchPin, INPUT_PULLUP); for the JoyStick to work instead of using 5V input i utilized the STM32's 3.3V. These revisions fixed all. Now I will move on to the Servo. If there are issue I will post.

GeraldSalzman
Автор

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

johnmichaeljones
Автор

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.

DaveMarriott-ueoy
Автор

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!

joshhodges
Автор

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!

jakubkosior
Автор

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.

geraldwhitmore
Автор

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

mosesmwihia