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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/02/04 13:19
Read: times


 
#73503 - RE: Problem in Reading Encoder
Responding to: ???'s previous message
I recently interfaced an optical quadrature encoder for a rotary knob (with pushbutton) used to control a GUI. The knob had about 30 counts per rev. I used a SiLabs 'F124 and tied the A and B to two of the PCA0 Compare/Capture inputs, as well as the pushbutton to a third input. All inputs were set to edge-triggered capture, and in the ISR I determine the direction and pushbutton activity. Works great! Of course, I realize your pulse rate is much higher, but FWIW my counts never got off no matter how fast I twisted the knob back and forth. Gotta love those SiLabs/Cygnal parts - my favorite flavor of 8051!

List of 25 messages in thread
TopicAuthorDate
Problem in Reading Encoder            01/01/70 00:00      
   RE: Problem in Reading Encoder            01/01/70 00:00      
   RE: Problem in Reading Encoder            01/01/70 00:00      
   RE: Problem in Reading Encoder            01/01/70 00:00      
   RE: Problem in Reading Encoder            01/01/70 00:00      
      RE: Problem in Reading Encoder            01/01/70 00:00      
         RE: Problem in Reading Encoder            01/01/70 00:00      
            RE: Problem in Reading Encoder            01/01/70 00:00      
               RE: Problem in Reading Encoder            01/01/70 00:00      
         RE: Problem in Reading Encoder            01/01/70 00:00      
            RE: Problem in Reading Encoder            01/01/70 00:00      
               RE: Problem in Reading Encoder            01/01/70 00:00      
                  RE: Problem in Reading Encoder            01/01/70 00:00      
         RE: Problem in Reading Encoder            01/01/70 00:00      
            RE: Problem in Reading Encoder            01/01/70 00:00      
               RE: Problem in Reading Encoder            01/01/70 00:00      
                  RE: Problem in Reading Encoder            01/01/70 00:00      
      4th solution :)            01/01/70 00:00      
         RE: 4th solution :)            01/01/70 00:00      
            RE: 4th solution :)            01/01/70 00:00      
               RE: 4th solution :)            01/01/70 00:00      
                  RE: 4th solution :)            01/01/70 00:00      
                  RE: 4th solution :)            01/01/70 00:00      
                     RE: 4th solution :)            01/01/70 00:00      
   RE: Problem in Reading Encoder            01/01/70 00:00      

Back to Subject List