Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/02/03 09:44
Read: times


 
#44673 - RE: reading a rotary encoder : Werner
Responding to: ???'s previous message
yes: A - B - C - D are used for the four states for an 90° encoder with an AB output, sorry for the unhappy naming.
and yes: a software that tries to use one encoder input for interrupt the other for direction will not work. You always have to work with OldState compared to a sampled NewState and evaluate all possible combinations then it works. The difference to many other approaches is, that the state of the encoder with a fixed sampling rate. I can't see anything that can go wrong except if the encoder runs too fast for the given sampling rate. And I stick to the statement: an oscillation between two adjacent states will never make a cumulative error.

Werner

List of 38 messages in thread
TopicAuthorDate
reading a rotary encoder            01/01/70 00:00      
   RE: reading a rotary encoder            01/01/70 00:00      
      RE: reading a rotary encoder            01/01/70 00:00      
         RE: reading a rotary encoder            01/01/70 00:00      
            RE: reading a rotary encoder            01/01/70 00:00      
               RE: reading a rotary encoder            01/01/70 00:00      
                  RE: reading a rotary encoder            01/01/70 00:00      
                     RE: reading a rotary encoder            01/01/70 00:00      
                        RE: reading a rotary encoder            01/01/70 00:00      
                           RE: reading a rotary encoder            01/01/70 00:00      
                              RE: reading a rotary encoder            01/01/70 00:00      
      RE: reading a rotary encoder : Erik            01/01/70 00:00      
         RE: reading a rotary encoder : Erik            01/01/70 00:00      
            RE: reading a rotary encoder : Erik            01/01/70 00:00      
               RE: reading a rotary encoder : Erik            01/01/70 00:00      
                  RE: reading a rotary encoder : Werner            01/01/70 00:00      
                     RE: reading a rotary encoder : Werner            01/01/70 00:00      
                        RE: reading a rotary encoder : Werner            01/01/70 00:00      
                           RE: reading a rotary encoder : Michael            01/01/70 00:00      
                              RE: reading a rotary encoder : Werner            01/01/70 00:00      
                                 RE: reading a rotary encoder : Michael            01/01/70 00:00      
                                    RE: reading a rotary encoder : Michael            01/01/70 00:00      
                                       RE: reading a rotary encoder : Michael            01/01/70 00:00      
   RE: reading a rotary encoder            01/01/70 00:00      
      RE: reading a rotary encoder            01/01/70 00:00      
   RE: reading a rotary encoder            01/01/70 00:00      
      RE: reading a rotary encoder            01/01/70 00:00      
         RE: reading a rotary encoder            01/01/70 00:00      
            RE: reading a rotary encoder            01/01/70 00:00      
               RE: reading a rotary encoder            01/01/70 00:00      
                  RE: reading a rotary encoder            01/01/70 00:00      
   RE: reading a rotary encoder            01/01/70 00:00      
      RE: reading a rotary encoder            01/01/70 00:00      
   RE: reading a rotary encoder            01/01/70 00:00      
      RE: reading a rotary encoder            01/01/70 00:00      
         RE: reading a rotary encoder            01/01/70 00:00      
            RE: reading a rotary encoder            01/01/70 00:00      
   RE: reading a rotary encoder            01/01/70 00:00      

Back to Subject List