Do you need to debounce an encoder…?
I’ve tested about 30 different encoders (mechanical, optical, magnetic… Absolute and Incremental) for use with telescopes (and for general utility). I boiled it down to some “simplified opinions’s”…
• Generally speaking, Debounce Electrically or Debounce via Software (depends on project’s need/design…)
• If the encoder is good, no electrical debounce needed (do it in software, if needed). In fact, I haven’t hooked them up with resistors (as typical info sheets call out) in years…
The “if needed” is the key, as follows:
• Optical Encoders do not need debounce
• Good Mechanical encoders do not need debounce
• Magnetic Encoders - throw them in the trash or use them for volume/selection control
I use many $2 encoders for projects other than Telescopes and like these (Panasonic EVEJB, Bourns PEC_11R and 12R) - they are low-cost and I never debounce (except for using the C-language “_ asm _("nop\n”)” which provides a delay in the code’s cycle of about 200ns (depending on your device (Arduino, PIC, Atmel…etc) - that’s the time it takes to run one line of empty code. They are great for Volume and Selection but, not for accurate position.
For Optical Encoders, I have several brands but prefer Signwise as they are the best value and reliability for the cost… Never had a problem with them and they’re deadly accurate and smooth. Not the same form-factor as what your schematic calls for - they’re more of a ‘Stand-Alone’ unit.
There are some other optical one’s and you can make your own (I did)
I haven’t updated this since posting 5yrs ago but, there are some links to encoders/code… the Signwise encoders are typical of others (probably made at same China factory) and prices vary (I usually pay around $16). I’ve seen the Vex for a low as $16 for Two…
Regarding your schematic - many encoders with the same Pin geometry but with different wiring needs - thus, will need to know the specific encoder and ensure it’s correct for usage…