hi, i need 2 encoders in my project but the encoder used in this link Arduino Playground - RotaryEncoders don.t give the precision i want. any help in other encoders with arduino with bigger precision, because i have 2 motors to calculate their positions with. thanks


Can be found at digikey.com; probably elsewhere.

i have now an E6B2-CWZ3E , but it says NPN voltage output, can i use it with my arduino uno?? and how can i connect it?

e6b2-c_ds_csm491.pdf (325 KB)

That usually means its an open-collector output, NPN to ground, so add a 1k pull-up resistor on the output(s)
to 5V, and it should then generate nice logic levels. Check with a multimeter to make sure.