Hall Effect USB Joystick




Introduction: Hall Effect USB Joystick

About: Make it yourself if you cannot buy one!

This instructables show how to use a industrial Hall Effect joystick to make a high presision USB joystick.

There are another related instructables Tiny USB Joystick that can provide low cost solution ;>

Step 1: Why Hall Effect Sensors?

Normal USB joystick use 2 potentiometers as sensors on X-axis and Y-axis.

There are a few limitations on potentiometer:

  • not sensitive enough on minor movement (minor resistance change)
  • physical contact in the sensor is easy worn out (short lifetime)
  • the worn out in partial area make the axis movement return nonlinear value (return incorrect value)

In contrast, Hall effect sensor is contactless in sensor part, so not easy worn out and give a lifelong precise value.

Step 2: Preparation

Arduino Pro Micro

This a special version of Arduino that can emulate as a USB HID joystick.

Hall effect joystick

Hall effect joystick have many variant. In order to compatible with Arduino, it should be powered by 5V and output 2-axis analog values in the range within 0-5V.


A Tiny breadboard for easier connection, four 20 mm M3 screws and three 20 mm width Velcro strips for assembly.

Step 3: 3D Printed Parts

Download and print the case parts at thingiverse:


Step 4: Connection

Plug the Arduino Pro Micro on the tiny breadboard and the connect the Hall Effect joystick.

Here are the connection summary:

Hall Effect Joystick -> Arduino Pro Micro

5V                   -> Vcc

GND                  -> GND

X                    -> A1 (19)

Y                    -> A0 (18)

Step 5: Program

  1. Download and install Arduino IDE if not yet: https://www.arduino.cc/en/main/software
  2. Download USBJoyStick source code: https://github.com/moononournation/USBJoyStick
  3. Connect Hall Effect USB Joystick to computer
  4. Open USBJoyStick.ino in Arduino IDE
  5. Select Tools menu -> Board -> Arduino Leonardo
  6. Press Upload button
  7. Check connected device become a USB HID Joystick (for Windows you can check at Device Manager or Control Panel -> Printers & scanners)

Step 6: Assembly

  1. Stick the tiny breadboard inside the case
  2. Put the joystick in
  3. Assembly the case parts
  4. Screw up

Step 7: Gallery

Be the First to Share


    • Back to School: Student Design Challenge

      Back to School: Student Design Challenge
    • Tinkercad Student Design Contest

      Tinkercad Student Design Contest
    • Fashion Challenge

      Fashion Challenge



    1 year ago


    Reply 1 year ago

    yes, they are really expensive


    Question 1 year ago

    Hi, I looked around and couldn’t find a Hall Effect joystick like you describe. Do you have a link to the same one? Thanks!


    Reply 1 year ago