Send motorized pot position

I replaced the volume pot in my Technics SA-206 with a ALPS 4-Gang Motorized pot. The motor is controlled by a L298n board connected to an ESP32. My question is: is it possible to somehow convey the current position of the pot to the ESP, (e.g. voltage) without incurring introducing a bunch of digital noise into the signal?
 
Method 1
It is possible to obtain the position of the shaft using a small magnet (glued to the shaft) and a couple of linear hall effect sensors (say SS49) kept at 90* to each other. As the shaft is rotated, its angle / position is obtained from the two sensor outputs using a simple analogue arithmetic operation:

Vangle = abs(V1) - abs(V2).

abs(.) is equivalent to full-wave rectification and maybe achieved using an opamp.

V1 = blue, V2 = red, Vangle = black in the graph below.
1728661567590.png

However, since the angle voltage peaks at 90*, it needs to be counted 4 times to obtain 360* (full circle) rotation. Alternatively, a gear with a 4:1 ratio or could be used between the shaft and magnet to allow the output to be used directly.

Method 2

Connect the shaft to another linear pot and use its output for position feedback.
 
Last edited: