To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 8182
    Reading encoder forward/reverse —Richard Giuly
   I would like to tell which way my optical incremental encoder is turning. It has two outputs, one offsett from the other. Is there any library around that can count and give direction? (the "encoders.c" functions seem to only count regardless of (...) (24 years ago, 21-Nov-00, to lugnet.robotics.handyboard)
   
        Re: Reading encoder forward/reverse —Juan José Escobar
   (...) Hello Richard I think you should use a Gray code (consecutive decimal numbers are represented by binary expressions that differ in the state of one, and only one, one bit. Synonym: reflected or mirrored code). Its very simple for two bits: 00 (...) (24 years ago, 22-Nov-00, to lugnet.robotics.handyboard)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR