Hi! I'm trying to use an encoder attached to a dc motor, but I can't read the channels output. Can i do it using the analogRead? I want to measure the angular velocity and I'm using the channel I that gives a square wave output every 90 electrical degrees. Up to now, using the analogRead, the value is about 50, and it stays almost the same. Why cannot I see the value of the high and low peaks?
Datasheet Encoder.pdf (276 KB)