Aldi You might want to look at the HCTL-2000, 2016 and 2020 Quadrature Decoder/Counter Interface ICs from Hewlett Packard. It does a lot in hardware and your pic has to read the 8 data lines and some other pins. I can give you a sort description if you Email me direc. Regards Cassie > Good day ! > > Presently I'm doing a counter for my transformer winder machine using > this 16C84. > However, I need to determine the direction of the rotation in order to > know the > correct no. of turns by considering the addition and subtruction of > turns which depends > on the direction of the rotation of my motor. > > Can anybody give an idea on the way to detect the direction of the > motor in simplest > manner or any. > > Thank you gentlemen! > > aldi. >