Variant signals from a PSX Joystick Analog Stick

I have desoldered an analog stick from a Playstation 2 joystick and I'm having trouble with the readings I am getting through the Arduino.

The thing is, sometimes I connect it and I get a ~530 signal when the analog stick is unmoved; but then I disconnect it and connect it again and get a ~565 signal when unmoved.
Why is there such a variation in the signal ?


I have connected the Analog stick directly to the Arduino, ie no resistors or anything; i don't know if anything else is needed to make this work properly.

I have connected the Analog stick like I would connect a potentiometer, ie I used the middle leh for the signal, and the other two legs for the GND and 5V respectively.

Is it a genuine Sony controller? Or an aftermarket one?

I've seen huge variations and noise in cheap analog joysticks for PCs. To the point where some were just unusable without more effort than I was willing to put into filtering code. In a couple of cases, I tried them with PC programs that didn't show any problems, so I suspect it's common, and people writing games and other joystick apps put the time in to clean up the joystick input in their code.

The Sony controllers are probably built with better components, but not necessarily: a lot of respected brand names are appearing on second- or third-rate products these days.

Ran

Actually, no it's not a Sony Controller...

So there isn't any way to kind of "neutralize" the signal ? I'm new to electronics and thus my knowledge in such is very limited, that's why I'm asking.

Because if the signal is gonna vary a lot, it almost becomes unusable...