Hello forum members,
I have to interface a shaft enocder with uC, but due to some reason the uC is not counting the exact pulses of encoder. I now want to use comparator to reduce noise and define the encoder signal. I have LM393 with me but unfortunately don't know how this could be used to achieve what I am trying to do, could someone please suggest a simple schematic for LM393, I mean which pins are used for what purpose (how connections are made on LM393?) or how encoder pulses be connected to comparator?
I would really appreciate your time and thoughts on this
Regards
Norman
I have to interface a shaft enocder with uC, but due to some reason the uC is not counting the exact pulses of encoder. I now want to use comparator to reduce noise and define the encoder signal. I have LM393 with me but unfortunately don't know how this could be used to achieve what I am trying to do, could someone please suggest a simple schematic for LM393, I mean which pins are used for what purpose (how connections are made on LM393?) or how encoder pulses be connected to comparator?
I would really appreciate your time and thoughts on this
Regards
Norman