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. 😋
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.
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.
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.
We use cookies on the DroneBot Workshop Forums to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.