Close
0%
0%

How to Use Joystick_HW504 with "skiiiD"

Tutorial to use Joystick_HW504 module with "skiiiD"

Public Chat
Similar projects worth following
This project is a description of "how to use Joystick module and Arduino Uno with skiiiD, the firmware IDE"

Before start, there is a basic tutorial for how to use skiiiD

https://hackaday.io/project/167458-getting-started-with-skiiid-editor

  • 1 × HW504 Joystick Module for Arduino
  • 1 × OledLcd12864 Oled LCD to display value of Joystick movement
  • 1 × Arduino UNO
  • 1 × skiiiD

  • 1
    Launch skiiiD and select Arduino UNO

    #1 Launch skiiiD and select New button

    #2 Select ①Arduino Uno and then click ②OK button

  • 2
    Add Joystick Component

    #1 Click '+' ADD button to search and select component

    #2 ① search Joystick on search bar and ②Click Joystick Module, 

    #3 then you can see ③ pin indication. (You can configure it.)

    #4 ④ click ADD button  

  • 3
    Four Functions of Joystick

    #1 Original skiiID library provides 4 functions

    1) getHorizontalData - Indicates Horizontal position of Joystick Module as the numeric value (range : 1~10) .

       EX) If Joystick is on the far left position, it will be 1 on the serial monitor, vice versa.

    2) getVerticalData - Indicates Vertical position of Joystick Module as the numeric value (range : 1~10) .

       EX) If Joystick is on the far down position, it will be 1 on the serial monitor, vice versa.

    3) getPosition - Indicates position of Joystick Module as the numeric value (see below)

    4) isClicked - Indicates states of joystick is clicked or not.

View all 3 instructions

Enjoy this project?

Share

Discussions

Dave's Dev Lab wrote 4 days ago point

would you be interested in doing this project with a classic IBM PCjr Joystick? if so, i'd be happy to provide you some free hardware (joystick and breakout board!)! https://hackaday.io/project/165961-ibm-pcjr-joystick-breakout-board

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates