Quote:
|
Originally Posted by MattD
|
His code is great, I was able to very easily adapt it to a different encoder - as long as they have "phases" (two signal wires outputting pulses) - one wire is connected to a Digital Input to trigger an interrupt, the other wire goes to a second DI which the software checks for a HI or LO state, thus determining direction of rotation.
The difficulty with encoders seems to be how to attach them to motors, shafts, whatever. And they aren't cheap. The US Digital E4 Encoder
http://www.usdigital.com/products/e4/index.shtml seems like good value for the price, with the encoder wheel and electronics mounted stably inside a housing.