Author Options:

How to wire an analog stick to a Raspberry Pi B+ Answered

So I have taken apart an old MADCATZ Wireless GameCube controller that broke a few years ago and i want to use a component or two in a project im working on.so far, i have desoldered and removed one of the two joysticks, but im not familiar with how to wire it to my Raspberry PI B+ board. The diagram i drew up is the underside of the component showing the 6 pins underneath. I intend to add two buttons, which i already understand how to connect.


The forums are retiring in 2021 and are now closed for new topics and comments.

5 years ago

Each side is basically a potentiometer. So look into how you would wire a pair of pots in the board and read their position. Hint: positive on 1 pin, negative on another and wire from the unit to an input pin on the Pi in the middle.