Welcome back to my joystick with Arduino tutorial series! In Part 3, we'll dive into an exciting project: controlling two servos using an analog joystick with an Arduino Uno.
In this video, I'll guide you through:
✅ Wiring an analog joystick and two servos to an Arduino Uno: You'll learn the step-by-step process of connecting the joystick and servos to the Arduino, ensuring everything is set up correctly.
✅ Writing an Arduino sketch: I'll show you how to write a program that reads the analog-to-digital converter (ADC) values from the joystick and uses them to control the rotation of each servo.
By the end of this tutorial, you'll have a solid understanding of how to use a joystick to control multiple servos, opening up a world of possibilities for your own robotics projects.
🔗 Full Tutorial & Code: https://racheldebarros.com/use-a-joys...
PART 1: • How to Use a Joystick with Arduino: Wiring...
PART 2: • Control Different LEDs with a Joystick and...
PART 3: You're watching it!
PART 4: Control DC Motors with a Joystick and Arduino: • Control DC Motors with Arduino and Joystic...
🤖 WANT MORE Arduino projects with wiring diagrams and code? NEED GUIDANCE with your project? ▶︎ JOIN my Discord Community
▶︎▶︎ https://racheldebarros.com/membership
• Live Workshops
• Arduino Project Build & Code-alongs
• Small Group Office Hours
• Personalized Project Support
Prefer to join through Patreon instead? I'm on there too! (same membership perks)
▶︎▶︎ / racheldebarros
🛒 BUILD YOUR OWN Arduino Joystick Project:
Arduino Uno: https://amzn.to/4cJrYZu
KY-023 Joystick Module: https://amzn.to/3W9pDSa
Microservos: https://amzn.to/3WryEX8
LEDs: https://amzn.to/3zFmW28
220-330 Ohm Resistors: https://amzn.to/463yDvF
Jumper Wires: https://amzn.to/3zw9bTg
Breadboard: https://amzn.to/3YfP2vf
🎬 VIDEO CHAPTERS: How to Control 2 Servos with a Joystick and Arduino
0:00 Welcome
0:12 Joystick Pinout
0:39 How to Wire a Joystick to Arduino
1:32 How Joystick ADC Values Work
2:05 How to Wire Servos to Arduino
2:44 How to Wire an LED to Arduino
3:08 External Power for Servos
4:06 Arduino Code: Control 2 Servos with Joystick Movements
12:49 Testing the Arduino Sketch with the Joystick
14:03 Troubleshooting Arduino Code
14:28 Testing the final Arduino Sketch
14:35 Wrap Up: Controlling Components with a Joystick
14:43 Join my Community for Live Events & Code!
💬 Have any questions or want to share your own experiences, tips and advice about using joysticks for controlling servos with Arduino? Drop a comment below – I love hearing from you!
🔔 If you find this video helpful, please hit that like button 👍 and consider subscribing to my channel for more Arduino/props/robot tutorials, tips, and tricks. Your support helps me create more content like this!
Some links included here are to affiliate sites. If you purchase something through them, I may earn a small commission — which costs you nothing! I am very grateful for your support when you use my links to make a purchase.
#arduino #arduinoproject #arduinotutorial #joystick #joystickmodule #arduinocode #servos #microservos #servotutorial