| ??? 08/30/01 09:53 Read: times |
#14613 - RE: optical encoder |
Yes, the method I suggested is simple but not perfect. When needed, I add a state-machine in order to ignore any reversal movement if the wheel does not go forward to the next phase (signals switching) and vice-versa. But this requires polling both signals fast enough to detect every state-change.
I use to say that this problem with encoders is the equivalent, though different, to rebounds in switches. Some manufacturers make encoders with 'movement' and 'direction' outputs, instead of the conventional A and B phases. Fran: Neither Torrecedeira nor CUVI, at the E.T.S.I. Industriales. Regards, Alfredo del Río. |
| Topic | Author | Date |
| optical encoder | 01/01/70 00:00 | |
| RE: optical encoder | 01/01/70 00:00 | |
| RE: optical encoder | 01/01/70 00:00 | |
| RE: optical encoder, Alfredo | 01/01/70 00:00 | |
| RE: optical encoder, Alfredo | 01/01/70 00:00 | |
| RE: optical encoder | 01/01/70 00:00 | |
| RE: optical encoder, Bruce | 01/01/70 00:00 | |
| RE: optical encoder problems | 01/01/70 00:00 | |
| RE: optical encoder | 01/01/70 00:00 | |
| RE: optical encoder | 01/01/70 00:00 | |
| RE: optical encoder, Roger | 01/01/70 00:00 | |
| RE: optical encoder, Andy | 01/01/70 00:00 | |
| RE: optical encoder | 01/01/70 00:00 | |
| RE: optical encoder | 01/01/70 00:00 | |
| RE: optical encoder, Fran | 01/01/70 00:00 | |
RE: optical encoder | 01/01/70 00:00 |



