Arduino - Multiple Servo Control With Joystick

14,735

191

5

Introduction: Arduino - Multiple Servo Control With Joystick

About: Arduino, Raspberry Pi, esp8266, Tutorials, Projects

In this tutorial, we will learn how to use multi-servo with Joystick. We will control 2 pcs servo motor with 1 Joystick.

You can implement your robotic arm projects with reference to this tutorial. Of course we will use external battery / power when doing this. In the next tutorial, I'll show you how to control multiple servos control with Android Application via Bluetooth.

Do not forget to subscribe. Thank you for your support.

Visit My Youtube Channel - Mert Arduino Tutorial & Projects

Step 1: Hardware Required

- Arduino Board - Servo Motor x2

- Joystick Module

- Battery

- Wires and Breadboard

Step 2: Connections

- The external battery VCC / GND connect to the breadboard.

- The Arduino GND connect to the breadboard's GND input

- The servo connections we use in this project are as follows;

* Orange Input - Signal Input

* Red Input - Power Input (VCC)

* Brown Input - Ground Input(GND)

- The Servo1 VCC and GND connect to the breadboard's VCC / GND inputs

- The Servo1 Signal connect to the Arduino Digital PWM 3

- The Servo2 VCC and GND connect to the breadboard's VCC / GND inputs

- The Servo2 Signal connect to the Arduino Digital PWM 5

- The joystick connections we use in this project are as follows;

* The Joystick GND connect to the Arduino GND

* The Joystick VCC connect to the Arduino VCC

* The Joystick 'X' (in some modules 'H') connect to the Arduino Analog 0

* The Joystick 'Y' (in some modules 'V') connect to the Arduino Analog 1

* The Joystick 'SW' (switch or button) not connected.

About the Joystick Module:

2 x 5K Potentiometers for reading the X and Y position

1 x Normally Open Momentary Switch

Simple 5 pin +5Vcc - GND - VRx - VRy - SW

Step 3: Code

I did not share the code because it is short and it varies according to the number of servo.

You can write code by watching the tutorial. This is a better way to learn.

I will continue to share long and complex codes.

1 Person Made This Project!

Recommendations

  • Puzzles Speed Challenge

    Puzzles Speed Challenge
  • "Can't Touch This" Family Contest

    "Can't Touch This" Family Contest
  • CNC Contest 2020

    CNC Contest 2020

5 Discussions

0
Steve220
Steve220

2 years ago

No issues hooking those servos to 9V?

0
Winnieee
Winnieee

3 years ago

9V burn my 4303R servo motor. Any idea?

0
arduino650
arduino650

Reply 2 years ago

you could try to add a resistor or you could directly connect it to arduino it works no damage

0
Leathaldose
Leathaldose

2 years ago

It's easier to read code then to try to follow some one on a video.