Hello there friend! SparkFun will be closed on 8/17/2018 @2pm for a company event. We will not be offering our normal Friday tour or Local Pickups during this time. We will resume normal operations on Monday 8/20/2018. Any orders placed after 2pm MT on 8/17/2018 will be processed when we resume normal operations. Have a great day!

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 :(