My previous blog Encoders Know All the Angles introduced encoders that provide information about rotary positions. A diagram illustrated the phase relationship of signals from an incremental encoder.
If you have a brushless motor, you have some magnets, a bunch of coils arranged in a circle, and theoretically, all the parts you need to build a rotary encoder. A lot of people have used brushless or ...