Introduction: Arduino + 4 Led and Joystick

We will do a different led work with joystick. I think you will love this..

Step 1: Pin Connections

You can see the connection shema in picture. I did this with arduino nano. And you will feel sensivity. If you move the joystick a lot to left, which led on the right will glow much then other 2 led. If you move the joystick to right, Right led will damping.

Led 1 = 3

Led 2 = 5

Led 3 = 6

Led 4 = 9

==Joystick connections;

VCC = 5V

GND = GND

Xaxis = A0

Yaxis = A1

Step 2: Arduino Code

Finally you must upload software to your Arduino. I have to say this warning; if your leds are works wrong, you should organize their pins.. You can watch my video. I hope it will be helpful:) I am waiting for your comments..:)

Comments

author
rafaelnfs (author)2017-03-18

great

author
ensarlevent (author)rafaelnfs2017-03-20

Thank you :)

author
Droxz (author)2017-03-18

Nice one, thanks for sharing and keep up the good work! :)

author
ensarlevent (author)Droxz2017-03-20

Thanks guy:)

About This Instructable

465views

7favorites

License:

Bio: BIG THINKS, BIG THINGS! FOLLOW US ON YOUTUBE: https://www.youtube.com/channel/UCODcdPwhBerlNMSHB_ATEow
More by ensarlevent:SMART MINI GREENHOUSEBayern München Spinning WhellTURN ON LIGHTS WITH RFID CARD
Add instructable to: