top of page
Writer's pictureTechnical Tamizha

Control servo with arduino joystick

Updated: Sep 19, 2021

In our precious post ,we have discussed ,

What is Joystick ??

How to use Arduino joystick??

How to program Arduino Joystick??


Beginner

Before watch this ,Watch my previous Post so that you can understand this easier.


Watch the video tutorial,


If you have any Trouble Comment or Contact us : @technical_tamizha_official




Materials Needed For this Project :

  1. Arduino

  2. Joystick

  3. Servo motor

  4. Breadboard

  5. wires


Working:



In this Arduino joystick there will be a 2 potentiometers, when you move the joystick the Potentiometer will also rotate.

The Potentiometer are variable resistance , It provide us with varying voltage depending on their rotation.

we keeping some conditions in program to rotate servo using Arduino, (eg)If the Joystick value goes bellow 300 servo will rotate 90 - 0 degree.

Joystick Pin Out :



GND - GND

VCC - 5v

VRx -> Variable Resistance x

VRy -> Variable Resistance y

SW -> Switch / Button


Connections :

*VCC -> 5v

*GND -> GND

*VRx -> A1

*VRy -> A2

*SW -> 7

NOTE : you can connect VRx and VRy to any of the Arduino Analogue pin.

SW pin to any Digital Pins


Program & Circuit Diagram :

Connect the all components according to circuit diagram:



Download Here :

Circuit Diagram : Servo-Joystick-Control


Did you make this project?? share it with us


43 views0 comments

Recent Posts

See All

Comments


bottom of page