Close

Debugging the joystick

A project log for Pyxel Paradise

A DIY mini arcade cabinet that can run games built using Pyxel (https://github.com/kitao/pyxel) on the Raspberry Pi.

rkrishnasankarkrishnasanka 08/03/2019 at 16:370 Comments

So I had to change my initial design of the arcade joystick controller to from a low side switch to a highside switch to make it work correctly. I think I will need to create a separate reference diagram for the adafruit folks to add to their website. 

Finally I decided that I'm going to crimp the joystick cable into a JST XH 5 pin so that it becomes easier to assemble on the board and because its easier to get the housing components.

This assumes that the cable is at the bottom:

WireDirectionPin Number
(From Left)
RedEAST/RIGHT5
OrangeWEST/LEFT4
YellowSOUTH/DOWN3
GreenNORTH/UP2
BlackCommon Ground1

Discussions