Hi again Roman,Why slotted? And why so many slots?
Your encoder goes on the motor shaft, which is 100:1 ratio compared to antenna movement (assuming no final gear ratio).
A slotted disk is much harder to make! I suggest using a reflective sensor and a printed disk with white and black stripes. Very easy to make.
If you have 9 white and 9 black stripes around the circumference (a "9 line" encoder) with quadrature encoding gives 36 quadrature events per rotation.
Adding your 100:1 gearing means you will get 3600 encoder events per output shaft rotation, or 10 encoder counts per degree that the antenna moves.
Since we already discussed that the antenna will be fine within a 5 degree range, having 10 counts per degree is still excellent.
Remember that the less encoder counts per degree, the less encoder events that have to be handled in software per second of movement. That eases the workload of the processor.
I've re-read this post, and it's looking more feasible as I understand better.
Can you clarify? Am I correct that with this method, there would be 1/10 of a degree output movement per quadrature event?
I think the encoding will be carried out on external chips (one for each motor) to the main PIC. Is this speed (2400 x 9 dark/light) ok?
It would be easier for me, mechanically to work on the 'fast' end of the motor, but thought it added more complexity to the calculations.
C.