Hello,
I have a Hall effect Joystick with the folowing characteristics :

I will connect this joystick to a ADC integrated to a 3.3V MCU. Because Vref(MAX) of the target MCU is 3.3V, I can't connect it directly to it.
My solution for now is the folowing : I scale down the proportionnal output of the joystick to a 3.3V acceptable value with a simple voltage divider.
I don't realy have any information regarding maximum load impedance for ADC input on this MCU, but the voltage divider increase the Joystick output impedance and to ensure propper SAR conversion, I added an op-amp buffer to be sure. And a RC low pass filter, the signal from the joystick output is rather slow so low cutoff frequency is ok, here 15kHz approx.

The thing is, that the joystick also has a Center Tap output pin, which is VDD/2.
The outputs are ratiometric, making a stable, noise free, power supply essential. Thus, measuring the voltage outputs relative to CT rather than GND eliminates inaccuracies created by variation in supply voltage. I was trying to find a solution to do so. The ADC can't do differential measures so I was looking at op-amp solutions. I don't want to include dual rail supply and I haven't find a circuit that do differential V(OUT_X)-V(CT) measure with offset and gain to acheive [-2.5 to 2.5]V to [0-3.3]V with single supplied op-amp.
Can you think of an easy/relatively cheap BOM solution ?
If not, I will also connect CT to an other input of ADC to do V(OUT_X)-V(CT) in software, but I think it's cool if I can learn an analog way of doing do.
If you have comments on the actual solution (voltage divider + opamp buffer + low pass filter) regarding components and values I'm open to critics
Thx all
EDIT : I forgot to say it's ok if the output is inverted (-2.5 when max travel, 2.5V when min travel) it's just some software considerations after.
I have a Hall effect Joystick with the folowing characteristics :

I will connect this joystick to a ADC integrated to a 3.3V MCU. Because Vref(MAX) of the target MCU is 3.3V, I can't connect it directly to it.
My solution for now is the folowing : I scale down the proportionnal output of the joystick to a 3.3V acceptable value with a simple voltage divider.
I don't realy have any information regarding maximum load impedance for ADC input on this MCU, but the voltage divider increase the Joystick output impedance and to ensure propper SAR conversion, I added an op-amp buffer to be sure. And a RC low pass filter, the signal from the joystick output is rather slow so low cutoff frequency is ok, here 15kHz approx.

The thing is, that the joystick also has a Center Tap output pin, which is VDD/2.
The outputs are ratiometric, making a stable, noise free, power supply essential. Thus, measuring the voltage outputs relative to CT rather than GND eliminates inaccuracies created by variation in supply voltage. I was trying to find a solution to do so. The ADC can't do differential measures so I was looking at op-amp solutions. I don't want to include dual rail supply and I haven't find a circuit that do differential V(OUT_X)-V(CT) measure with offset and gain to acheive [-2.5 to 2.5]V to [0-3.3]V with single supplied op-amp.
Can you think of an easy/relatively cheap BOM solution ?
If not, I will also connect CT to an other input of ADC to do V(OUT_X)-V(CT) in software, but I think it's cool if I can learn an analog way of doing do.
If you have comments on the actual solution (voltage divider + opamp buffer + low pass filter) regarding components and values I'm open to critics
Thx all
EDIT : I forgot to say it's ok if the output is inverted (-2.5 when max travel, 2.5V when min travel) it's just some software considerations after.
Last edited: