Thanks. I have actually bought the encoder and it worked fine and nothing was burnt
.
But now a new problem arises. The output phases of this incremental encoder are npn open-collector transistors. In order to input the pulses to my PIC so that it can count them, I used an opto-coupler that passes 5 volts to the PIC each time a pule occurs. But it seems that the opto-coupler I got has a very low frequency response becasue unless the encoder is turned very slowly, most of the pulses are missed. Is there another way of interfacing my encoder to my PIC (a fast MOSFET perhaps) and how? Or maybe there are faster types of opto-couplers available? I've never used an electronic device with an npn output before.
Thanks a lot.