It looks to be a standard quadrature output encoder. If all you need is cw or ccw, one easy way to do it is to look at the rising edge of signal a-c. Each time you see it change from low to high, sample the input b-c. If its high, you are going CW and if its low you are going CCW. You can also expand this logic to look at all the edges and with similar logic, get updates more often. hope this helps On Thu, 2002-01-24 at 14:00, Tal Bejerano - AMC wrote: > Hi 2 All! > > Does anyone know how to "translate" this encoder? I want to recognize when > it's turning right or left. > I have no idea how to do it...any ideas? > > Thanks > > Tal > -- ===================================================================== Lawrence Glaister VE7IT mailto:lg@jfm.bc.ca 1462 Madrona Drive http://jfm.bc.ca/ Nanoose Bay, B.C. http://members.shaw.ca/cncstuff Canada V9P 9C9 http://gspy.sourceforge.net ===================================================================== -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.