I have an absolute encoder that I need to read into my program. Datasheet
I want to find a way to do it on an Uno, problem is that it only has 2 interrupt pins and all libraries I have found only read A/B signals anyway. Problem is how to read in the Z pulse. I have thought of a few ways to do it.
modify a library to use pin change interrupts to detect the pulse
use a latch chip to hold the pulse until it can be read
The arduino is being used as an etherCAT slave through the SPI interface, so interfacing using SPI is not doable.
Anybody know any libraries I can use or ways I can accomplish this task?
Its an absolute encoder, you can always use the bit-banged SPI to talk to it on any pins you choose and get the phase setup that way (don't have to wait for the index pulse).