optical encoders again..

3 posts in this topic

thers quite little bout optical encoders in this forum ,though i read a lot bout mouse wheels i still dont know how optical encs are supported in general by mios . due to higher res. i really favour opticals . as stecs or pecs only provide a max. resolution of 24 which gives 96 steps at x4, i´d love to have at least 32 x4 per revolution.

my question is if those 10k resistors on the DINX_INs are there to debounce the mech. encoders ? if so may i leave out the 10k´s if optical encoders are preferd ?

further i read into encoders from CUI with 32 pos. p. rev. - they state a 5.1 k pull-up on their channels which is confusing to me. (they dnt really need debouncing)




anyone could explain to me if i could exchange the 10k on DINX_IN to 5.1 whilst using those encoders. ?

thank you for your time.

Share this post

Link to post
Share on other sites

Optical encoders are basically overkill in MIDIbox applications. If you want higher resolution you can go for a resolution of 30 (whatever unit you are refering to). Beyond that it starts to get impractical for various reasons - one is precision of the setting (it is difficult for your hand and brain to adapt to such high resolutions), another is scan frequency through a chain of shift registers.


Debouncing is done in software and not through the 10k resistors. These are pull-ups. Of course you can insert an arbitrary value there, but you might want to keep in mind Ohm's law and make sure your circuit does not eat up too much power... 10k is a common value.

Share this post

Link to post
Share on other sites

It seems like the main difference is life (and price, I presume).

1 million rotations is a lot of midiboxing.

But then so is 100k!

Also, I think the actual difference between 32 and 24 pulses per rotation is probably not that big either. 

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now