What are the maximum revolutions that the HP printer encoder can reach?
I counted that it has 32 black lines, how many ppr is that? I plan to connect it to a stm32f103
Hello @profed81 welcome to the forum.
It is 32 pulses per revolution.
I am not familiar with that processor, but like all processors it will have several methods of reading a digital input, some faster than others. It is also important what else is happening in your code while you are reading this.
For example are you printing out each transition or every rotation? this will slow things down and you might even miss pulses whole you are doing this?
Hi, @profed81
Welcome to the forum
If you count dark areas, yes you have 32 per revolution
BUT if you count each transition from light to dark and transition from dark to light you have a 64 count per revolution.
Can you tell us what your project is?
What does the encoder have to do with it?
Tom....
![]()
That will depend on the electronics on the little PCB that reads the optical pulses.
Do you know the part number for the photointerrupter that is on the PCB?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.


