Can't get my motor encoder circuit to work
by
, 15-02-2012 at 05:43 (677 Views)
Thanks for your help. I arrived at the resistor values through experimentation to get the biggest voltage swing. I have 330 ohms on the LED resistor and 10K Ohms on the ptx resistor. I followed your suggestion to check the polarity of the ptx. I thought it was right but I swapped it anyway. Now I am really baffled! I get the same result with the ptx either way round! With an opaque blocker between the led and ptx I read close to zero volts on the output side. When I remove the blocker, the voltage jumps to near +5 V. I repeat, I get this result no matter which way the ptx is inserted. How do I determine which side is which? I assumed the flat (short lead) was to go to the 0V side of the circuit.









Email Blog Entry
