Hello everybody. I have been toying with the idea of using a rotary encoder in one of my projects. I can only sample at about 35mS, so my thought was to use a frequency to voltage converter with an incremental rotary encoder. So the more turns/rotations of the knob, the more pulses, the bigger the voltage correct?
I am not really sure if I am on the right track or not.
From what I understand, there is a very very short time between the 2 output pulses on these encoders that tells the direction. So I would need some sort of simple circuit to capture the first one that pulsed, so that would tell direction. And then perhaps I could somehow add 2.5 volts to the voltage output of the frequency converter if clockwise.
So 0v would mean no frequency, so not moving, from 0-2.5v it means that the greater the voltage the faster it is turning in the counterclockwise direction. If 2.5 - 5, the greater the voltage, the faster it is turning in the clockwise direction.
I am not set on any of these ideas, this is just what I am imagining at the moment.
Does anyone have any insight on simple circuits, or (am I asking too much here
) an IC?
If anyone has a better solution for getting an infinately spinning knob to output a voltage depending on what direction/speed it is going, I am all ears.
Thankyou in advance.
I am not really sure if I am on the right track or not.
From what I understand, there is a very very short time between the 2 output pulses on these encoders that tells the direction. So I would need some sort of simple circuit to capture the first one that pulsed, so that would tell direction. And then perhaps I could somehow add 2.5 volts to the voltage output of the frequency converter if clockwise.
So 0v would mean no frequency, so not moving, from 0-2.5v it means that the greater the voltage the faster it is turning in the counterclockwise direction. If 2.5 - 5, the greater the voltage, the faster it is turning in the clockwise direction.
I am not set on any of these ideas, this is just what I am imagining at the moment.
Does anyone have any insight on simple circuits, or (am I asking too much here
If anyone has a better solution for getting an infinately spinning knob to output a voltage depending on what direction/speed it is going, I am all ears.
Thankyou in advance.