@T86157: You can use a voltage-divider! Put an 10kOhm Resistor between the analog input and the GND. Then you connect the adc-pin from the joystick to the analog input (where the resistor to GND) and the other legs to 5v and GND. I think, I make a video about this!
I just bought myself a couple of breakout boards for the joystick potentiometers. I have one more question: I get analogRead values of 0 when I barely move it down for vertical and right for horizontal. Is there a way to fix this so that I can read a larger range? So far I get roughly 0 to 1023 for both vertical and horizontal reads but one side like I've said, goes to 0 much more quickly than the other side reaching the max analogRead value I get.
I just got done unsoldering some joysticks from an xbox controller from the thrift shop. Now it's time to hook it up to my arduino!
+1 on the desoldering pump. Makes things SO much easier. My desoldering pump broke while I was removing the joysticks :( Now it's temporarily held together with duct tape. I may just have to go out and get a new one. I also want to try solder wick and see how that compares,
I have one of these I've managed, after much poncing about, to solder to a piece of 100mil matrix board :P
I read your whole description and I'll say this: Get a desoldering pump! You can get em all over the place, and they're immensely handy :D
A question regarding the thumbstick: What's the range of values you get out of it? If I hooked up an 8bit ADC to the centre pins of the pots (which I'm going) will I get 0 to 255, with the centre at 128? or will the range at the extremes be more limited?
Actually its not that easy, I used a breakout board for the stick that I got from Sparkfun's online store. Only cost like 2 bucks and it works great but without it it might not be too easy.
@T86157: You can use a voltage-divider! Put an 10kOhm Resistor between the analog input and the GND. Then you connect the adc-pin from the joystick to the analog input (where the resistor to GND) and the other legs to 5v and GND. I think, I make a video about this!
MfG
roboter421 5 months ago
I just bought myself a couple of breakout boards for the joystick potentiometers. I have one more question: I get analogRead values of 0 when I barely move it down for vertical and right for horizontal. Is there a way to fix this so that I can read a larger range? So far I get roughly 0 to 1023 for both vertical and horizontal reads but one side like I've said, goes to 0 much more quickly than the other side reaching the max analogRead value I get.
T86157 1 year ago
Did you have to buy headers with the Breakout Board for the thumb joystick?
T86157 1 year ago
@T86157 I honestly can't remember for the life of me, either they came with it or the arduino I forget, sorry.
89nephilim 1 year ago
I just got done unsoldering some joysticks from an xbox controller from the thrift shop. Now it's time to hook it up to my arduino!
+1 on the desoldering pump. Makes things SO much easier. My desoldering pump broke while I was removing the joysticks :( Now it's temporarily held together with duct tape. I may just have to go out and get a new one. I also want to try solder wick and see how that compares,
purplemutantas 1 year ago
HEY, AS LONG AS ITS FUN TO MESS WITH
nata911 1 year ago
w8 is the ps2 thumsick the same from a ps3??
callofdutyrocks12 1 year ago
I wouldn't know to be honest, but i'd guess it is. You can find the specs if you google it.
89nephilim 1 year ago
I have one of these I've managed, after much poncing about, to solder to a piece of 100mil matrix board :P
I read your whole description and I'll say this: Get a desoldering pump! You can get em all over the place, and they're immensely handy :D
A question regarding the thumbstick: What's the range of values you get out of it? If I hooked up an 8bit ADC to the centre pins of the pots (which I'm going) will I get 0 to 255, with the centre at 128? or will the range at the extremes be more limited?
azayles 1 year ago
I wonder if it would work with my Snake Chaser!
omlan 2 years ago
wow so i ould do gamecube pad too? the actual joystick unit has the wires that just plug right into arduino? so cool.
A1260T 2 years ago
Actually its not that easy, I used a breakout board for the stick that I got from Sparkfun's online store. Only cost like 2 bucks and it works great but without it it might not be too easy.
89nephilim 2 years ago
nice work, i wan´t to see the video with servos
Congrat.
vichugmal 2 years ago
nice!
shadoskill 2 years ago
thnx I have this thing controlling two servos now, must post a vid sometime.
89nephilim 2 years ago