I just bought two 6 pins differential encoders from US digital for my two motors robot. It is different with the usual encoder, since it has two additional A and B channels called A- and B- channel. I need help on how to attach those two additional channels in the arduino hardware interrupt. Thanks for the info
Assuming it's a 5 volt powered encoder you can just use the A+ and B+ signal wires (plus ground and power of course) just like a single ended TTL output encoder. If the encoder is of a higher voltage type then you will need voltage divider resistors to keep the high state at +5vdc.