I'm hoping someone can point me in the right direction. I'm trying to read the output from an original playstation 3 controller thumb stick that uses 4 pin hall effect sensors. 2 pins are for 5v and ground, the other 2 pins are the outputs.
The outputs are approx 2.448v (507) when neutral but as you move the thumb stick, one output increases voltage to a max of about 2.517v (523) and the other output decreases to a min of about 2.382v (494). when you move the thumb stick in the other direction the voltages change. To put it another way, each of the outputs show a min of 2.382v and a max of 2.517v opposite to each other depending on if you move the thumb stick left or right.
What i would like to know is how to bring these values in line with something the arduino can effectively measure. With a reference voltage of 5v for analogue read, how can i bring the thumb stick readings to a min of 0v (0) and a max of 5v (1023)?
Before anyone suggests just using one of the many analog pot versions, i don't currently have any project in mind for this, i'm just curious about how to make the 4 pin hall effect version work and using it as a learning exercise.
The thumb stick i'm using.......