Notifications
Clear all

Question on EC11 rotary encoder breakout board resistors

5 Posts
3 Users
1 Likes
502 Views
Voltage
(@voltage)
Estimable Member
Joined: 2 years ago
Posts: 177
Topic starter  

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. 😋 

rotary encoder 2
rotary encoder 3

Thanks,
Voltage


   
Quote
frogandtoad
(@frogandtoad)
Noble Member
Joined: 4 years ago
Posts: 1506
 

@voltage

Posted by: @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. 😋 

rotary encoder 2
rotary encoder 3

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


   
ReplyQuote
Voltage
(@voltage)
Estimable Member
Joined: 2 years ago
Posts: 177
Topic starter  

 

EC11 encoder

@frogandtoad 

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.

arduino encoder

Thanks,
Voltage


   
ReplyQuote
Will
 Will
(@will)
Famed Member
Joined: 2 years ago
Posts: 2235
 

@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).

 

Experience is what you get when you don't get what you want.


   
ReplyQuote
Voltage
(@voltage)
Estimable Member
Joined: 2 years ago
Posts: 177
Topic starter  
Posted by: @will

@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).

 

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


   
frogandtoad reacted
ReplyQuote