in this video i will show that how to control multiple or more then one servo motor with Arduino and analog joystick.
Connections:
The external battery or power source 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.
Code: [ Ссылка ]
![](https://i.ytimg.com/vi/msJ_8uSuOKU/maxresdefault.jpg)