>Can anybody advise me if they know of any successful efforts to use a PIC to >interface to a rotary encoder to give a reading of angular resolution and >direction. I guess this would involve some sort of phase shift measurement. >Any help would be very much appreciated. >Regards Kim Turner. Back in the old days of the 68705P3 I used a 7486 to generate a low going INT pulse whenever there was any change in pulses. The service routine read the parallel view of the current 2 phase input, used this as a jump table to an INC or DEC routine. This allowed 7 segment output whilst acquiring position to as many bits as required on interrupt. With a 2MHz MC68705P3 I managed about 4KHz input without any loss of position and 7 segment multiplexing. I'm sure a similar technique could easily be used for the PIC... Rgds Mike