×

SparkFun’s ISP (internet service provider) is currently dealing with degraded network performance. While this is being resolved, you may see intermittent issues on our site and we apologize for any inconvenience. Please direct any issues or questions about orders to support@sparkfun.com. Thank you for your patience!

Member #532742

Member Since: March 17, 2014

Country: United States

  • Your ~4000 counts should be expected. With quadrature encoding, you get 4x as much resolution as pulses per rev (P/R), so this should give you 4096 counts/rev with full quadrature encoding (e.g. using the Arduino’s encoder library)

  • Without reading the datasheet (I’m bad, I know), Z is usually an absolute position reference. You can set this up on an interrupt (or, if you’re using an Uno, etc. with only 2 interrupts, using PinChangeInt) successfully. Knowing that it is constant high, set up an interrupt to detect a rising edge to set the value of the encoder

No public wish lists :(