I have ordered some EC11 rotary encoders for a future project without the breakout boards. Once I found the rotary encoders *with* the breakout boards I quickly noticed the bottom side had some 10k resistors connected to either R2 and R3 or R1 , R2, and R3. So my question is why do some sellers omit the 10k resistor on R1 while some put one there? And if I were to buy some is is better to get the ones with all 3 resistors and remove the R1 resistor if necessary, or get the ones without it and add it as needed? I know, a question showing my never using a rotary encoder and still learning and understanding pull up and pull down resistors. I am learning as fast as I can. 😋
Thanks,
Voltage
I have ordered some EC11 rotary encoders for a future project without the breakout boards. Once I found the rotary encoders *with* the breakout boards I quickly noticed the bottom side had some 10k resistors connected to either R2 and R3 or R1 , R2, and R3. So my question is why do some sellers omit the 10k resistor on R1 while some put one there? And if I were to buy some is is better to get the ones with all 3 resistors and remove the R1 resistor if necessary, or get the ones without it and add it as needed? I know, a question showing my never using a rotary encoder and still learning and understanding pull up and pull down resistors. I am learning as fast as I can. 😋
Perhaps you're over thinking it to be honest?
These encoders can work quite well, and there are many different code implementations to make them work quite well!
Try one out, show us your code (if you're experiencing problems), and we can help you to improve the results you may initially have.
Cheers
I was just curious as to why the resistors were there, but one seller uses 2 and one uses three. Anyhow, I looked at the datasheet and some other implementations where added resistor and capacitors (in some cases) are used for de-bouncing. I understand that. So in the case where one resistor is missing it is on the R1 which is one of the 2 encoder circuits. That leaves one on the switch and one on the other encoder. I'm good for now as the encoders haven't arrived yet. I am going to use one on an Arduino controlled wire straightener/cutter I found on youtube. The encoder is just used to change the inputs increments in length of wire to be cut and how many pieces.
Thanks,
Voltage
They look like pullup resistors to keep the pins high until the contact is made and they're pulled low when it clicks.
I'd guess the ones with just 2 resistors have them on A and B and not C (the actual switch).
Anything seems possible when you don't know what you're talking about.
They look like pullup resistors to keep the pins high until the contact is made and they're pulled low when it clicks.
I'd guess the ones with just 2 resistors have them on A and B and not C (the actual switch).
Thanks Will. So I guess the one with 3 resistors just adds one to the switch and would only be needed if/when the switch actuation would cause an issue. I appreciate it. 😎
Added: It looks like the silkscreen on the images of the actual encoder boards may be wrong as far as E1 and R3. I will sort that out once my encoders arrive.
Thanks,
Voltage