shaneelal
Member level 1
optical encoder circuit
I'm using an rs 341-575 optical shaft encoder. The spec sheet has application notes on how to use it to determine speed.
They gave a circuit which the output of the encoder has to pass through.
I'm interfacing the output of this circuit with a PIC18f452. I'm using the PIC to count the pulses to determine speed.
The circuit looks fairly simple. I"m just not sure how to calculate values for it.
from the spec sheet it states
Also
The attachment also includes an input and output waveform of the circuit. The A's are the same voltage value.
Those were drawn in paint,does anyone know of a good program to draw waveforms?
The device also has a max operating frequency of 50kHz.
For the low pass filter,what value of cut off frequency should I use?
How can I determine the value of R2?
Any questions plz ask,I thank you for reading.
I'm using an rs 341-575 optical shaft encoder. The spec sheet has application notes on how to use it to determine speed.
They gave a circuit which the output of the encoder has to pass through.
I'm interfacing the output of this circuit with a PIC18f452. I'm using the PIC to count the pulses to determine speed.
The circuit looks fairly simple. I"m just not sure how to calculate values for it.
from the spec sheet it states
Code:
"The incomming signal from the shaft encoder is filtered by the low-pass network R1,C1 to remove the ac component and leave only the dc level"
Also
Code:
"Resistor R2 has two functions,firstly it ensures the comparator output is high when there is no input,and secondly,by setting a threshold level it improves noise immunity"
The attachment also includes an input and output waveform of the circuit. The A's are the same voltage value.
Those were drawn in paint,does anyone know of a good program to draw waveforms?
The device also has a max operating frequency of 50kHz.
For the low pass filter,what value of cut off frequency should I use?
How can I determine the value of R2?
Any questions plz ask,I thank you for reading.