I have an out of two-wire which provided approx 5Volts which is generated based on the shaft direction.
for understanding, I called It to wire A and wire B
In the static condition, it gives zero volts.
If it moves away from its position wire A have -ve voltage and wire B have +ve
if it moves inward from its position wire B have +v voltage and wire B have -ve
is there any way to read always +ve voltage making other wire as groud using Arduino?