Please let me know what you think or if you have questions/criticism for me! I'm always looking to learn new things.
Required materials:
~ Playstation 1 controller
~ Soldering Iron
~ Solder
~ Knife
~ Wire strippers/cutters
~ Electrical Tape
~ Small Phillips head screwdriver
~ Two mid-value resistors (for pushbutton cicuits)
~ Third Hand (not absolutely necessary but makes soldering small things much much easier)
~ 22 gauge wire
Video Demo:
Demo code (copy and paste the following text into the Arduino IDE):
const byte leftClick = 2; //assign the pins for the buttons
const byte rightClick = 3;
const byte leftVert = A2; //assign the pins for the pots
const byte leftHor = A3;
const byte rightVert = A0;
const byte rightHor = A1;
int delayTime = 50; //so the serial output is more readable
void setup(){
pinMode(leftClick, INPUT); //set button pins to input
pinMode(rightClick, INPUT);
Serial.begin(9600); //lets arduino send text to computer
}
void loop(){
//output formatted as leftHorizontal, leftVertical, leftButton, rightButton, rightHorizontal, rightVertical
Serial.print(analogRead(leftHor));
Serial.print(", ");
Serial.print(analogRead(leftVert));
Serial.print(" ");
Serial.print(digitalRead(leftClick));
Serial.print(" ");
Serial.print(digitalRead(rightClick));
Serial.print(" ");
Serial.print(analogRead(rightHor));
Serial.print(", ");
Serial.println(analogRead(rightVert));
delay(delayTime);
}
Remove these ads by
Signing UpStep 1: [Figuratively] Rip it Apart
I could have desoldered the joysticks and buttons and used them individually, but I wanted them together as a whole since it's a good way to have really compact dual joysticks for a future project (most likely a wireless robot).
Some things to note: there are two different sized rumble motors you can salvage as well as the L1 and R1 shoulder buttons which are in their own casing. I took the motors but tossed the shoulder buttons because I don't plan on ever using them, but someone might find a use.
I haven't tried finding the specs for the motors yet, but I assume it must be around 5v. If anyone knows, let me know.







































Visit Our Store »
Go Pro Today »




analog board connections
connection from analog to Arduino board
;)
it's really easy, there's even a library for it, and you need less pins and have info abaut ALL the buttons.
Google it
It's only an arbitrary coincidence that I used the Arduino platform to demonstrate the results of figuring out which wires are connected to each component. I could have just as easily used a PIC microcontroller, or maybe created some sort of interactive LED art display in a purely analog circuit.
Even something as simple as two analog joysticks have infinite potential project implementations :)
Jaycon
I would love to see what projects you do with the joysticks!
Great Project!
Part of why I only took the joysticks from the controller is so that they can be interfaced with anything that any other potentiometers could since it's just giving you analog signals in the end.