Arduino - Controlling Leds With PS2 Joystick - KY-023

by vandenbrande in Circuits > Arduino

3714 Views, 8 Favorites, 0 Comments

Arduino - Controlling Leds With PS2 Joystick - KY-023

Arduino LOGO.jpg
Arduino - Controlling leds with PS2 Joystick - KY-023

Hello world! Today i made a simple example on how to use the KY-023.

We are going to control a RGB Module and a 7 color Led Module.

You can add anything else like Servos, relays, or whatever come in your mind.

The Joysticks are pretty easy to use, and the code is easy to modify.

Follow the next step for the Schematic Code & Parts list.

Schematic Code & Parts List.

KY-023 Controlling leds with PS2 Joystick_bb.png

Just wire it up like the schematic and upload the code!

Parts list.

  1. Arduino uno, I used the RobotDyn Uno. one with 7 analog pins! Very good stuff...
  2. KY-023 Joystick module
  3. KY-016 RGB led module (You can also use separate leds of course.)
  4. KY-034 7 Color led module. ( Also here you can add any led.)
  5. Set of jumper wires MM/FF/MF

Good luck!