bhl777
Full Member level 6
Hi all,
I am learning the operation of a rotary encoder, and I have used this one (https://www.epitran.it/ebayDrive/datasheet/25.pdf) to connect to Arduino Uno. The schematic is shown below.
When I rotate the encoder, I also captured the waveform of channels A and B.
We can tell the orientation by looking at that channel A is leading channel B. In addition to this, I also want to see how much more information we can get from this waveform.
My questions are:
(1) are the numbers of the pulses or anything else helpful to figure out the rotation speed when I turned the encoder?
(2) does the pulse width matter? Using channel A (the yellow trace) as the example. Since the default state is high, if I define the "pulse" as the one that goes from high to low, we can tell there are five "pulses", the first four pulses are with a similar width of "low", while the last one's width is much higher. How can we relate the pulse width to any physical performance of the rotary encoder?
(3) in addition to the number of pulses and their width of them, is there anything else we can tell by observing this waveform?
Thank you!
I am learning the operation of a rotary encoder, and I have used this one (https://www.epitran.it/ebayDrive/datasheet/25.pdf) to connect to Arduino Uno. The schematic is shown below.
When I rotate the encoder, I also captured the waveform of channels A and B.
We can tell the orientation by looking at that channel A is leading channel B. In addition to this, I also want to see how much more information we can get from this waveform.
My questions are:
(1) are the numbers of the pulses or anything else helpful to figure out the rotation speed when I turned the encoder?
(2) does the pulse width matter? Using channel A (the yellow trace) as the example. Since the default state is high, if I define the "pulse" as the one that goes from high to low, we can tell there are five "pulses", the first four pulses are with a similar width of "low", while the last one's width is much higher. How can we relate the pulse width to any physical performance of the rotary encoder?
(3) in addition to the number of pulses and their width of them, is there anything else we can tell by observing this waveform?
Thank you!