Introduction: Led Indication by Joystick

We are familiarized with joystick. Given its ease of control, it's fun to control things using joystick.

In this project i'll explain how to turn on different colour led using joystick.


  • Joystick
  • jumper wire
  • power supply
  • Arduino UNO
  • 4 different colour LED

Step 1: Assemble the Circuit

For joystick connection

  • Connect Rx pin to analog A0
  • Connect Ry pin to analog A1
  • Connect SW pin to digital pin 2
  • Give 5 volt power supply to joystick from arduino

Here i used 4 led for indication purpose

Connect LEDs to digital pin 10,11,12,13 of your Arduino board.

Step 2: Upload the Code

Upload the code to your Arduino board using arduino IDE.

Step 3: Move Joy Stick Button and Check It

Lets press and move the joystick button and check whether it is working properly or not.

Makerspace Contest 2017

Participated in the
Makerspace Contest 2017