In the figure we have the way to use a stepper motor as an encoder. Operational amplifiers can be of any type. The circuit is from an Electronics Now from the 90s.

In the figure we have the way to use a stepper motor as an encoder. Operational amplifiers can be of any type. The circuit is from an Electronics Now from the 90s.