The hardware part of this project is very easy to make. First, connect the joystick module with the Arduino. The connections for the joystick module and the Arduino are as follows:



Connect the VCC on the joystick module with the 5V pin on the Arduino



Connect the GND pin on the joystick module with the GND on the Arduino



Connect the VER pin on the joystick module with the A0 on the Arduino



Connect the HOR pin on the joystick module with the A1 on the Arduino



After that, connect the servo motors with the Arduino. The connections for servo motors with Arduino are as follows:



