The little circuit has a resistor and a capacitor and I'm connecting everything directly to the arduino.
The led is ON so I know that 5v and GND are correct.
I tried running some quadrature examples but nothing works.
I don't have a multimeter(yes I know...) so I connected one channel to Analog0 to do some readings and the value is always constant 200 ~1v.
I tried to manually block the light to the sensor and it produced a noticeable but small change in the value.
Do I need to bypass the capacitor and connect directly to the sensor?
I'm still very new to this so any info will help. Hope this is the right place to post this and that you guys can show me the right way
Thank you for your reply. Your piezo idea is good but unfortunately I don't have one.
Connecting one channel to analog shoud give me two distinct values right? Right now the reading is 170 and if I rotate the encoder, even very slowly, the value doesn't change. With something blocking the sensor the value goes to 190, a very small change.
Can my connections be wrong? I assumed the paths that don't connect to anything are both channels and the led works so I don't see how that can be.
Perhaps you are rotating too fast, so that you cannot hear the ultrasonic clicks. Rotating at 1 inch/second will already result in a 150Hz tone.
If nothing helps, you should get a multimeter for further measurements. Or even better a scope. ATM you're trying to find the secret treasure by looking into the sky :-]